Class GeneratedBusinessProcess

    • Field Detail

      • CODE

        public static final java.lang.String CODE
        Qualifier of the BusinessProcess.code attribute
        See Also:
        Constant Field Values
      • PROCESSDEFINITIONNAME

        public static final java.lang.String PROCESSDEFINITIONNAME
        Qualifier of the BusinessProcess.processDefinitionName attribute
        See Also:
        Constant Field Values
      • PROCESSDEFINITIONVERSION

        public static final java.lang.String PROCESSDEFINITIONVERSION
        Qualifier of the BusinessProcess.processDefinitionVersion attribute
        See Also:
        Constant Field Values
      • STATE

        public static final java.lang.String STATE
        Qualifier of the BusinessProcess.state attribute
        See Also:
        Constant Field Values
      • ENDMESSAGE

        public static final java.lang.String ENDMESSAGE
        Qualifier of the BusinessProcess.endMessage attribute
        See Also:
        Constant Field Values
      • USER

        public static final java.lang.String USER
        Qualifier of the BusinessProcess.user attribute
        See Also:
        Constant Field Values
      • CURRENTTASKS

        public static final java.lang.String CURRENTTASKS
        Qualifier of the BusinessProcess.currentTasks attribute
        See Also:
        Constant Field Values
      • CONTEXTPARAMETERS

        public static final java.lang.String CONTEXTPARAMETERS
        Qualifier of the BusinessProcess.contextParameters attribute
        See Also:
        Constant Field Values
      • TASKLOGS

        public static final java.lang.String TASKLOGS
        Qualifier of the BusinessProcess.taskLogs attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedBusinessProcess

        public GeneratedBusinessProcess()
    • Method Detail

      • getCode

        public java.lang.String getCode​(SessionContext ctx)
        Generated method - Getter of the BusinessProcess.code attribute.
        Returns:
        the code - Unique identifier of this process
      • getCode

        public java.lang.String getCode()
        Generated method - Getter of the BusinessProcess.code attribute.
        Returns:
        the code - Unique identifier of this process
      • setCode

        protected void setCode​(SessionContext ctx,
                               java.lang.String value)
        Generated method - Setter of the BusinessProcess.code attribute.
        Parameters:
        value - the code - Unique identifier of this process
      • setCode

        protected void setCode​(java.lang.String value)
        Generated method - Setter of the BusinessProcess.code attribute.
        Parameters:
        value - the code - Unique identifier of this process
      • getContextParameters

        public java.util.Collection<BusinessProcessParameter> getContextParameters​(SessionContext ctx)
        Generated method - Getter of the BusinessProcess.contextParameters attribute.
        Returns:
        the contextParameters
      • getContextParameters

        public java.util.Collection<BusinessProcessParameter> getContextParameters()
        Generated method - Getter of the BusinessProcess.contextParameters attribute.
        Returns:
        the contextParameters
      • setContextParameters

        public void setContextParameters​(SessionContext ctx,
                                         java.util.Collection<BusinessProcessParameter> value)
        Generated method - Setter of the BusinessProcess.contextParameters attribute.
        Parameters:
        value - the contextParameters
      • setContextParameters

        public void setContextParameters​(java.util.Collection<BusinessProcessParameter> value)
        Generated method - Setter of the BusinessProcess.contextParameters attribute.
        Parameters:
        value - the contextParameters
      • addToContextParameters

        public void addToContextParameters​(SessionContext ctx,
                                           BusinessProcessParameter value)
        Generated method - Adds value to contextParameters.
        Parameters:
        value - the item to add to contextParameters
      • addToContextParameters

        public void addToContextParameters​(BusinessProcessParameter value)
        Generated method - Adds value to contextParameters.
        Parameters:
        value - the item to add to contextParameters
      • removeFromContextParameters

        public void removeFromContextParameters​(SessionContext ctx,
                                                BusinessProcessParameter value)
        Generated method - Removes value from contextParameters.
        Parameters:
        value - the item to remove from contextParameters
      • removeFromContextParameters

        public void removeFromContextParameters​(BusinessProcessParameter value)
        Generated method - Removes value from contextParameters.
        Parameters:
        value - the item to remove from contextParameters
      • getCurrentTasks

        public java.util.Collection<ProcessTask> getCurrentTasks​(SessionContext ctx)
        Generated method - Getter of the BusinessProcess.currentTasks attribute.
        Returns:
        the currentTasks
      • getCurrentTasks

        public java.util.Collection<ProcessTask> getCurrentTasks()
        Generated method - Getter of the BusinessProcess.currentTasks attribute.
        Returns:
        the currentTasks
      • setCurrentTasks

        public void setCurrentTasks​(SessionContext ctx,
                                    java.util.Collection<ProcessTask> value)
        Generated method - Setter of the BusinessProcess.currentTasks attribute.
        Parameters:
        value - the currentTasks
      • setCurrentTasks

        public void setCurrentTasks​(java.util.Collection<ProcessTask> value)
        Generated method - Setter of the BusinessProcess.currentTasks attribute.
        Parameters:
        value - the currentTasks
      • addToCurrentTasks

        public void addToCurrentTasks​(SessionContext ctx,
                                      ProcessTask value)
        Generated method - Adds value to currentTasks.
        Parameters:
        value - the item to add to currentTasks
      • addToCurrentTasks

        public void addToCurrentTasks​(ProcessTask value)
        Generated method - Adds value to currentTasks.
        Parameters:
        value - the item to add to currentTasks
      • removeFromCurrentTasks

        public void removeFromCurrentTasks​(SessionContext ctx,
                                           ProcessTask value)
        Generated method - Removes value from currentTasks.
        Parameters:
        value - the item to remove from currentTasks
      • removeFromCurrentTasks

        public void removeFromCurrentTasks​(ProcessTask value)
        Generated method - Removes value from currentTasks.
        Parameters:
        value - the item to remove from currentTasks
      • getEndMessage

        public java.lang.String getEndMessage​(SessionContext ctx)
        Generated method - Getter of the BusinessProcess.endMessage attribute.
        Returns:
        the endMessage - Message given in the end state of the process.
      • getEndMessage

        public java.lang.String getEndMessage()
        Generated method - Getter of the BusinessProcess.endMessage attribute.
        Returns:
        the endMessage - Message given in the end state of the process.
      • setEndMessage

        public void setEndMessage​(SessionContext ctx,
                                  java.lang.String value)
        Generated method - Setter of the BusinessProcess.endMessage attribute.
        Parameters:
        value - the endMessage - Message given in the end state of the process.
      • setEndMessage

        public void setEndMessage​(java.lang.String value)
        Generated method - Setter of the BusinessProcess.endMessage attribute.
        Parameters:
        value - the endMessage - Message given in the end state of the process.
      • getProcessDefinitionName

        public java.lang.String getProcessDefinitionName​(SessionContext ctx)
        Generated method - Getter of the BusinessProcess.processDefinitionName attribute.
        Returns:
        the processDefinitionName - Name of the process definition to use.
      • getProcessDefinitionName

        public java.lang.String getProcessDefinitionName()
        Generated method - Getter of the BusinessProcess.processDefinitionName attribute.
        Returns:
        the processDefinitionName - Name of the process definition to use.
      • setProcessDefinitionName

        protected void setProcessDefinitionName​(SessionContext ctx,
                                                java.lang.String value)
        Generated method - Setter of the BusinessProcess.processDefinitionName attribute.
        Parameters:
        value - the processDefinitionName - Name of the process definition to use.
      • setProcessDefinitionName

        protected void setProcessDefinitionName​(java.lang.String value)
        Generated method - Setter of the BusinessProcess.processDefinitionName attribute.
        Parameters:
        value - the processDefinitionName - Name of the process definition to use.
      • getProcessDefinitionVersion

        public java.lang.String getProcessDefinitionVersion​(SessionContext ctx)
        Generated method - Getter of the BusinessProcess.processDefinitionVersion attribute.
        Returns:
        the processDefinitionVersion - Version of the process definition used by this process.
      • getProcessDefinitionVersion

        public java.lang.String getProcessDefinitionVersion()
        Generated method - Getter of the BusinessProcess.processDefinitionVersion attribute.
        Returns:
        the processDefinitionVersion - Version of the process definition used by this process.
      • setProcessDefinitionVersion

        public void setProcessDefinitionVersion​(SessionContext ctx,
                                                java.lang.String value)
        Generated method - Setter of the BusinessProcess.processDefinitionVersion attribute.
        Parameters:
        value - the processDefinitionVersion - Version of the process definition used by this process.
      • setProcessDefinitionVersion

        public void setProcessDefinitionVersion​(java.lang.String value)
        Generated method - Setter of the BusinessProcess.processDefinitionVersion attribute.
        Parameters:
        value - the processDefinitionVersion - Version of the process definition used by this process.
      • getState

        public EnumerationValue getState​(SessionContext ctx)
        Generated method - Getter of the BusinessProcess.state attribute.
        Returns:
        the state - Current (persisted) state of this process.
      • getState

        public EnumerationValue getState()
        Generated method - Getter of the BusinessProcess.state attribute.
        Returns:
        the state - Current (persisted) state of this process.
      • setState

        public void setState​(SessionContext ctx,
                             EnumerationValue value)
        Generated method - Setter of the BusinessProcess.state attribute.
        Parameters:
        value - the state - Current (persisted) state of this process.
      • setState

        public void setState​(EnumerationValue value)
        Generated method - Setter of the BusinessProcess.state attribute.
        Parameters:
        value - the state - Current (persisted) state of this process.
      • getTaskLogs

        public java.util.Collection<ProcessTaskLog> getTaskLogs​(SessionContext ctx)
        Generated method - Getter of the BusinessProcess.taskLogs attribute.
        Returns:
        the taskLogs
      • getTaskLogs

        public java.util.Collection<ProcessTaskLog> getTaskLogs()
        Generated method - Getter of the BusinessProcess.taskLogs attribute.
        Returns:
        the taskLogs
      • setTaskLogs

        public void setTaskLogs​(SessionContext ctx,
                                java.util.Collection<ProcessTaskLog> value)
        Generated method - Setter of the BusinessProcess.taskLogs attribute.
        Parameters:
        value - the taskLogs
      • setTaskLogs

        public void setTaskLogs​(java.util.Collection<ProcessTaskLog> value)
        Generated method - Setter of the BusinessProcess.taskLogs attribute.
        Parameters:
        value - the taskLogs
      • addToTaskLogs

        public void addToTaskLogs​(SessionContext ctx,
                                  ProcessTaskLog value)
        Generated method - Adds value to taskLogs.
        Parameters:
        value - the item to add to taskLogs
      • addToTaskLogs

        public void addToTaskLogs​(ProcessTaskLog value)
        Generated method - Adds value to taskLogs.
        Parameters:
        value - the item to add to taskLogs
      • removeFromTaskLogs

        public void removeFromTaskLogs​(SessionContext ctx,
                                       ProcessTaskLog value)
        Generated method - Removes value from taskLogs.
        Parameters:
        value - the item to remove from taskLogs
      • removeFromTaskLogs

        public void removeFromTaskLogs​(ProcessTaskLog value)
        Generated method - Removes value from taskLogs.
        Parameters:
        value - the item to remove from taskLogs
      • getUser

        public User getUser​(SessionContext ctx)
        Generated method - Getter of the BusinessProcess.user attribute.
        Returns:
        the user
      • getUser

        public User getUser()
        Generated method - Getter of the BusinessProcess.user attribute.
        Returns:
        the user
      • setUser

        public void setUser​(SessionContext ctx,
                            User value)
        Generated method - Setter of the BusinessProcess.user attribute.
        Parameters:
        value - the user
      • setUser

        public void setUser​(User value)
        Generated method - Setter of the BusinessProcess.user attribute.
        Parameters:
        value - the user