Interface EmbeddedProcess

All Superinterfaces:
ExecutableBusinessProcess, LightWeightProcess, LocalisedString, PluginDataContainer, UserAttributeContainer

public interface EmbeddedProcess extends LightWeightProcess
The EmbeddedProcess is used to embed another process template. This corresponds to ProcessConstants.TemplateUsage.AS_COPY and does not allow to propagate changes of the referenced template automatically but it avoids the need of a separate process template since it is physically embedded in the parent process template.
Author:
Ulrich Kreher
  • Method Details

    • getTemplate

      Template getTemplate()
      Returns the template of the embedded process. The returned object is a full-fledged template object except that it has the same ID as the parent template.
      The returned type of this method equals the type of the parent process template, that is, if the parent process template is a ChangeableTemplate this method will also return a ChangeableTemplate. The TemplateStatus for the parent template also applies to the returned template.
      Returns:
      The template embedded in a super process template, being just like a normal template except of the ID.
    • getTemplateID

      UUID getTemplateID()
      Returns the ID of the referenced embedded template. This method is for internal use only! Do not call it! It is only defined in the process manager, outside of the process manager the value is arbitrary (may also be null).
      Returns:
      The ID of the referenced embedded process template for usage in the process manager.