public interface IUIComponent
Modifier and Type | Interface and Description |
---|---|
static class |
IUIComponent.ComponentType
Maintains the component types.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
RELOAD_INSTANCEID
Constant to identify the reload template id.
|
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
void |
addPreLoadScript(java.lang.String aHtmlFragment,
java.lang.String aOnlyOnceName)
API to add component specific scripts
|
java.lang.String |
beginComponent(java.lang.String name,
ClipboardPage metaPage,
java.util.Map configMap)
Starts the component rendering
|
java.lang.String |
beginComponent(java.lang.String name,
ClipboardPage metaPage,
java.lang.String componentUniqueId,
java.util.Map configMap)
Starts the component rendering
|
void |
endComponent()
Ends the rendering.
|
java.lang.String |
getChildRefPath()
Returns the childRefPath
|
java.lang.String |
getComponentUniqueId()
Gets the component unique id.
|
java.util.Map |
getConfigMap()
Gets the component config map.
|
StringMap |
getDefaultPropertyValueMap()
Returns the Map of key value pair to avoid the defaults to be register with
change tracker.
|
ClipboardPage |
getMetaPage()
Gets the Component meta page.
|
java.lang.String |
getName()
Gets the component name.
|
java.lang.String[] |
getTrackedProperties()
Returns the all properties marked for registering with change tracker.
|
boolean |
isActionable()
Determines whether component can be refreshable or
reloaded independently.
|
boolean |
isCurrentRootsRequire()
Determines whether component should hold the current roots.
|
boolean |
isRootMarkerRequire()
Decides whether to create a root marker of templates.
|
boolean |
isTemplate()
Determines whether component is template or not.
|
void |
setChildPathReference(java.lang.String childPathRef)
holds the value to insert the next child apart from pyTemplates
e.q, pySection.pySectionBody(1).
|
void |
setDefaultPropertyValueMap(StringMap nonTrackedProperties)
While registering with change tracker default properties will be ignored
if value matches to the tracked properties.
|
void |
setTrackedProperties(java.lang.String[] trackedProperties)
Pass the list of component specific absolute property references to be registered with the change tracker
e.g.
|
static final java.lang.String VERSION
static final java.lang.String COPYRIGHT
static final java.lang.String RELOAD_INSTANCEID
java.lang.String beginComponent(java.lang.String name, ClipboardPage metaPage, java.util.Map configMap)
name
- Component namemetaPage
- Clipboard Page of the componentconfigMap
- instanceid: Unique instance id
class: html class on the root marker (optional)java.lang.String beginComponent(java.lang.String name, ClipboardPage metaPage, java.lang.String componentUniqueId, java.util.Map configMap)
name
- Component namemetaPage
- Clipboard Page of the componentcomponentUniqueId
- component unique idconfigMap
- instanceid: Unique instance id
class: html class on the root marker (optional)void endComponent()
void setTrackedProperties(java.lang.String[] trackedProperties)
trackedProperties
- void setChildPathReference(java.lang.String childPathRef)
childPathRef
- boolean isTemplate()
boolean isCurrentRootsRequire()
boolean isActionable()
java.lang.String getName()
ClipboardPage getMetaPage()
java.lang.String getComponentUniqueId()
java.util.Map getConfigMap()
boolean isRootMarkerRequire()
java.lang.String getChildRefPath()
java.lang.String[] getTrackedProperties()
void addPreLoadScript(java.lang.String aHtmlFragment, java.lang.String aOnlyOnceName)
aHtmlFragment
- - html fragment name which has aOnlyOnceName
- - pega only once name, pass this if html fragment needs to be included only once. If passed null then html fragment is included alwaysStringMap getDefaultPropertyValueMap()
void setDefaultPropertyValueMap(StringMap nonTrackedProperties)
nonTrackedProperties
- StringMap of key value pair.Copyright © 2015 Pegasystems Inc. All Rights Reserved.