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_TYPECODEGenerated model type code constant.static java.lang.StringCODEGenerated constant - Attribute key ofBusinessProcess.codeattribute defined at extensionprocessing.static java.lang.StringCONTEXTPARAMETERSGenerated constant - Attribute key ofBusinessProcess.contextParametersattribute defined at extensionprocessing.static java.lang.StringCURRENTTASKSGenerated constant - Attribute key ofBusinessProcess.currentTasksattribute defined at extensionprocessing.static java.lang.StringEMAILSGenerated constant - Attribute key ofBusinessProcess.emailsattribute defined at extensionacceleratorservices.static java.lang.StringENDMESSAGEGenerated constant - Attribute key ofBusinessProcess.endMessageattribute defined at extensionprocessing.static java.lang.StringPROCESSDEFINITIONNAMEGenerated constant - Attribute key ofBusinessProcess.processDefinitionNameattribute defined at extensionprocessing.static java.lang.StringPROCESSDEFINITIONVERSIONGenerated constant - Attribute key ofBusinessProcess.processDefinitionVersionattribute defined at extensionprocessing.static java.lang.StringPROCESSSTATEGenerated constant - Attribute key ofBusinessProcess.processStateattribute defined at extensionprocessing.static java.lang.StringSTATEGenerated constant - Attribute key ofBusinessProcess.stateattribute defined at extensionprocessing.static java.lang.StringTASKLOGSGenerated constant - Attribute key ofBusinessProcess.taskLogsattribute defined at extensionprocessing.static java.lang.StringUSERGenerated 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, 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.StringgetCode()Generated method - Getter of theBusinessProcess.codeattribute defined at extensionprocessing.java.util.Collection<BusinessProcessParameterModel>getContextParameters()Generated method - Getter of theBusinessProcess.contextParametersattribute defined at extensionprocessing.java.util.Collection<ProcessTaskModel>getCurrentTasks()Generated method - Getter of theBusinessProcess.currentTasksattribute defined at extensionprocessing.java.util.List<EmailMessageModel>getEmails()Generated method - Getter of theBusinessProcess.emailsattribute defined at extensionacceleratorservices.java.lang.StringgetEndMessage()Generated method - Getter of theBusinessProcess.endMessageattribute defined at extensionprocessing.java.lang.StringgetProcessDefinitionName()Generated method - Getter of theBusinessProcess.processDefinitionNameattribute defined at extensionprocessing.java.lang.StringgetProcessDefinitionVersion()Generated method - Getter of theBusinessProcess.processDefinitionVersionattribute defined at extensionprocessing.ProcessStategetProcessState()Generated method - Getter of theBusinessProcess.processStatedynamic attribute defined at extensionprocessing.ProcessStategetState()Generated method - Getter of theBusinessProcess.stateattribute defined at extensionprocessing.java.util.Collection<ProcessTaskLogModel>getTaskLogs()Generated method - Getter of theBusinessProcess.taskLogsattribute defined at extensionprocessing.UserModelgetUser()Generated method - Getter of theBusinessProcess.userattribute defined at extensionprocessing.voidsetCode(java.lang.String value)Generated method - Initial setter ofBusinessProcess.codeattribute defined at extensionprocessing.voidsetContextParameters(java.util.Collection<BusinessProcessParameterModel> value)Generated method - Setter ofBusinessProcess.contextParametersattribute defined at extensionprocessing.voidsetCurrentTasks(java.util.Collection<ProcessTaskModel> value)Generated method - Setter ofBusinessProcess.currentTasksattribute defined at extensionprocessing.voidsetEmails(java.util.List<EmailMessageModel> value)Generated method - Setter ofBusinessProcess.emailsattribute defined at extensionacceleratorservices.voidsetEndMessage(java.lang.String value)Generated method - Setter ofBusinessProcess.endMessageattribute defined at extensionprocessing.voidsetProcessDefinitionName(java.lang.String value)Generated method - Initial setter ofBusinessProcess.processDefinitionNameattribute defined at extensionprocessing.voidsetProcessDefinitionVersion(java.lang.String value)Generated method - Setter ofBusinessProcess.processDefinitionVersionattribute defined at extensionprocessing.voidsetState(ProcessState value)Generated method - Setter ofBusinessProcess.stateattribute defined at extensionprocessing.voidsetTaskLogs(java.util.Collection<ProcessTaskLogModel> value)Generated method - Setter ofBusinessProcess.taskLogsattribute defined at extensionprocessing.voidsetUser(UserModel value)Generated 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, 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.codeattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
PROCESSDEFINITIONNAME
public static final java.lang.String PROCESSDEFINITIONNAME
Generated constant - Attribute key ofBusinessProcess.processDefinitionNameattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
PROCESSDEFINITIONVERSION
public static final java.lang.String PROCESSDEFINITIONVERSION
Generated constant - Attribute key ofBusinessProcess.processDefinitionVersionattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
STATE
public static final java.lang.String STATE
Generated constant - Attribute key ofBusinessProcess.stateattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
PROCESSSTATE
public static final java.lang.String PROCESSSTATE
Generated constant - Attribute key ofBusinessProcess.processStateattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
ENDMESSAGE
public static final java.lang.String ENDMESSAGE
Generated constant - Attribute key ofBusinessProcess.endMessageattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
USER
public static final java.lang.String USER
Generated constant - Attribute key ofBusinessProcess.userattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
CURRENTTASKS
public static final java.lang.String CURRENTTASKS
Generated constant - Attribute key ofBusinessProcess.currentTasksattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
CONTEXTPARAMETERS
public static final java.lang.String CONTEXTPARAMETERS
Generated constant - Attribute key ofBusinessProcess.contextParametersattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
TASKLOGS
public static final java.lang.String TASKLOGS
Generated constant - Attribute key ofBusinessProcess.taskLogsattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
EMAILS
public static final java.lang.String EMAILS
Generated constant - Attribute key ofBusinessProcess.emailsattribute 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 typeBusinessProcessat extensionprocessing_processDefinitionName- initial attribute declared by typeBusinessProcessat 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 typeBusinessProcessat extensionprocessing_owner- initial attribute declared by typeItemat extensioncore_processDefinitionName- initial attribute declared by typeBusinessProcessat extensionprocessing
-
-
Method Detail
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String 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 java.util.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 java.util.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
@Accessor(qualifier="emails", type=GETTER) public java.util.List<EmailMessageModel> 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
@Accessor(qualifier="endMessage", type=GETTER) public java.lang.String getEndMessage()
Generated method - Getter of theBusinessProcess.endMessageattribute 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.processDefinitionNameattribute 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.processDefinitionVersionattribute 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.processStatedynamic 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.stateattribute 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.taskLogsattribute 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.userattribute defined at extensionprocessing.- Returns:
- the user
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
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(java.util.Collection<BusinessProcessParameterModel> value)
Generated method - Setter ofBusinessProcess.contextParametersattribute 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.currentTasksattribute 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.emailsattribute defined at extensionacceleratorservices.- Parameters:
value- the emails
-
setEndMessage
@Accessor(qualifier="endMessage", type=SETTER) public void setEndMessage(java.lang.String value)
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(java.lang.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(java.lang.String value)
Generated method - Setter ofBusinessProcess.processDefinitionVersionattribute 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.stateattribute 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.taskLogsattribute defined at extensionprocessing.- Parameters:
value- the taskLogs
-
-