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:
Serializable
- Direct Known Subclasses:
CometAdjustScript,CometBatchScript,CometBookScript,CometBuildPreScript,CometBuildSupportScript,CometCScriptJavaStub,CometDocumentEventScript,CometDocumentPersonalizationScript,CometDocumentPlanningScript,CometDropUrlScript,CometFindStatement,CometLibraryExportScript,CometLibraryImportScript,CometLoginScript,CometPageTemplateInsertScript,CometPageTemplatePanelScript,CometParameterizedScript,CometPlaceholderCompareScript,CometPlaceholderPanelScript,CometPlaceholderPrePostFixScript,CometPreviewEventScript,CometPreviewLinkScript,CometPreviewPanelScript,CometProductEventScript,CometProductPanelScript,CometProductSelectionScript,CometPublicationEventScript,CometPublicationPanelScript,CometPublicationTree,CometPublishingManagementScript,CometPythonJavaStub,CometRepeatingElementsScript,CometScriptLibrary,CometSettingPanelScript,CometTableInsertMethod,CometTemplateIdScript,CometTemplatePanelScript,CometTemplateTextPrefixScript,CometUrlLinkScript,CometWhiteboardDocumentScript,CometWhiteboardPreviewSnippetScript
CometScript is the base class for scripts and configuration statements
(formerly known as "actions" and "panelstatements").
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.priint.pubserver.comet.entity.CometEntity
CometEntity.CategoryNested 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_QUALIFIERFields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new comet script.CometScript(int id, String name) Instantiates a new comet script.CometScript(int id, String name, Statement.StatementDescriptor type) Instantiates a new comet script.CometScript(Statement.StatementDescriptor descriptor) Instantiates a new comet script. -
Method Summary
Modifier and TypeMethodDescriptionGets the front row link.Gets the hierarchy.getInput()Gets the input.Gets the output.Gets the script environment.Gets the shortcut.Gets the statement.getTag()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(String hierarchy) Sets the hierarchy.voidSets the input.voidSets the output.voidsetShortcut(String shortcut) Sets the shortcut.voidsetStatement(String statement) Sets the statement.voidSets the tag.Methods inherited from class com.priint.pubserver.comet.entity.statement.CometStatement
getDescription, getEntityId, getLabel, getSequence, getTypeIdentifier, setDescription, setEntityId, setLabel, setSequence, setTypeIdentifierMethods inherited from class com.priint.pubserver.comet.entity.CometEntity
checkMinimalConstraints, entityEquals, equals, getEntityDescription, getEntityLabel, getId, getReferenceConstraints, getRepositoryFilename, getRepositoryPath, hashCode, initDefaultValues, initDefaultValues, setIdMethods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
Constructor Details
-
CometScript
public CometScript()Instantiates a new comet script. -
CometScript
Instantiates a new comet script.- Parameters:
id- the idname- the name
-
CometScript
Instantiates a new comet script.- Parameters:
id- the idname- the nametype- the type
-
CometScript
Instantiates a new comet script.- Parameters:
descriptor- the descriptor
-
-
Method Details
-
getFrontRowLink
Gets the front row link.- Returns:
- the front row link
-
getHierarchy
Gets the hierarchy.- Returns:
- the hierarchy
-
getInput
Gets the input.- Returns:
- the input
-
getOutput
Gets the output.- Returns:
- the output
-
getScriptEnvironment
Gets the script environment.- Returns:
- the script environment
-
getShortcut
Gets the shortcut.- Returns:
- the shortcut
-
getStatement
Gets the statement.- Returns:
- the statement
-
getTag
Gets the tag.- Returns:
- the tag
-
isAction
public boolean isAction()Checks if is action.- Returns:
- true, if is action
-
setFrontRowLink
Sets the front row link.- Parameters:
frontRowLink- the new front row link
-
setHierarchy
Sets the hierarchy.- Parameters:
hierarchy- the new hierarchy
-
setInput
Sets the input.- Parameters:
input- the new input
-
setOutput
Sets the output.- Parameters:
output- the new output
-
setShortcut
Sets the shortcut.- Parameters:
shortcut- the new shortcut
-
setStatement
Sets the statement.- Parameters:
statement- the new statement
-
setTag
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
-