public interface IUIAssembly
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
SECTION_INCLUDE_IN_CELL |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
assembleControl(ClipboardPage cellPage,
ClipboardPage pyGenJava) |
void |
assembleDynamicLayoutGroup(ClipboardPage aLayoutPage,
ClipboardPage aSectionPage,
ClipboardPage aPyGenJava,
java.lang.Object[] aArgs) |
void |
assembleLayoutContainer(ClipboardPage aSectionPage,
ClipboardPage aLayoutPage,
ClipboardPage aPyGenJava,
HashStringMap aArgs) |
void |
assembleLayoutGroup(ClipboardPage aSectionPage,
ClipboardPage aPyGenJava,
java.lang.Object[] aArgs) |
void |
assembleLayoutHeader(ClipboardPage aSectionPage,
ClipboardPage aPg_thisSection,
ClipboardPage aPyGenJava,
HashStringMap aLayoutMetaProps) |
void |
assembleRepeatingDynamicLayout(ClipboardPage aSectionPage,
ClipboardPage aLayoutPage,
ClipboardPage aPyGenJava,
java.lang.Object[] aArgs) |
java.lang.String |
assembleSectionInclude(ClipboardPage incInfoPage,
java.lang.String type)
Generates the section include code.
|
java.lang.String |
assembleSectionInclude(ClipboardPage incInfoPage,
java.lang.String type,
ClipboardPage pyGenJava)
Generates the section include code.
|
void |
emitEmbedMetadata(java.lang.String propertyName,
java.lang.String srcMetadataObjectName,
java.lang.String targetMetadataObjectName)
Generates the statement to embed metadata.
|
void |
emitEmbedMetadataInArray(java.lang.String propertyName,
java.lang.String srcMetadataObjectName,
java.lang.String targetMetadataObjectName) |
void |
emitMetadata(java.lang.String propertyName,
java.lang.String value,
java.lang.String metadataObjectName,
java.lang.String componentName)
Emits the metadata add statement.
|
void |
emitMetadataAsRaw(java.lang.String propertyName,
java.lang.String value,
java.lang.String metadataObjectName)
Emits the metadata add statement.
|
void |
emitMetadataAsRawIfNotEmpty(java.lang.String propertyName,
java.lang.String value,
java.lang.String metadataObjectName)
Emits the metadata add statement.
|
void |
emitMetadataIfNotEmpty(java.lang.String propertyName,
java.lang.String value,
java.lang.String metadataObjectName,
java.lang.String componentName)
Emits the metadata add statement.
|
void |
emitMetadataInitialization(java.lang.String metadataObjectName)
Creates new instance of Metadata without type.
|
void |
emitNewMetadataInstance(java.lang.String metadataObjectName)
Creates new instance of IUIComponent.
|
void |
emitNewMetadataInstanceWithNull(java.lang.String metadataObjectName)
Creates new instance of Metadata without instantiation.
|
void |
emitNonTemplateMarker()
Adds the variable to mark section as non template.
|
java.lang.String |
getNonTemplateMarker()
Returns the code statement to toggle pxIsNonTemplateStream boolean
|
java.lang.String |
getStreamHash()
Returns Stream hash which generates using setStreamHash
|
java.lang.String |
getStreamUniqueID()
Generates unique ID each time when we call this method
|
int |
getUnitqueCounter() |
boolean |
hasNonTemplateComponent()
Determines whether stream assembly has any non template components.
|
boolean |
isTemplateComponent(ClipboardPage sectionPage)
Check whether component is templatizable or not.
|
boolean |
isTemplateComponent(java.lang.String name)
Returns whether component is able to templatized.
|
boolean |
isValidClientExpression(java.lang.String expression)
Determines whether expression is capable of executing at client.
|
void |
setStreamHash(java.lang.String hash)
Sets the MD5 hash of the steam pzInsKey, updated date time
|
static final java.lang.String COPYRIGHT
static final java.lang.String VERSION
static final java.lang.String SECTION_INCLUDE_IN_CELL
java.lang.String assembleControl(ClipboardPage cellPage, ClipboardPage pyGenJava)
cellPage
- pyGenJava
- boolean isTemplateComponent(java.lang.String name)
name
- of the component.void assembleLayoutHeader(ClipboardPage aSectionPage, ClipboardPage aPg_thisSection, ClipboardPage aPyGenJava, HashStringMap aLayoutMetaProps)
void assembleLayoutContainer(ClipboardPage aSectionPage, ClipboardPage aLayoutPage, ClipboardPage aPyGenJava, HashStringMap aArgs)
java.lang.String assembleSectionInclude(ClipboardPage incInfoPage, java.lang.String type)
incInfoPage
- ClipboardPage having section include information.type
- type can be cell or layout.boolean isTemplateComponent(ClipboardPage sectionPage)
sectionPage
- void emitMetadata(java.lang.String propertyName, java.lang.String value, java.lang.String metadataObjectName, java.lang.String componentName)
propertyName
- value
- metadataObjectName
- componentName
- void emitMetadataIfNotEmpty(java.lang.String propertyName, java.lang.String value, java.lang.String metadataObjectName, java.lang.String componentName)
propertyName
- value
- metadataObjectName
- componentName
- void emitNewMetadataInstance(java.lang.String metadataObjectName)
metadataObjectName
- void emitMetadataAsRaw(java.lang.String propertyName, java.lang.String value, java.lang.String metadataObjectName)
propertyName
- value
- metadataObjectName
- void emitMetadataAsRawIfNotEmpty(java.lang.String propertyName, java.lang.String value, java.lang.String metadataObjectName)
propertyName
- value
- metadataObjectName
- void emitEmbedMetadata(java.lang.String propertyName, java.lang.String srcMetadataObjectName, java.lang.String targetMetadataObjectName)
propertyName
- srcMetadataObjectName
- targetMetadataObjectName
- void emitEmbedMetadataInArray(java.lang.String propertyName, java.lang.String srcMetadataObjectName, java.lang.String targetMetadataObjectName)
propertyName
- srcMetadataObjectName
- targetMetadataObjectName
- void emitNewMetadataInstanceWithNull(java.lang.String metadataObjectName)
metadataObjectName
- void emitMetadataInitialization(java.lang.String metadataObjectName)
metadataObjectName
- void assembleRepeatingDynamicLayout(ClipboardPage aSectionPage, ClipboardPage aLayoutPage, ClipboardPage aPyGenJava, java.lang.Object[] aArgs)
void assembleDynamicLayoutGroup(ClipboardPage aLayoutPage, ClipboardPage aSectionPage, ClipboardPage aPyGenJava, java.lang.Object[] aArgs)
void assembleLayoutGroup(ClipboardPage aSectionPage, ClipboardPage aPyGenJava, java.lang.Object[] aArgs)
void setStreamHash(java.lang.String hash)
hash
- java.lang.String getStreamHash()
java.lang.String getStreamUniqueID()
int getUnitqueCounter()
void emitNonTemplateMarker()
java.lang.String getNonTemplateMarker()
boolean isValidClientExpression(java.lang.String expression)
expression
- boolean hasNonTemplateComponent()
java.lang.String assembleSectionInclude(ClipboardPage incInfoPage, java.lang.String type, ClipboardPage pyGenJava)
incInfoPage
- ClipboardPage having section include information.type
- type can be cell or layout.pyGenJava
- Copyright © 2018 Pegasystems Inc. All Rights Reserved.