Package de.hybris.platform.task
Class TaskModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.task.TaskModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DistributedProcessTransitionTaskModel,DistributedProcessWorkerTaskModel,EscalationTaskModel,ProcessTaskModel,ScriptingTaskModel,TriggerTaskModel
Generated model class for type Task 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 ofTask.conditionsattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofTask.contextattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofTask.contextItemattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofTask.executionDateattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofTask.executionHourMillisattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofTask.executionTimeMillisattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofTask.expirationDateattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofTask.expirationTimeMillisattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofTask.failedattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofTask.nodeGroupattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofTask.nodeIdattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofTask.retryattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofTask.runnerBeanattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofTask.runningOnClusterNodeattribute 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.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 - Default constructor for creation with existing contextDeprecated, 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 TypeMethodDescriptionGenerated method - Getter of theTask.conditionsattribute defined at extensionprocessing.Generated method - Getter of theTask.contextattribute defined at extensionprocessing.Generated method - Getter of theTask.contextItemattribute defined at extensionprocessing.Generated method - Getter of theTask.executionDatedynamic attribute defined at extensionprocessing.Generated method - Getter of theTask.executionTimeMillisattribute defined at extensionprocessing.Generated method - Getter of theTask.expirationDatedynamic attribute defined at extensionprocessing.Generated method - Getter of theTask.expirationTimeMillisattribute defined at extensionprocessing.Generated method - Getter of theTask.failedattribute defined at extensionprocessing.Generated method - Getter of theTask.nodeGroupattribute defined at extensionprocessing.Generated method - Getter of theTask.nodeIdattribute defined at extensionprocessing.getRetry()Generated method - Getter of theTask.retryattribute defined at extensionprocessing.Generated method - Getter of theTask.runnerBeanattribute defined at extensionprocessing.Generated method - Getter of theTask.runningOnClusterNodeattribute defined at extensionprocessing.voidsetConditions(Set<TaskConditionModel> value) Generated method - Setter ofTask.conditionsattribute defined at extensionprocessing.voidsetContext(Object value) Generated method - Setter ofTask.contextattribute defined at extensionprocessing.voidsetContextItem(ItemModel value) Generated method - Setter ofTask.contextItemattribute defined at extensionprocessing.voidsetExecutionDate(Date value) Generated method - Setter ofTask.executionDatedynamic attribute defined at extensionprocessing.voidsetExecutionHourMillis(Long value) Generated method - Setter ofTask.executionHourMillisattribute defined at extensionprocessing.voidsetExecutionTimeMillis(Long value) Generated method - Setter ofTask.executionTimeMillisattribute defined at extensionprocessing.voidsetExpirationDate(Date value) Generated method - Setter ofTask.expirationDatedynamic attribute defined at extensionprocessing.voidsetExpirationTimeMillis(Long value) Generated method - Setter ofTask.expirationTimeMillisattribute defined at extensionprocessing.voidGenerated method - Setter ofTask.failedattribute defined at extensionprocessing.voidsetNodeGroup(String value) Generated method - Setter ofTask.nodeGroupattribute defined at extensionprocessing.voidGenerated method - Setter ofTask.nodeIdattribute defined at extensionprocessing.voidGenerated method - Setter ofTask.retryattribute defined at extensionprocessing.voidsetRunnerBean(String value) Generated method - Setter ofTask.runnerBeanattribute defined at extensionprocessing.voidsetRunningOnClusterNode(Integer value) Generated method - Setter ofTask.runningOnClusterNodeattribute 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:
-
RUNNERBEAN
Generated constant - Attribute key ofTask.runnerBeanattribute defined at extensionprocessing.- See Also:
-
EXECUTIONDATE
Generated constant - Attribute key ofTask.executionDateattribute defined at extensionprocessing.- See Also:
-
EXECUTIONTIMEMILLIS
Generated constant - Attribute key ofTask.executionTimeMillisattribute defined at extensionprocessing.- See Also:
-
EXECUTIONHOURMILLIS
Generated constant - Attribute key ofTask.executionHourMillisattribute defined at extensionprocessing.- See Also:
-
FAILED
Generated constant - Attribute key ofTask.failedattribute defined at extensionprocessing.- See Also:
-
EXPIRATIONDATE
Generated constant - Attribute key ofTask.expirationDateattribute defined at extensionprocessing.- See Also:
-
EXPIRATIONTIMEMILLIS
Generated constant - Attribute key ofTask.expirationTimeMillisattribute defined at extensionprocessing.- See Also:
-
CONTEXT
Generated constant - Attribute key ofTask.contextattribute defined at extensionprocessing.- See Also:
-
CONTEXTITEM
Generated constant - Attribute key ofTask.contextItemattribute defined at extensionprocessing.- See Also:
-
NODEID
Generated constant - Attribute key ofTask.nodeIdattribute defined at extensionprocessing.- See Also:
-
NODEGROUP
Generated constant - Attribute key ofTask.nodeGroupattribute defined at extensionprocessing.- See Also:
-
RETRY
Generated constant - Attribute key ofTask.retryattribute defined at extensionprocessing.- See Also:
-
RUNNINGONCLUSTERNODE
Generated constant - Attribute key ofTask.runningOnClusterNodeattribute defined at extensionprocessing.- See Also:
-
CONDITIONS
Generated constant - Attribute key ofTask.conditionsattribute defined at extensionprocessing.- See Also:
-
-
Constructor Details
-
TaskModel
public TaskModel()Generated constructor - Default constructor for generic creation. -
TaskModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
TaskModel
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:
_runnerBean- initial attribute declared by typeTaskat extensionprocessing
-
TaskModel
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:
_owner- initial attribute declared by typeItemat extensioncore_runnerBean- initial attribute declared by typeTaskat extensionprocessing
-
-
Method Details
-
getConditions
Generated method - Getter of theTask.conditionsattribute defined at extensionprocessing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the conditions
-
getContext
Generated method - Getter of theTask.contextattribute defined at extensionprocessing.- Returns:
- the context
-
getContextItem
Generated method - Getter of theTask.contextItemattribute defined at extensionprocessing.- Returns:
- the contextItem
-
getExecutionDate
Generated method - Getter of theTask.executionDatedynamic attribute defined at extensionprocessing.- Returns:
- the executionDate - Date after this task is to be executed
-
getExecutionTimeMillis
Generated method - Getter of theTask.executionTimeMillisattribute defined at extensionprocessing.- Returns:
- the executionTimeMillis - Internal representation to overcome database limitations!
-
getExpirationDate
Generated method - Getter of theTask.expirationDatedynamic attribute defined at extensionprocessing.- Returns:
- the expirationDate
-
getExpirationTimeMillis
Generated method - Getter of theTask.expirationTimeMillisattribute defined at extensionprocessing.- Returns:
- the expirationTimeMillis - Date when this task is to be executed
-
getFailed
Generated method - Getter of theTask.failedattribute defined at extensionprocessing.- Returns:
- the failed
-
getNodeGroup
Generated method - Getter of theTask.nodeGroupattribute defined at extensionprocessing.- Returns:
- the nodeGroup
-
getNodeId
Generated method - Getter of theTask.nodeIdattribute defined at extensionprocessing.- Returns:
- the nodeId
-
getRetry
Generated method - Getter of theTask.retryattribute defined at extensionprocessing.- Returns:
- the retry
-
getRunnerBean
Generated method - Getter of theTask.runnerBeanattribute defined at extensionprocessing.- Returns:
- the runnerBean
-
getRunningOnClusterNode
Generated method - Getter of theTask.runningOnClusterNodeattribute defined at extensionprocessing.- Returns:
- the runningOnClusterNode
-
setConditions
@Accessor(qualifier="conditions", type=SETTER) public void setConditions(Set<TaskConditionModel> value) Generated method - Setter ofTask.conditionsattribute defined at extensionprocessing.- Parameters:
value- the conditions
-
setContext
Generated method - Setter ofTask.contextattribute defined at extensionprocessing.- Parameters:
value- the context
-
setContextItem
Generated method - Setter ofTask.contextItemattribute defined at extensionprocessing.- Parameters:
value- the contextItem
-
setExecutionDate
Generated method - Setter ofTask.executionDatedynamic attribute defined at extensionprocessing.- Parameters:
value- the executionDate - Date after this task is to be executed
-
setExecutionHourMillis
@Accessor(qualifier="executionHourMillis", type=SETTER) public void setExecutionHourMillis(Long value) Generated method - Setter ofTask.executionHourMillisattribute defined at extensionprocessing.- Parameters:
value- the executionHourMillis - Internal representation to overcome database limitations!
-
setExecutionTimeMillis
@Accessor(qualifier="executionTimeMillis", type=SETTER) public void setExecutionTimeMillis(Long value) Generated method - Setter ofTask.executionTimeMillisattribute defined at extensionprocessing.- Parameters:
value- the executionTimeMillis - Internal representation to overcome database limitations!
-
setExpirationDate
Generated method - Setter ofTask.expirationDatedynamic attribute defined at extensionprocessing.- Parameters:
value- the expirationDate
-
setExpirationTimeMillis
@Accessor(qualifier="expirationTimeMillis", type=SETTER) public void setExpirationTimeMillis(Long value) Generated method - Setter ofTask.expirationTimeMillisattribute defined at extensionprocessing.- Parameters:
value- the expirationTimeMillis - Date when this task is to be executed
-
setFailed
Generated method - Setter ofTask.failedattribute defined at extensionprocessing.- Parameters:
value- the failed
-
setNodeGroup
Generated method - Setter ofTask.nodeGroupattribute defined at extensionprocessing.- Parameters:
value- the nodeGroup
-
setNodeId
Generated method - Setter ofTask.nodeIdattribute defined at extensionprocessing.- Parameters:
value- the nodeId
-
setRetry
Generated method - Setter ofTask.retryattribute defined at extensionprocessing.- Parameters:
value- the retry
-
setRunnerBean
Generated method - Setter ofTask.runnerBeanattribute defined at extensionprocessing.- Parameters:
value- the runnerBean
-
setRunningOnClusterNode
@Accessor(qualifier="runningOnClusterNode", type=SETTER) public void setRunningOnClusterNode(Integer value) Generated method - Setter ofTask.runningOnClusterNodeattribute defined at extensionprocessing.- Parameters:
value- the runningOnClusterNode
-