Class BusinessProcessModel

    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String CODE
      Generated constant - Attribute key of BusinessProcess.code attribute defined at extension processing.
      static java.lang.String CONTEXTPARAMETERS
      Generated constant - Attribute key of BusinessProcess.contextParameters attribute defined at extension processing.
      static java.lang.String CURRENTTASKS
      Generated constant - Attribute key of BusinessProcess.currentTasks attribute defined at extension processing.
      static java.lang.String EMAILS
      Generated constant - Attribute key of BusinessProcess.emails attribute defined at extension acceleratorservices.
      static java.lang.String ENDMESSAGE
      Generated constant - Attribute key of BusinessProcess.endMessage attribute defined at extension processing.
      static java.lang.String PROCESSDEFINITIONNAME
      Generated constant - Attribute key of BusinessProcess.processDefinitionName attribute defined at extension processing.
      static java.lang.String PROCESSDEFINITIONVERSION
      Generated constant - Attribute key of BusinessProcess.processDefinitionVersion attribute defined at extension processing.
      static java.lang.String PROCESSSTATE
      Generated constant - Attribute key of BusinessProcess.processState attribute defined at extension processing.
      static java.lang.String STATE
      Generated constant - Attribute key of BusinessProcess.state attribute defined at extension processing.
      static java.lang.String TASKLOGS
      Generated constant - Attribute key of BusinessProcess.taskLogs attribute defined at extension processing.
      static java.lang.String USER
      Generated constant - Attribute key of BusinessProcess.user attribute defined at extension processing.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      BusinessProcessModel()
      Generated constructor - Default constructor for generic creation.
      BusinessProcessModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      BusinessProcessModel​(java.lang.String _code, ItemModel _owner, java.lang.String _processDefinitionName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      BusinessProcessModel​(java.lang.String _code, java.lang.String _processDefinitionName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCode()
      Generated method - Getter of the BusinessProcess.code attribute defined at extension processing.
      java.util.Collection<BusinessProcessParameterModel> getContextParameters()
      Generated method - Getter of the BusinessProcess.contextParameters attribute defined at extension processing.
      java.util.Collection<ProcessTaskModel> getCurrentTasks()
      Generated method - Getter of the BusinessProcess.currentTasks attribute defined at extension processing.
      java.util.List<EmailMessageModel> getEmails()
      Generated method - Getter of the BusinessProcess.emails attribute defined at extension acceleratorservices.
      java.lang.String getEndMessage()
      Generated method - Getter of the BusinessProcess.endMessage attribute defined at extension processing.
      java.lang.String getProcessDefinitionName()
      Generated method - Getter of the BusinessProcess.processDefinitionName attribute defined at extension processing.
      java.lang.String getProcessDefinitionVersion()
      Generated method - Getter of the BusinessProcess.processDefinitionVersion attribute defined at extension processing.
      ProcessState getProcessState()
      Generated method - Getter of the BusinessProcess.processState dynamic attribute defined at extension processing.
      ProcessState getState()
      Generated method - Getter of the BusinessProcess.state attribute defined at extension processing.
      java.util.Collection<ProcessTaskLogModel> getTaskLogs()
      Generated method - Getter of the BusinessProcess.taskLogs attribute defined at extension processing.
      UserModel getUser()
      Generated method - Getter of the BusinessProcess.user attribute defined at extension processing.
      void setCode​(java.lang.String value)
      Generated method - Initial setter of BusinessProcess.code attribute defined at extension processing.
      void setContextParameters​(java.util.Collection<BusinessProcessParameterModel> value)
      Generated method - Setter of BusinessProcess.contextParameters attribute defined at extension processing.
      void setCurrentTasks​(java.util.Collection<ProcessTaskModel> value)
      Generated method - Setter of BusinessProcess.currentTasks attribute defined at extension processing.
      void setEmails​(java.util.List<EmailMessageModel> value)
      Generated method - Setter of BusinessProcess.emails attribute defined at extension acceleratorservices.
      void setEndMessage​(java.lang.String value)
      Generated method - Setter of BusinessProcess.endMessage attribute defined at extension processing.
      void setProcessDefinitionName​(java.lang.String value)
      Generated method - Initial setter of BusinessProcess.processDefinitionName attribute defined at extension processing.
      void setProcessDefinitionVersion​(java.lang.String value)
      Generated method - Setter of BusinessProcess.processDefinitionVersion attribute defined at extension processing.
      void setState​(ProcessState value)
      Generated method - Setter of BusinessProcess.state attribute defined at extension processing.
      void setTaskLogs​(java.util.Collection<ProcessTaskLogModel> value)
      Generated method - Setter of BusinessProcess.taskLogs attribute defined at extension processing.
      void setUser​(UserModel value)
      Generated method - Setter of BusinessProcess.user attribute defined at extension processing.
      • Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • CODE

        public static final java.lang.String CODE
        Generated constant - Attribute key of BusinessProcess.code attribute defined at extension processing.
        See Also:
        Constant Field Values
      • PROCESSDEFINITIONNAME

        public static final java.lang.String PROCESSDEFINITIONNAME
        Generated constant - Attribute key of BusinessProcess.processDefinitionName attribute defined at extension processing.
        See Also:
        Constant Field Values
      • PROCESSDEFINITIONVERSION

        public static final java.lang.String PROCESSDEFINITIONVERSION
        Generated constant - Attribute key of BusinessProcess.processDefinitionVersion attribute defined at extension processing.
        See Also:
        Constant Field Values
      • STATE

        public static final java.lang.String STATE
        Generated constant - Attribute key of BusinessProcess.state attribute defined at extension processing.
        See Also:
        Constant Field Values
      • PROCESSSTATE

        public static final java.lang.String PROCESSSTATE
        Generated constant - Attribute key of BusinessProcess.processState attribute defined at extension processing.
        See Also:
        Constant Field Values
      • ENDMESSAGE

        public static final java.lang.String ENDMESSAGE
        Generated constant - Attribute key of BusinessProcess.endMessage attribute defined at extension processing.
        See Also:
        Constant Field Values
      • USER

        public static final java.lang.String USER
        Generated constant - Attribute key of BusinessProcess.user attribute defined at extension processing.
        See Also:
        Constant Field Values
      • CURRENTTASKS

        public static final java.lang.String CURRENTTASKS
        Generated constant - Attribute key of BusinessProcess.currentTasks attribute defined at extension processing.
        See Also:
        Constant Field Values
      • CONTEXTPARAMETERS

        public static final java.lang.String CONTEXTPARAMETERS
        Generated constant - Attribute key of BusinessProcess.contextParameters attribute defined at extension processing.
        See Also:
        Constant Field Values
      • TASKLOGS

        public static final java.lang.String TASKLOGS
        Generated constant - Attribute key of BusinessProcess.taskLogs attribute defined at extension processing.
        See Also:
        Constant Field Values
      • EMAILS

        public static final java.lang.String EMAILS
        Generated constant - Attribute key of BusinessProcess.emails attribute defined at extension acceleratorservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • BusinessProcessModel

        public BusinessProcessModel()
        Generated constructor - Default constructor for generic creation.
      • BusinessProcessModel

        public BusinessProcessModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • BusinessProcessModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public BusinessProcessModel​(java.lang.String _code,
                                    java.lang.String _processDefinitionName)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _code - initial attribute declared by type BusinessProcess at extension processing
        _processDefinitionName - initial attribute declared by type BusinessProcess at extension processing
      • BusinessProcessModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public BusinessProcessModel​(java.lang.String _code,
                                    ItemModel _owner,
                                    java.lang.String _processDefinitionName)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _code - initial attribute declared by type BusinessProcess at extension processing
        _owner - initial attribute declared by type Item at extension core
        _processDefinitionName - initial attribute declared by type BusinessProcess at extension processing
    • Method Detail

      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.String getCode()
        Generated method - Getter of the BusinessProcess.code attribute defined at extension processing.
        Returns:
        the code - Unique identifier of this process
      • getContextParameters

        @Accessor(qualifier="contextParameters",
                  type=GETTER)
        public java.util.Collection<BusinessProcessParameterModel> getContextParameters()
        Generated method - Getter of the BusinessProcess.contextParameters attribute defined at extension processing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the contextParameters
      • getCurrentTasks

        @Accessor(qualifier="currentTasks",
                  type=GETTER)
        public java.util.Collection<ProcessTaskModel> getCurrentTasks()
        Generated method - Getter of the BusinessProcess.currentTasks attribute defined at extension processing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the currentTasks
      • getEmails

        @Accessor(qualifier="emails",
                  type=GETTER)
        public java.util.List<EmailMessageModel> getEmails()
        Generated method - Getter of the BusinessProcess.emails attribute defined at extension acceleratorservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the emails
      • getEndMessage

        @Accessor(qualifier="endMessage",
                  type=GETTER)
        public java.lang.String getEndMessage()
        Generated method - Getter of the BusinessProcess.endMessage attribute defined at extension processing.
        Returns:
        the endMessage - Message given in the end state of the process.
      • getProcessDefinitionName

        @Accessor(qualifier="processDefinitionName",
                  type=GETTER)
        public java.lang.String getProcessDefinitionName()
        Generated method - Getter of the BusinessProcess.processDefinitionName attribute defined at extension processing.
        Returns:
        the processDefinitionName - Name of the process definition to use.
      • getProcessDefinitionVersion

        @Accessor(qualifier="processDefinitionVersion",
                  type=GETTER)
        public java.lang.String getProcessDefinitionVersion()
        Generated method - Getter of the BusinessProcess.processDefinitionVersion attribute defined at extension processing.
        Returns:
        the processDefinitionVersion - Version of the process definition used by this process.
      • getProcessState

        @Accessor(qualifier="processState",
                  type=GETTER)
        public ProcessState getProcessState()
        Generated method - Getter of the BusinessProcess.processState dynamic attribute defined at extension processing.
        Returns:
        the processState - Current (accessible) state of this process.
      • getState

        @Accessor(qualifier="state",
                  type=GETTER)
        public ProcessState getState()
        Generated method - Getter of the BusinessProcess.state attribute defined at extension processing.
        Returns:
        the state - Current (persisted) state of this process.
      • getTaskLogs

        @Accessor(qualifier="taskLogs",
                  type=GETTER)
        public java.util.Collection<ProcessTaskLogModel> getTaskLogs()
        Generated method - Getter of the BusinessProcess.taskLogs attribute defined at extension processing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the taskLogs
      • getUser

        @Accessor(qualifier="user",
                  type=GETTER)
        public UserModel getUser()
        Generated method - Getter of the BusinessProcess.user attribute defined at extension processing.
        Returns:
        the user
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Initial setter of BusinessProcess.code attribute defined at extension processing. Can only be used at creation of model - before first save.
        Parameters:
        value - the code - Unique identifier of this process
      • setContextParameters

        @Accessor(qualifier="contextParameters",
                  type=SETTER)
        public void setContextParameters​(java.util.Collection<BusinessProcessParameterModel> value)
        Generated method - Setter of BusinessProcess.contextParameters attribute defined at extension processing.
        Parameters:
        value - the contextParameters
      • setCurrentTasks

        @Accessor(qualifier="currentTasks",
                  type=SETTER)
        public void setCurrentTasks​(java.util.Collection<ProcessTaskModel> value)
        Generated method - Setter of BusinessProcess.currentTasks attribute defined at extension processing.
        Parameters:
        value - the currentTasks
      • setEmails

        @Accessor(qualifier="emails",
                  type=SETTER)
        public void setEmails​(java.util.List<EmailMessageModel> value)
        Generated method - Setter of BusinessProcess.emails attribute defined at extension acceleratorservices.
        Parameters:
        value - the emails
      • setEndMessage

        @Accessor(qualifier="endMessage",
                  type=SETTER)
        public void setEndMessage​(java.lang.String value)
        Generated method - Setter of BusinessProcess.endMessage attribute defined at extension processing.
        Parameters:
        value - the endMessage - Message given in the end state of the process.
      • setProcessDefinitionName

        @Accessor(qualifier="processDefinitionName",
                  type=SETTER)
        public void setProcessDefinitionName​(java.lang.String value)
        Generated method - Initial setter of BusinessProcess.processDefinitionName attribute defined at extension processing. Can only be used at creation of model - before first save.
        Parameters:
        value - the processDefinitionName - Name of the process definition to use.
      • setProcessDefinitionVersion

        @Accessor(qualifier="processDefinitionVersion",
                  type=SETTER)
        public void setProcessDefinitionVersion​(java.lang.String value)
        Generated method - Setter of BusinessProcess.processDefinitionVersion attribute defined at extension processing.
        Parameters:
        value - the processDefinitionVersion - Version of the process definition used by this process.
      • setState

        @Accessor(qualifier="state",
                  type=SETTER)
        public void setState​(ProcessState value)
        Generated method - Setter of BusinessProcess.state attribute defined at extension processing.
        Parameters:
        value - the state - Current (persisted) state of this process.
      • setTaskLogs

        @Accessor(qualifier="taskLogs",
                  type=SETTER)
        public void setTaskLogs​(java.util.Collection<ProcessTaskLogModel> value)
        Generated method - Setter of BusinessProcess.taskLogs attribute defined at extension processing.
        Parameters:
        value - the taskLogs
      • setUser

        @Accessor(qualifier="user",
                  type=SETTER)
        public void setUser​(UserModel value)
        Generated method - Setter of BusinessProcess.user attribute defined at extension processing.
        Parameters:
        value - the user