Class BusinessProcessModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.processengine.model.BusinessProcessModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CMSVersionGCProcessModel
,ConsignmentProcessModel
,CouponNotificationProcessModel
,CxPersonalizationProcessModel
,OrderProcessModel
,ProductInterestsProcessModel
,QuoteProcessModel
,ReturnProcessModel
,SapConsignmentProcessModel
,SapDigitPayPollCardProcessModel
,StoreFrontProcessModel
public class BusinessProcessModel extends ItemModel
Generated model class for type BusinessProcess first defined at extension processing.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
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 ofBusinessProcess.code
attribute defined at extensionprocessing
.static java.lang.String
CONTEXTPARAMETERS
Generated constant - Attribute key ofBusinessProcess.contextParameters
attribute defined at extensionprocessing
.static java.lang.String
CURRENTTASKS
Generated constant - Attribute key ofBusinessProcess.currentTasks
attribute defined at extensionprocessing
.static java.lang.String
EMAILS
Generated constant - Attribute key ofBusinessProcess.emails
attribute defined at extensionacceleratorservices
.static java.lang.String
ENDMESSAGE
Generated constant - Attribute key ofBusinessProcess.endMessage
attribute defined at extensionprocessing
.static java.lang.String
PROCESSDEFINITIONNAME
Generated constant - Attribute key ofBusinessProcess.processDefinitionName
attribute defined at extensionprocessing
.static java.lang.String
PROCESSDEFINITIONVERSION
Generated constant - Attribute key ofBusinessProcess.processDefinitionVersion
attribute defined at extensionprocessing
.static java.lang.String
PROCESSSTATE
Generated constant - Attribute key ofBusinessProcess.processState
attribute defined at extensionprocessing
.static java.lang.String
STATE
Generated constant - Attribute key ofBusinessProcess.state
attribute defined at extensionprocessing
.static java.lang.String
TASKLOGS
Generated constant - Attribute key ofBusinessProcess.taskLogs
attribute defined at extensionprocessing
.static java.lang.String
USER
Generated constant - Attribute key ofBusinessProcess.user
attribute defined at extensionprocessing
.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
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(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextBusinessProcessModel(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 parametersBusinessProcessModel(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 theBusinessProcess.code
attribute defined at extensionprocessing
.java.util.Collection<BusinessProcessParameterModel>
getContextParameters()
Generated method - Getter of theBusinessProcess.contextParameters
attribute defined at extensionprocessing
.java.util.Collection<ProcessTaskModel>
getCurrentTasks()
Generated method - Getter of theBusinessProcess.currentTasks
attribute defined at extensionprocessing
.java.util.List<EmailMessageModel>
getEmails()
Generated method - Getter of theBusinessProcess.emails
attribute defined at extensionacceleratorservices
.java.lang.String
getEndMessage()
Generated method - Getter of theBusinessProcess.endMessage
attribute defined at extensionprocessing
.java.lang.String
getProcessDefinitionName()
Generated method - Getter of theBusinessProcess.processDefinitionName
attribute defined at extensionprocessing
.java.lang.String
getProcessDefinitionVersion()
Generated method - Getter of theBusinessProcess.processDefinitionVersion
attribute defined at extensionprocessing
.ProcessState
getProcessState()
Generated method - Getter of theBusinessProcess.processState
dynamic attribute defined at extensionprocessing
.ProcessState
getState()
Generated method - Getter of theBusinessProcess.state
attribute defined at extensionprocessing
.java.util.Collection<ProcessTaskLogModel>
getTaskLogs()
Generated method - Getter of theBusinessProcess.taskLogs
attribute defined at extensionprocessing
.UserModel
getUser()
Generated method - Getter of theBusinessProcess.user
attribute defined at extensionprocessing
.void
setCode(java.lang.String value)
Generated method - Initial setter ofBusinessProcess.code
attribute defined at extensionprocessing
.void
setContextParameters(java.util.Collection<BusinessProcessParameterModel> value)
Generated method - Setter ofBusinessProcess.contextParameters
attribute defined at extensionprocessing
.void
setCurrentTasks(java.util.Collection<ProcessTaskModel> value)
Generated method - Setter ofBusinessProcess.currentTasks
attribute defined at extensionprocessing
.void
setEmails(java.util.List<EmailMessageModel> value)
Generated method - Setter ofBusinessProcess.emails
attribute defined at extensionacceleratorservices
.void
setEndMessage(java.lang.String value)
Generated method - Setter ofBusinessProcess.endMessage
attribute defined at extensionprocessing
.void
setProcessDefinitionName(java.lang.String value)
Generated method - Initial setter ofBusinessProcess.processDefinitionName
attribute defined at extensionprocessing
.void
setProcessDefinitionVersion(java.lang.String value)
Generated method - Setter ofBusinessProcess.processDefinitionVersion
attribute defined at extensionprocessing
.void
setState(ProcessState value)
Generated method - Setter ofBusinessProcess.state
attribute defined at extensionprocessing
.void
setTaskLogs(java.util.Collection<ProcessTaskLogModel> value)
Generated method - Setter ofBusinessProcess.taskLogs
attribute defined at extensionprocessing
.void
setUser(UserModel value)
Generated method - Setter ofBusinessProcess.user
attribute defined at extensionprocessing
.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
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
-
-
-
-
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 ofBusinessProcess.code
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
PROCESSDEFINITIONNAME
public static final java.lang.String PROCESSDEFINITIONNAME
Generated constant - Attribute key ofBusinessProcess.processDefinitionName
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
PROCESSDEFINITIONVERSION
public static final java.lang.String PROCESSDEFINITIONVERSION
Generated constant - Attribute key ofBusinessProcess.processDefinitionVersion
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
STATE
public static final java.lang.String STATE
Generated constant - Attribute key ofBusinessProcess.state
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
PROCESSSTATE
public static final java.lang.String PROCESSSTATE
Generated constant - Attribute key ofBusinessProcess.processState
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
ENDMESSAGE
public static final java.lang.String ENDMESSAGE
Generated constant - Attribute key ofBusinessProcess.endMessage
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
USER
public static final java.lang.String USER
Generated constant - Attribute key ofBusinessProcess.user
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
CURRENTTASKS
public static final java.lang.String CURRENTTASKS
Generated constant - Attribute key ofBusinessProcess.currentTasks
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
CONTEXTPARAMETERS
public static final java.lang.String CONTEXTPARAMETERS
Generated constant - Attribute key ofBusinessProcess.contextParameters
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
TASKLOGS
public static final java.lang.String TASKLOGS
Generated constant - Attribute key ofBusinessProcess.taskLogs
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
EMAILS
public static final java.lang.String EMAILS
Generated constant - Attribute key ofBusinessProcess.emails
attribute defined at extensionacceleratorservices
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BusinessProcessModel
public BusinessProcessModel()
Generated constructor - Default constructor for generic creation.
-
BusinessProcessModel
public BusinessProcessModel(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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code
- initial attribute declared by typeBusinessProcess
at extensionprocessing
_processDefinitionName
- initial attribute declared by typeBusinessProcess
at extensionprocessing
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code
- initial attribute declared by typeBusinessProcess
at extensionprocessing
_owner
- initial attribute declared by typeItem
at extensioncore
_processDefinitionName
- initial attribute declared by typeBusinessProcess
at extensionprocessing
-
-
Method Detail
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theBusinessProcess.code
attribute defined at extensionprocessing
.- Returns:
- the code - Unique identifier of this process
-
getContextParameters
@Accessor(qualifier="contextParameters", type=GETTER) public java.util.Collection<BusinessProcessParameterModel> getContextParameters()
Generated method - Getter of theBusinessProcess.contextParameters
attribute defined at extensionprocessing
. 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 theBusinessProcess.currentTasks
attribute defined at extensionprocessing
. 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 theBusinessProcess.emails
attribute defined at extensionacceleratorservices
. 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 theBusinessProcess.endMessage
attribute defined at extensionprocessing
.- 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 theBusinessProcess.processDefinitionName
attribute defined at extensionprocessing
.- 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 theBusinessProcess.processDefinitionVersion
attribute defined at extensionprocessing
.- 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 theBusinessProcess.processState
dynamic attribute defined at extensionprocessing
.- Returns:
- the processState - Current (accessible) state of this process.
-
getState
@Accessor(qualifier="state", type=GETTER) public ProcessState getState()
Generated method - Getter of theBusinessProcess.state
attribute defined at extensionprocessing
.- 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 theBusinessProcess.taskLogs
attribute defined at extensionprocessing
. 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 theBusinessProcess.user
attribute defined at extensionprocessing
.- Returns:
- the user
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Initial setter ofBusinessProcess.code
attribute defined at extensionprocessing
. 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 ofBusinessProcess.contextParameters
attribute defined at extensionprocessing
.- Parameters:
value
- the contextParameters
-
setCurrentTasks
@Accessor(qualifier="currentTasks", type=SETTER) public void setCurrentTasks(java.util.Collection<ProcessTaskModel> value)
Generated method - Setter ofBusinessProcess.currentTasks
attribute defined at extensionprocessing
.- Parameters:
value
- the currentTasks
-
setEmails
@Accessor(qualifier="emails", type=SETTER) public void setEmails(java.util.List<EmailMessageModel> value)
Generated method - Setter ofBusinessProcess.emails
attribute defined at extensionacceleratorservices
.- Parameters:
value
- the emails
-
setEndMessage
@Accessor(qualifier="endMessage", type=SETTER) public void setEndMessage(java.lang.String value)
Generated method - Setter ofBusinessProcess.endMessage
attribute defined at extensionprocessing
.- 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 ofBusinessProcess.processDefinitionName
attribute defined at extensionprocessing
. 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 ofBusinessProcess.processDefinitionVersion
attribute defined at extensionprocessing
.- 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 ofBusinessProcess.state
attribute defined at extensionprocessing
.- 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 ofBusinessProcess.taskLogs
attribute defined at extensionprocessing
.- Parameters:
value
- the taskLogs
-
-