Class CometScript
- java.lang.Object
-
- com.priint.pubserver.tagging.TaggingObject
-
- com.priint.pubserver.comet.entity.CometEntity
-
- com.priint.pubserver.comet.entity.statement.CometStatement
-
- com.priint.pubserver.comet.entity.statement.CometScript
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CometAdjustScript,CometBatchScript,CometBookScript,CometBuildPreScript,CometBuildSupportScript,CometDocumentEventScript,CometDocumentPersonalizationScript,CometDocumentPlanningScript,CometDropUrlScript,CometFindStatement,CometLibraryExportScript,CometLibraryImportScript,CometLoginScript,CometPageTemplateInsertScript,CometPageTemplatePanelScript,CometParameterizedScript,CometPlaceholderCompareScript,CometPlaceholderPanelScript,CometPlaceholderPrePostFixScript,CometPreviewEventScript,CometPreviewLinkScript,CometPreviewPanelScript,CometProductEventScript,CometProductPanelScript,CometProductSelectionScript,CometPublicationEventScript,CometPublicationPanelScript,CometPublicationTree,CometPublishingManagementScript,CometRepeatingElementsScript,CometScriptLibrary,CometSettingPanelScript,CometTableInsertMethod,CometTemplateIdScript,CometTemplatePanelScript,CometTemplateTextPrefixScript,CometUrlLinkScript,CometWhiteboardDocumentScript,CometWhiteboardPreviewSnippetScript
public class CometScript extends CometStatement
CometScript is the base class for scripts and configuration statements (formerly known as "actions" and "panelstatements").- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCometScript.FrontRowLinkThe Class FrontRowLink.-
Nested classes/interfaces inherited from class com.priint.pubserver.comet.entity.CometEntity
CometEntity.Category
-
Nested classes/interfaces inherited from class com.priint.pubserver.tagging.TaggingObject
TaggingObject.LinkedSetWrapper<T>
-
-
Field Summary
-
Fields inherited from class com.priint.pubserver.comet.entity.CometEntity
id, TAG_DOMAIN_QUALIFIER, TAG_GROUP_QUALIFIER, TAG_TYPE_QUALIFIER
-
Fields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet
-
-
Constructor Summary
Constructors Constructor Description CometScript()Instantiates a new comet script.CometScript(int id, java.lang.String name)Instantiates a new comet script.CometScript(int id, java.lang.String name, Statement.StatementDescriptor type)Instantiates a new comet script.CometScript(Statement.StatementDescriptor descriptor)Instantiates a new comet script.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CometScript.FrontRowLinkgetFrontRowLink()Gets the front row link.java.lang.StringgetHierarchy()Gets the hierarchy.java.lang.StringgetInput()Gets the input.java.lang.StringgetOutput()Gets the output.java.lang.StringgetScriptEnvironment()Gets the script environment.java.lang.StringgetShortcut()Gets the shortcut.java.lang.StringgetStatement()Gets the statement.java.lang.StringgetTag()Gets the tag.booleanisAction()Checks if is action.booleanisActive()Checks if is active.voidsetActive(boolean active)Sets the active.voidsetFrontRowLink(CometScript.FrontRowLink frontRowLink)Sets the front row link.voidsetHierarchy(java.lang.String hierarchy)Sets the hierarchy.voidsetInput(java.lang.String input)Sets the input.voidsetOutput(java.lang.String output)Sets the output.voidsetShortcut(java.lang.String shortcut)Sets the shortcut.voidsetStatement(java.lang.String statement)Sets the statement.voidsetTag(java.lang.String tag)Sets the tag.-
Methods inherited from class com.priint.pubserver.comet.entity.statement.CometStatement
getDescription, getEntityId, getLabel, getSequence, getTypeIdentifier, setDescription, setEntityId, setLabel, setSequence, setTypeIdentifier
-
Methods inherited from class com.priint.pubserver.comet.entity.CometEntity
checkMinimalConstraints, entityEquals, equals, getEntityDescription, getEntityLabel, getId, getReferenceConstraints, getRepositoryFilename, getRepositoryPath, hashCode, initDefaultValues, initDefaultValues, setId
-
Methods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
-
-
-
Constructor Detail
-
CometScript
public CometScript()
Instantiates a new comet script.
-
CometScript
public CometScript(int id, java.lang.String name)Instantiates a new comet script.- Parameters:
id- the idname- the name
-
CometScript
public CometScript(int id, java.lang.String name, Statement.StatementDescriptor type)Instantiates a new comet script.- Parameters:
id- the idname- the nametype- the type
-
CometScript
public CometScript(Statement.StatementDescriptor descriptor)
Instantiates a new comet script.- Parameters:
descriptor- the descriptor
-
-
Method Detail
-
getFrontRowLink
public CometScript.FrontRowLink getFrontRowLink()
Gets the front row link.- Returns:
- the front row link
-
getHierarchy
public java.lang.String getHierarchy()
Gets the hierarchy.- Returns:
- the hierarchy
-
getInput
public java.lang.String getInput()
Gets the input.- Returns:
- the input
-
getOutput
public java.lang.String getOutput()
Gets the output.- Returns:
- the output
-
getScriptEnvironment
public java.lang.String getScriptEnvironment()
Gets the script environment.- Returns:
- the script environment
-
getShortcut
public java.lang.String getShortcut()
Gets the shortcut.- Returns:
- the shortcut
-
getStatement
public java.lang.String getStatement()
Gets the statement.- Returns:
- the statement
-
getTag
public java.lang.String getTag()
Gets the tag.- Returns:
- the tag
-
isAction
public boolean isAction()
Checks if is action.- Returns:
- true, if is action
-
setFrontRowLink
public void setFrontRowLink(CometScript.FrontRowLink frontRowLink)
Sets the front row link.- Parameters:
frontRowLink- the new front row link
-
setHierarchy
public void setHierarchy(java.lang.String hierarchy)
Sets the hierarchy.- Parameters:
hierarchy- the new hierarchy
-
setInput
public void setInput(java.lang.String input)
Sets the input.- Parameters:
input- the new input
-
setOutput
public void setOutput(java.lang.String output)
Sets the output.- Parameters:
output- the new output
-
setShortcut
public void setShortcut(java.lang.String shortcut)
Sets the shortcut.- Parameters:
shortcut- the new shortcut
-
setStatement
public void setStatement(java.lang.String statement)
Sets the statement.- Parameters:
statement- the new statement
-
setTag
public void setTag(java.lang.String tag)
Sets the tag.- Parameters:
tag- the new tag
-
isActive
public boolean isActive()
Checks if is active.- Returns:
- true, if is active
-
setActive
public void setActive(boolean active)
Sets the active.- Parameters:
active- the new active
-
-