Class 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

public class CometScript extends CometStatement
CometScript is the base class for scripts and configuration statements (formerly known as "actions" and "panelstatements").
See Also:
  • Constructor Details

    • CometScript

      public CometScript()
      Instantiates a new comet script.
    • CometScript

      public CometScript(int id, String name)
      Instantiates a new comet script.
      Parameters:
      id - the id
      name - the name
    • CometScript

      public CometScript(int id, String name, Statement.StatementDescriptor type)
      Instantiates a new comet script.
      Parameters:
      id - the id
      name - the name
      type - the type
    • CometScript

      public CometScript(Statement.StatementDescriptor descriptor)
      Instantiates a new comet script.
      Parameters:
      descriptor - the descriptor
  • Method Details

    • getFrontRowLink

      public CometScript.FrontRowLink getFrontRowLink()
      Gets the front row link.
      Returns:
      the front row link
    • getHierarchy

      public String getHierarchy()
      Gets the hierarchy.
      Returns:
      the hierarchy
    • getInput

      public String getInput()
      Gets the input.
      Returns:
      the input
    • getOutput

      public String getOutput()
      Gets the output.
      Returns:
      the output
    • getScriptEnvironment

      public String getScriptEnvironment()
      Gets the script environment.
      Returns:
      the script environment
    • getShortcut

      public String getShortcut()
      Gets the shortcut.
      Returns:
      the shortcut
    • getStatement

      public String getStatement()
      Gets the statement.
      Returns:
      the statement
    • getTag

      public 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(String hierarchy)
      Sets the hierarchy.
      Parameters:
      hierarchy - the new hierarchy
    • setInput

      public void setInput(String input)
      Sets the input.
      Parameters:
      input - the new input
    • setOutput

      public void setOutput(String output)
      Sets the output.
      Parameters:
      output - the new output
    • setShortcut

      public void setShortcut(String shortcut)
      Sets the shortcut.
      Parameters:
      shortcut - the new shortcut
    • setStatement

      public void setStatement(String statement)
      Sets the statement.
      Parameters:
      statement - the new statement
    • setTag

      public void setTag(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