Interface ChangeableTemplate

All Superinterfaces:
ChangePrimitives, LocalisedString, PluginDataContainer, Serializable, Template, UserAttributeContainer

public interface ChangeableTemplate extends ChangePrimitives, Template
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      Generated ID for serialisation.
      See Also:
  • Method Details

    • updateID

      void updateID(UUID newID)
      Updates the ID of the template. This has to be called by the component which either commits the changed template to the back-end or initialises a new version. This may e.g. be the process repository in ProcessTemplateManager.deriveNewChildTemplate(de.aristaflow.adept2.base.sessionmanagement.SessionToken, UUID) or the process template editor while working on a local file.
      Parameters:
      newID -
    • setDescription

      void setDescription(String description)
      Set the description of the process.
      Parameters:
      description - The description of the process.
    • setInstanceNameTemplate

      void setInstanceNameTemplate(String instanceNameTemplate)
      Set the pattern for an instance name of the process.
      Parameters:
      instanceNameTemplate - The pattern for the instance name.
    • setProcessType

      void setProcessType(String processType)
      Sets the process type of the template.
      Parameters:
      processType - the process type of the template
    • setVersion

      void setVersion(String version)
      Sets the process version of the template.
      Parameters:
      version - the process version of the template