java.lang.Object
ru.cg.webbpm.studio.subsystems.page_designer.serialization.api.util.PageObjectUtils

public class PageObjectUtils extends Object
Author:
krylov
  • Constructor Details

    • PageObjectUtils

      public PageObjectUtils()
  • Method Details

    • isBroken

      public static boolean isBroken(PageObject pageObject)
    • isBroken

      public static boolean isBroken(Script script)
    • isValidScriptMetadata

      public static boolean isValidScriptMetadata(ClassMetadata metadata)
    • isChildOfComplexComponent

      public static boolean isChildOfComplexComponent(PageObject pageObject)
      Checks that given page object is prototyped from a complex component (i.e. a component consisting of more than one object). (i.e. if object's prototype is VBox, this returns false. If object's prototype is VBox in EditableOneToMany, this returns true)
      Parameters:
      pageObject - page object to check
      Returns:
      true if an object is prototyped from a complex component
    • allPageObjects

      public static Stream<PageObject> allPageObjects(Page page)
    • allSimpleValuesWithChildren

      public static Stream<PropertyValue> allSimpleValuesWithChildren(PageObject root)
    • allSimpleValues

      public static Stream<PropertyValue> allSimpleValues(PageObject pageObject)
    • allSimpleValues

      public static Stream<PropertyValue> allSimpleValues(Script script)
    • allSimpleValues

      public static Stream<PropertyValue> allSimpleValues(PropertyValue propertyValue)