Class PageObjectUtils
java.lang.Object
ru.cg.webbpm.studio.subsystems.page_designer.serialization.api.util.PageObjectUtils
- Author:
- krylov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stream<PageObject>
allPageObjects
(Page page) static Stream<PropertyValue>
allSimpleValues
(PageObject pageObject) static Stream<PropertyValue>
allSimpleValues
(Script script) static Stream<PropertyValue>
allSimpleValues
(PropertyValue propertyValue) static Stream<PropertyValue>
static boolean
isBroken
(PageObject pageObject) static boolean
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).static boolean
isValidScriptMetadata
(ClassMetadata metadata)
-
Constructor Details
-
PageObjectUtils
public PageObjectUtils()
-
-
Method Details
-
isBroken
-
isBroken
-
isValidScriptMetadata
-
isChildOfComplexComponent
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
-
allSimpleValuesWithChildren
-
allSimpleValues
-
allSimpleValues
-
allSimpleValues
-