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_TYPECODEGenerated model type code constant.static java.lang.StringBATCHESGenerated constant - Attribute key ofDistributedProcess.batchesattribute defined at extensionprocessing.static java.lang.StringCODEGenerated constant - Attribute key ofDistributedProcess.codeattribute defined at extensionprocessing.static java.lang.StringCURRENTEXECUTIONIDGenerated constant - Attribute key ofDistributedProcess.currentExecutionIdattribute defined at extensionprocessing.static java.lang.StringEXTENDEDSTATUSGenerated constant - Attribute key ofDistributedProcess.extendedStatusattribute defined at extensionprocessing.static java.lang.StringHANDLERBEANIDGenerated constant - Attribute key ofDistributedProcess.handlerBeanIdattribute defined at extensionprocessing.static java.lang.StringNODEGROUPGenerated constant - Attribute key ofDistributedProcess.nodeGroupattribute defined at extensionprocessing.static java.lang.StringPROGRESSGenerated constant - Attribute key ofDistributedProcess.progressattribute defined at extensionprocessing.static java.lang.StringSTATEGenerated constant - Attribute key ofDistributedProcess.stateattribute defined at extensionprocessing.static java.lang.StringSTATUSGenerated constant - Attribute key ofDistributedProcess.statusattribute defined at extensionprocessing.static java.lang.StringSTOPREQUESTEDGenerated constant - Attribute key ofDistributedProcess.stopRequestedattribute 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.batchesattribute defined at extensionprocessing.java.lang.StringgetCode()Generated method - Getter of theDistributedProcess.codeattribute defined at extensionprocessing.java.lang.StringgetCurrentExecutionId()Generated method - Getter of theDistributedProcess.currentExecutionIdattribute defined at extensionprocessing.java.lang.StringgetExtendedStatus()Generated method - Getter of theDistributedProcess.extendedStatusattribute defined at extensionprocessing.java.lang.StringgetHandlerBeanId()Generated method - Getter of theDistributedProcess.handlerBeanIdattribute defined at extensionprocessing.java.lang.StringgetNodeGroup()Generated method - Getter of theDistributedProcess.nodeGroupattribute defined at extensionprocessing.java.lang.DoublegetProgress()Generated method - Getter of theDistributedProcess.progressattribute defined at extensionprocessing.DistributedProcessStategetState()Generated method - Getter of theDistributedProcess.stateattribute defined at extensionprocessing.java.lang.StringgetStatus()Generated method - Getter of theDistributedProcess.statusattribute defined at extensionprocessing.booleanisStopRequested()Generated method - Getter of theDistributedProcess.stopRequestedattribute defined at extensionprocessing.voidsetBatches(java.util.Collection<BatchModel> value)Generated method - Setter ofDistributedProcess.batchesattribute defined at extensionprocessing.voidsetCode(java.lang.String value)Generated method - Initial setter ofDistributedProcess.codeattribute defined at extensionprocessing.voidsetCurrentExecutionId(java.lang.String value)Generated method - Setter ofDistributedProcess.currentExecutionIdattribute defined at extensionprocessing.voidsetExtendedStatus(java.lang.String value)Generated method - Setter ofDistributedProcess.extendedStatusattribute defined at extensionprocessing.voidsetHandlerBeanId(java.lang.String value)Generated method - Initial setter ofDistributedProcess.handlerBeanIdattribute defined at extensionprocessing.voidsetNodeGroup(java.lang.String value)Generated method - Initial setter ofDistributedProcess.nodeGroupattribute defined at extensionprocessing.voidsetProgress(java.lang.Double value)Generated method - Setter ofDistributedProcess.progressattribute defined at extensionprocessing.voidsetState(DistributedProcessState value)Generated method - Setter ofDistributedProcess.stateattribute defined at extensionprocessing.voidsetStatus(java.lang.String value)Generated method - Setter ofDistributedProcess.statusattribute defined at extensionprocessing.voidsetStopRequested(boolean value)Generated method - Setter ofDistributedProcess.stopRequestedattribute 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.codeattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
HANDLERBEANID
public static final java.lang.String HANDLERBEANID
Generated constant - Attribute key ofDistributedProcess.handlerBeanIdattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
CURRENTEXECUTIONID
public static final java.lang.String CURRENTEXECUTIONID
Generated constant - Attribute key ofDistributedProcess.currentExecutionIdattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
STATE
public static final java.lang.String STATE
Generated constant - Attribute key ofDistributedProcess.stateattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
STOPREQUESTED
public static final java.lang.String STOPREQUESTED
Generated constant - Attribute key ofDistributedProcess.stopRequestedattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
NODEGROUP
public static final java.lang.String NODEGROUP
Generated constant - Attribute key ofDistributedProcess.nodeGroupattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
Generated constant - Attribute key ofDistributedProcess.statusattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
EXTENDEDSTATUS
public static final java.lang.String EXTENDEDSTATUS
Generated constant - Attribute key ofDistributedProcess.extendedStatusattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
PROGRESS
public static final java.lang.String PROGRESS
Generated constant - Attribute key ofDistributedProcess.progressattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
BATCHES
public static final java.lang.String BATCHES
Generated constant - Attribute key ofDistributedProcess.batchesattribute 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 typeDistributedProcessat extensionprocessing_currentExecutionId- initial attribute declared by typeDistributedProcessat extensionprocessing_state- initial attribute declared by typeDistributedProcessat 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 typeDistributedProcessat extensionprocessing_currentExecutionId- initial attribute declared by typeDistributedProcessat extensionprocessing_handlerBeanId- initial attribute declared by typeDistributedProcessat extensionprocessing_nodeGroup- initial attribute declared by typeDistributedProcessat extensionprocessing_owner- initial attribute declared by typeItemat extensioncore_state- initial attribute declared by typeDistributedProcessat extensionprocessing
-
-
Method Detail
-
getBatches
@Accessor(qualifier="batches", type=GETTER) public java.util.Collection<BatchModel> getBatches()
Generated method - Getter of theDistributedProcess.batchesattribute 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.codeattribute defined at extensionprocessing.- Returns:
- the code
-
getCurrentExecutionId
@Accessor(qualifier="currentExecutionId", type=GETTER) public java.lang.String getCurrentExecutionId()
Generated method - Getter of theDistributedProcess.currentExecutionIdattribute defined at extensionprocessing.- Returns:
- the currentExecutionId
-
getExtendedStatus
@Accessor(qualifier="extendedStatus", type=GETTER) public java.lang.String getExtendedStatus()
Generated method - Getter of theDistributedProcess.extendedStatusattribute defined at extensionprocessing.- Returns:
- the extendedStatus
-
getHandlerBeanId
@Accessor(qualifier="handlerBeanId", type=GETTER) public java.lang.String getHandlerBeanId()
Generated method - Getter of theDistributedProcess.handlerBeanIdattribute defined at extensionprocessing.- Returns:
- the handlerBeanId
-
getNodeGroup
@Accessor(qualifier="nodeGroup", type=GETTER) public java.lang.String getNodeGroup()
Generated method - Getter of theDistributedProcess.nodeGroupattribute defined at extensionprocessing.- Returns:
- the nodeGroup
-
getProgress
@Accessor(qualifier="progress", type=GETTER) public java.lang.Double getProgress()
Generated method - Getter of theDistributedProcess.progressattribute defined at extensionprocessing.- Returns:
- the progress
-
getState
@Accessor(qualifier="state", type=GETTER) public DistributedProcessState getState()
Generated method - Getter of theDistributedProcess.stateattribute defined at extensionprocessing.- Returns:
- the state
-
getStatus
@Accessor(qualifier="status", type=GETTER) public java.lang.String getStatus()
Generated method - Getter of theDistributedProcess.statusattribute defined at extensionprocessing.- Returns:
- the status
-
isStopRequested
@Accessor(qualifier="stopRequested", type=GETTER) public boolean isStopRequested()
Generated method - Getter of theDistributedProcess.stopRequestedattribute defined at extensionprocessing.- Returns:
- the stopRequested
-
setBatches
@Accessor(qualifier="batches", type=SETTER) public void setBatches(java.util.Collection<BatchModel> value)
Generated method - Setter ofDistributedProcess.batchesattribute 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.codeattribute 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.currentExecutionIdattribute defined at extensionprocessing.- Parameters:
value- the currentExecutionId
-
setExtendedStatus
@Accessor(qualifier="extendedStatus", type=SETTER) public void setExtendedStatus(java.lang.String value)
Generated method - Setter ofDistributedProcess.extendedStatusattribute 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.handlerBeanIdattribute 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.nodeGroupattribute 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.progressattribute defined at extensionprocessing.- Parameters:
value- the progress
-
setState
@Accessor(qualifier="state", type=SETTER) public void setState(DistributedProcessState value)
Generated method - Setter ofDistributedProcess.stateattribute defined at extensionprocessing.- Parameters:
value- the state
-
setStatus
@Accessor(qualifier="status", type=SETTER) public void setStatus(java.lang.String value)
Generated method - Setter ofDistributedProcess.statusattribute defined at extensionprocessing.- Parameters:
value- the status
-
-