Class DistributedProcessModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.processing.model.DistributedProcessModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
DistributedImportProcessModel
,SimpleDistributedProcessModel
,Y2YDistributedProcessModel
public class DistributedProcessModel extends ItemModel
Generated model class for type DistributedProcess 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
BATCHES
Generated constant - Attribute key ofDistributedProcess.batches
attribute defined at extensionprocessing
.static java.lang.String
CODE
Generated constant - Attribute key ofDistributedProcess.code
attribute defined at extensionprocessing
.static java.lang.String
CURRENTEXECUTIONID
Generated constant - Attribute key ofDistributedProcess.currentExecutionId
attribute defined at extensionprocessing
.static java.lang.String
EXTENDEDSTATUS
Generated constant - Attribute key ofDistributedProcess.extendedStatus
attribute defined at extensionprocessing
.static java.lang.String
HANDLERBEANID
Generated constant - Attribute key ofDistributedProcess.handlerBeanId
attribute defined at extensionprocessing
.static java.lang.String
NODEGROUP
Generated constant - Attribute key ofDistributedProcess.nodeGroup
attribute defined at extensionprocessing
.static java.lang.String
PROGRESS
Generated constant - Attribute key ofDistributedProcess.progress
attribute defined at extensionprocessing
.static java.lang.String
STATE
Generated constant - Attribute key ofDistributedProcess.state
attribute defined at extensionprocessing
.static java.lang.String
STATUS
Generated constant - Attribute key ofDistributedProcess.status
attribute defined at extensionprocessing
.static java.lang.String
STOPREQUESTED
Generated constant - Attribute key ofDistributedProcess.stopRequested
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 DistributedProcessModel()
Generated constructor - Default constructor for generic creation.DistributedProcessModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextDistributedProcessModel(java.lang.String _code, java.lang.String _currentExecutionId, DistributedProcessState _state)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersDistributedProcessModel(java.lang.String _code, java.lang.String _currentExecutionId, java.lang.String _handlerBeanId, java.lang.String _nodeGroup, ItemModel _owner, DistributedProcessState _state)
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.util.Collection<BatchModel>
getBatches()
Generated method - Getter of theDistributedProcess.batches
attribute defined at extensionprocessing
.java.lang.String
getCode()
Generated method - Getter of theDistributedProcess.code
attribute defined at extensionprocessing
.java.lang.String
getCurrentExecutionId()
Generated method - Getter of theDistributedProcess.currentExecutionId
attribute defined at extensionprocessing
.java.lang.String
getExtendedStatus()
Generated method - Getter of theDistributedProcess.extendedStatus
attribute defined at extensionprocessing
.java.lang.String
getHandlerBeanId()
Generated method - Getter of theDistributedProcess.handlerBeanId
attribute defined at extensionprocessing
.java.lang.String
getNodeGroup()
Generated method - Getter of theDistributedProcess.nodeGroup
attribute defined at extensionprocessing
.java.lang.Double
getProgress()
Generated method - Getter of theDistributedProcess.progress
attribute defined at extensionprocessing
.DistributedProcessState
getState()
Generated method - Getter of theDistributedProcess.state
attribute defined at extensionprocessing
.java.lang.String
getStatus()
Generated method - Getter of theDistributedProcess.status
attribute defined at extensionprocessing
.boolean
isStopRequested()
Generated method - Getter of theDistributedProcess.stopRequested
attribute defined at extensionprocessing
.void
setBatches(java.util.Collection<BatchModel> value)
Generated method - Setter ofDistributedProcess.batches
attribute defined at extensionprocessing
.void
setCode(java.lang.String value)
Generated method - Initial setter ofDistributedProcess.code
attribute defined at extensionprocessing
.void
setCurrentExecutionId(java.lang.String value)
Generated method - Setter ofDistributedProcess.currentExecutionId
attribute defined at extensionprocessing
.void
setExtendedStatus(java.lang.String value)
Generated method - Setter ofDistributedProcess.extendedStatus
attribute defined at extensionprocessing
.void
setHandlerBeanId(java.lang.String value)
Generated method - Initial setter ofDistributedProcess.handlerBeanId
attribute defined at extensionprocessing
.void
setNodeGroup(java.lang.String value)
Generated method - Initial setter ofDistributedProcess.nodeGroup
attribute defined at extensionprocessing
.void
setProgress(java.lang.Double value)
Generated method - Setter ofDistributedProcess.progress
attribute defined at extensionprocessing
.void
setState(DistributedProcessState value)
Generated method - Setter ofDistributedProcess.state
attribute defined at extensionprocessing
.void
setStatus(java.lang.String value)
Generated method - Setter ofDistributedProcess.status
attribute defined at extensionprocessing
.void
setStopRequested(boolean value)
Generated method - Setter ofDistributedProcess.stopRequested
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 ofDistributedProcess.code
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
HANDLERBEANID
public static final java.lang.String HANDLERBEANID
Generated constant - Attribute key ofDistributedProcess.handlerBeanId
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
CURRENTEXECUTIONID
public static final java.lang.String CURRENTEXECUTIONID
Generated constant - Attribute key ofDistributedProcess.currentExecutionId
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
STATE
public static final java.lang.String STATE
Generated constant - Attribute key ofDistributedProcess.state
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
STOPREQUESTED
public static final java.lang.String STOPREQUESTED
Generated constant - Attribute key ofDistributedProcess.stopRequested
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
NODEGROUP
public static final java.lang.String NODEGROUP
Generated constant - Attribute key ofDistributedProcess.nodeGroup
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
Generated constant - Attribute key ofDistributedProcess.status
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
EXTENDEDSTATUS
public static final java.lang.String EXTENDEDSTATUS
Generated constant - Attribute key ofDistributedProcess.extendedStatus
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
PROGRESS
public static final java.lang.String PROGRESS
Generated constant - Attribute key ofDistributedProcess.progress
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
BATCHES
public static final java.lang.String BATCHES
Generated constant - Attribute key ofDistributedProcess.batches
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DistributedProcessModel
public DistributedProcessModel()
Generated constructor - Default constructor for generic creation.
-
DistributedProcessModel
public DistributedProcessModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
DistributedProcessModel
@Deprecated(since="4.1.1", forRemoval=true) public DistributedProcessModel(java.lang.String _code, java.lang.String _currentExecutionId, DistributedProcessState _state)
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 typeDistributedProcess
at extensionprocessing
_currentExecutionId
- initial attribute declared by typeDistributedProcess
at extensionprocessing
_state
- initial attribute declared by typeDistributedProcess
at extensionprocessing
-
DistributedProcessModel
@Deprecated(since="4.1.1", forRemoval=true) public DistributedProcessModel(java.lang.String _code, java.lang.String _currentExecutionId, java.lang.String _handlerBeanId, java.lang.String _nodeGroup, ItemModel _owner, DistributedProcessState _state)
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 typeDistributedProcess
at extensionprocessing
_currentExecutionId
- initial attribute declared by typeDistributedProcess
at extensionprocessing
_handlerBeanId
- initial attribute declared by typeDistributedProcess
at extensionprocessing
_nodeGroup
- initial attribute declared by typeDistributedProcess
at extensionprocessing
_owner
- initial attribute declared by typeItem
at extensioncore
_state
- initial attribute declared by typeDistributedProcess
at extensionprocessing
-
-
Method Detail
-
getBatches
@Accessor(qualifier="batches", type=GETTER) public java.util.Collection<BatchModel> getBatches()
Generated method - Getter of theDistributedProcess.batches
attribute defined at extensionprocessing
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the batches
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theDistributedProcess.code
attribute defined at extensionprocessing
.- Returns:
- the code
-
getCurrentExecutionId
@Accessor(qualifier="currentExecutionId", type=GETTER) public java.lang.String getCurrentExecutionId()
Generated method - Getter of theDistributedProcess.currentExecutionId
attribute defined at extensionprocessing
.- Returns:
- the currentExecutionId
-
getExtendedStatus
@Accessor(qualifier="extendedStatus", type=GETTER) public java.lang.String getExtendedStatus()
Generated method - Getter of theDistributedProcess.extendedStatus
attribute defined at extensionprocessing
.- Returns:
- the extendedStatus
-
getHandlerBeanId
@Accessor(qualifier="handlerBeanId", type=GETTER) public java.lang.String getHandlerBeanId()
Generated method - Getter of theDistributedProcess.handlerBeanId
attribute defined at extensionprocessing
.- Returns:
- the handlerBeanId
-
getNodeGroup
@Accessor(qualifier="nodeGroup", type=GETTER) public java.lang.String getNodeGroup()
Generated method - Getter of theDistributedProcess.nodeGroup
attribute defined at extensionprocessing
.- Returns:
- the nodeGroup
-
getProgress
@Accessor(qualifier="progress", type=GETTER) public java.lang.Double getProgress()
Generated method - Getter of theDistributedProcess.progress
attribute defined at extensionprocessing
.- Returns:
- the progress
-
getState
@Accessor(qualifier="state", type=GETTER) public DistributedProcessState getState()
Generated method - Getter of theDistributedProcess.state
attribute defined at extensionprocessing
.- Returns:
- the state
-
getStatus
@Accessor(qualifier="status", type=GETTER) public java.lang.String getStatus()
Generated method - Getter of theDistributedProcess.status
attribute defined at extensionprocessing
.- Returns:
- the status
-
isStopRequested
@Accessor(qualifier="stopRequested", type=GETTER) public boolean isStopRequested()
Generated method - Getter of theDistributedProcess.stopRequested
attribute defined at extensionprocessing
.- Returns:
- the stopRequested
-
setBatches
@Accessor(qualifier="batches", type=SETTER) public void setBatches(java.util.Collection<BatchModel> value)
Generated method - Setter ofDistributedProcess.batches
attribute defined at extensionprocessing
.- Parameters:
value
- the batches
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Initial setter ofDistributedProcess.code
attribute defined at extensionprocessing
. Can only be used at creation of model - before first save.- Parameters:
value
- the code
-
setCurrentExecutionId
@Accessor(qualifier="currentExecutionId", type=SETTER) public void setCurrentExecutionId(java.lang.String value)
Generated method - Setter ofDistributedProcess.currentExecutionId
attribute defined at extensionprocessing
.- Parameters:
value
- the currentExecutionId
-
setExtendedStatus
@Accessor(qualifier="extendedStatus", type=SETTER) public void setExtendedStatus(java.lang.String value)
Generated method - Setter ofDistributedProcess.extendedStatus
attribute defined at extensionprocessing
.- Parameters:
value
- the extendedStatus
-
setHandlerBeanId
@Accessor(qualifier="handlerBeanId", type=SETTER) public void setHandlerBeanId(java.lang.String value)
Generated method - Initial setter ofDistributedProcess.handlerBeanId
attribute defined at extensionprocessing
. Can only be used at creation of model - before first save.- Parameters:
value
- the handlerBeanId
-
setNodeGroup
@Accessor(qualifier="nodeGroup", type=SETTER) public void setNodeGroup(java.lang.String value)
Generated method - Initial setter ofDistributedProcess.nodeGroup
attribute defined at extensionprocessing
. Can only be used at creation of model - before first save.- Parameters:
value
- the nodeGroup
-
setProgress
@Accessor(qualifier="progress", type=SETTER) public void setProgress(java.lang.Double value)
Generated method - Setter ofDistributedProcess.progress
attribute defined at extensionprocessing
.- Parameters:
value
- the progress
-
setState
@Accessor(qualifier="state", type=SETTER) public void setState(DistributedProcessState value)
Generated method - Setter ofDistributedProcess.state
attribute defined at extensionprocessing
.- Parameters:
value
- the state
-
setStatus
@Accessor(qualifier="status", type=SETTER) public void setStatus(java.lang.String value)
Generated method - Setter ofDistributedProcess.status
attribute defined at extensionprocessing
.- Parameters:
value
- the status
-
-