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:
Serializable
- Direct Known Subclasses:
ConsignmentProcessModel,CouponNotificationProcessModel,CxPersonalizationProcessModel,OrderProcessModel,ProductInterestsProcessModel,QuoteProcessModel,ReturnProcessModel,StoreFrontProcessModel
Generated model class for type BusinessProcess first defined at extension processing.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofBusinessProcess.codeattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofBusinessProcess.contextParametersattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofBusinessProcess.currentTasksattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofBusinessProcess.emailsattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofBusinessProcess.endMessageattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofBusinessProcess.processDefinitionNameattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofBusinessProcess.processDefinitionVersionattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofBusinessProcess.processStateattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofBusinessProcess.stateattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofBusinessProcess.taskLogsattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofBusinessProcess.userattribute defined at extensionprocessing.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextBusinessProcessModel(String _code, ItemModel _owner, 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(String _code, 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
Modifier and TypeMethodDescriptiongetCode()Generated method - Getter of theBusinessProcess.codeattribute defined at extensionprocessing.Generated method - Getter of theBusinessProcess.contextParametersattribute defined at extensionprocessing.Generated method - Getter of theBusinessProcess.currentTasksattribute defined at extensionprocessing.Generated method - Getter of theBusinessProcess.emailsattribute defined at extensionacceleratorservices.Generated method - Getter of theBusinessProcess.endMessageattribute defined at extensionprocessing.Generated method - Getter of theBusinessProcess.processDefinitionNameattribute defined at extensionprocessing.Generated method - Getter of theBusinessProcess.processDefinitionVersionattribute defined at extensionprocessing.Generated method - Getter of theBusinessProcess.processStatedynamic attribute defined at extensionprocessing.getState()Generated method - Getter of theBusinessProcess.stateattribute defined at extensionprocessing.Generated method - Getter of theBusinessProcess.taskLogsattribute defined at extensionprocessing.getUser()Generated method - Getter of theBusinessProcess.userattribute defined at extensionprocessing.voidGenerated method - Initial setter ofBusinessProcess.codeattribute defined at extensionprocessing.voidGenerated method - Setter ofBusinessProcess.contextParametersattribute defined at extensionprocessing.voidGenerated method - Setter ofBusinessProcess.currentTasksattribute defined at extensionprocessing.voidsetEmails(List<EmailMessageModel> value) Generated method - Setter ofBusinessProcess.emailsattribute defined at extensionacceleratorservices.voidsetEndMessage(String value) Generated method - Setter ofBusinessProcess.endMessageattribute defined at extensionprocessing.voidsetProcessDefinitionName(String value) Generated method - Initial setter ofBusinessProcess.processDefinitionNameattribute defined at extensionprocessing.voidGenerated method - Setter ofBusinessProcess.processDefinitionVersionattribute defined at extensionprocessing.voidsetState(ProcessState value) Generated method - Setter ofBusinessProcess.stateattribute defined at extensionprocessing.voidsetTaskLogs(Collection<ProcessTaskLogModel> value) Generated method - Setter ofBusinessProcess.taskLogsattribute defined at extensionprocessing.voidGenerated method - Setter ofBusinessProcess.userattribute defined at extensionprocessing.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
CODE
Generated constant - Attribute key ofBusinessProcess.codeattribute defined at extensionprocessing.- See Also:
-
PROCESSDEFINITIONNAME
Generated constant - Attribute key ofBusinessProcess.processDefinitionNameattribute defined at extensionprocessing.- See Also:
-
PROCESSDEFINITIONVERSION
Generated constant - Attribute key ofBusinessProcess.processDefinitionVersionattribute defined at extensionprocessing.- See Also:
-
STATE
Generated constant - Attribute key ofBusinessProcess.stateattribute defined at extensionprocessing.- See Also:
-
PROCESSSTATE
Generated constant - Attribute key ofBusinessProcess.processStateattribute defined at extensionprocessing.- See Also:
-
ENDMESSAGE
Generated constant - Attribute key ofBusinessProcess.endMessageattribute defined at extensionprocessing.- See Also:
-
USER
Generated constant - Attribute key ofBusinessProcess.userattribute defined at extensionprocessing.- See Also:
-
CURRENTTASKS
Generated constant - Attribute key ofBusinessProcess.currentTasksattribute defined at extensionprocessing.- See Also:
-
CONTEXTPARAMETERS
Generated constant - Attribute key ofBusinessProcess.contextParametersattribute defined at extensionprocessing.- See Also:
-
TASKLOGS
Generated constant - Attribute key ofBusinessProcess.taskLogsattribute defined at extensionprocessing.- See Also:
-
EMAILS
Generated constant - Attribute key ofBusinessProcess.emailsattribute defined at extensionacceleratorservices.- See Also:
-
-
Constructor Details
-
BusinessProcessModel
public BusinessProcessModel()Generated constructor - Default constructor for generic creation. -
BusinessProcessModel
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(String _code, 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 typeBusinessProcessat extensionprocessing_processDefinitionName- initial attribute declared by typeBusinessProcessat extensionprocessing
-
BusinessProcessModel
@Deprecated(since="4.1.1", forRemoval=true) public BusinessProcessModel(String _code, ItemModel _owner, 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 typeBusinessProcessat extensionprocessing_owner- initial attribute declared by typeItemat extensioncore_processDefinitionName- initial attribute declared by typeBusinessProcessat extensionprocessing
-
-
Method Details
-
getCode
Generated method - Getter of theBusinessProcess.codeattribute defined at extensionprocessing.- Returns:
- the code - Unique identifier of this process
-
getContextParameters
@Accessor(qualifier="contextParameters", type=GETTER) public Collection<BusinessProcessParameterModel> getContextParameters()Generated method - Getter of theBusinessProcess.contextParametersattribute defined at extensionprocessing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the contextParameters
-
getCurrentTasks
@Accessor(qualifier="currentTasks", type=GETTER) public Collection<ProcessTaskModel> getCurrentTasks()Generated method - Getter of theBusinessProcess.currentTasksattribute defined at extensionprocessing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the currentTasks
-
getEmails
Generated method - Getter of theBusinessProcess.emailsattribute defined at extensionacceleratorservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the emails
-
getEndMessage
Generated method - Getter of theBusinessProcess.endMessageattribute defined at extensionprocessing.- Returns:
- the endMessage - Message given in the end state of the process.
-
getProcessDefinitionName
Generated method - Getter of theBusinessProcess.processDefinitionNameattribute defined at extensionprocessing.- Returns:
- the processDefinitionName - Name of the process definition to use.
-
getProcessDefinitionVersion
@Accessor(qualifier="processDefinitionVersion", type=GETTER) public String getProcessDefinitionVersion()Generated method - Getter of theBusinessProcess.processDefinitionVersionattribute defined at extensionprocessing.- Returns:
- the processDefinitionVersion - Version of the process definition used by this process.
-
getProcessState
Generated method - Getter of theBusinessProcess.processStatedynamic attribute defined at extensionprocessing.- Returns:
- the processState - Current (accessible) state of this process.
-
getState
Generated method - Getter of theBusinessProcess.stateattribute defined at extensionprocessing.- Returns:
- the state - Current (persisted) state of this process.
-
getTaskLogs
Generated method - Getter of theBusinessProcess.taskLogsattribute defined at extensionprocessing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the taskLogs
-
getUser
Generated method - Getter of theBusinessProcess.userattribute defined at extensionprocessing.- Returns:
- the user
-
setCode
Generated method - Initial setter ofBusinessProcess.codeattribute 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(Collection<BusinessProcessParameterModel> value) Generated method - Setter ofBusinessProcess.contextParametersattribute defined at extensionprocessing.- Parameters:
value- the contextParameters
-
setCurrentTasks
@Accessor(qualifier="currentTasks", type=SETTER) public void setCurrentTasks(Collection<ProcessTaskModel> value) Generated method - Setter ofBusinessProcess.currentTasksattribute defined at extensionprocessing.- Parameters:
value- the currentTasks
-
setEmails
Generated method - Setter ofBusinessProcess.emailsattribute defined at extensionacceleratorservices.- Parameters:
value- the emails
-
setEndMessage
Generated method - Setter ofBusinessProcess.endMessageattribute 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(String value) Generated method - Initial setter ofBusinessProcess.processDefinitionNameattribute 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(String value) Generated method - Setter ofBusinessProcess.processDefinitionVersionattribute defined at extensionprocessing.- Parameters:
value- the processDefinitionVersion - Version of the process definition used by this process.
-
setState
Generated method - Setter ofBusinessProcess.stateattribute defined at extensionprocessing.- Parameters:
value- the state - Current (persisted) state of this process.
-
setTaskLogs
@Accessor(qualifier="taskLogs", type=SETTER) public void setTaskLogs(Collection<ProcessTaskLogModel> value) Generated method - Setter ofBusinessProcess.taskLogsattribute defined at extensionprocessing.- Parameters:
value- the taskLogs
-
setUser
Generated method - Setter ofBusinessProcess.userattribute defined at extensionprocessing.- Parameters:
value- the user
-