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

public class TaskModel extends ItemModel
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

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of Task.conditions attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Task.context attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Task.contextItem attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Task.executionDate attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Task.executionHourMillis attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Task.executionTimeMillis attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Task.expirationDate attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Task.expirationTimeMillis attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Task.failed attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Task.nodeGroup attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Task.nodeId attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Task.retry attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Task.runnerBean attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of Task.runningOnClusterNode attribute defined at extension processing.

    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
    Generated constructor - Default constructor for generic creation.
    TaskModel(ItemModel _owner, String _runnerBean)
    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
    TaskModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    TaskModel(String _runnerBean)
    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 Type
    Method
    Description
    Generated method - Getter of the Task.conditions attribute defined at extension processing.
    Generated method - Getter of the Task.context attribute defined at extension processing.
    Generated method - Getter of the Task.contextItem attribute defined at extension processing.
    Generated method - Getter of the Task.executionDate dynamic attribute defined at extension processing.
    Generated method - Getter of the Task.executionTimeMillis attribute defined at extension processing.
    Generated method - Getter of the Task.expirationDate dynamic attribute defined at extension processing.
    Generated method - Getter of the Task.expirationTimeMillis attribute defined at extension processing.
    Generated method - Getter of the Task.failed attribute defined at extension processing.
    Generated method - Getter of the Task.nodeGroup attribute defined at extension processing.
    Generated method - Getter of the Task.nodeId attribute defined at extension processing.
    Generated method - Getter of the Task.retry attribute defined at extension processing.
    Generated method - Getter of the Task.runnerBean attribute defined at extension processing.
    Generated method - Getter of the Task.runningOnClusterNode attribute defined at extension processing.
    void
    Generated method - Setter of Task.conditions attribute defined at extension processing.
    void
    Generated method - Setter of Task.context attribute defined at extension processing.
    void
    Generated method - Setter of Task.contextItem attribute defined at extension processing.
    void
    Generated method - Setter of Task.executionDate dynamic attribute defined at extension processing.
    void
    Generated method - Setter of Task.executionHourMillis attribute defined at extension processing.
    void
    Generated method - Setter of Task.executionTimeMillis attribute defined at extension processing.
    void
    Generated method - Setter of Task.expirationDate dynamic attribute defined at extension processing.
    void
    Generated method - Setter of Task.expirationTimeMillis attribute defined at extension processing.
    void
    Generated method - Setter of Task.failed attribute defined at extension processing.
    void
    Generated method - Setter of Task.nodeGroup attribute defined at extension processing.
    void
    Generated method - Setter of Task.nodeId attribute defined at extension processing.
    void
    Generated method - Setter of Task.retry attribute defined at extension processing.
    void
    Generated method - Setter of Task.runnerBean attribute defined at extension processing.
    void
    Generated method - Setter of Task.runningOnClusterNode attribute defined at extension processing.

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • RUNNERBEAN

      public static final String RUNNERBEAN
      Generated constant - Attribute key of Task.runnerBean attribute defined at extension processing.
      See Also:
    • EXECUTIONDATE

      public static final String EXECUTIONDATE
      Generated constant - Attribute key of Task.executionDate attribute defined at extension processing.
      See Also:
    • EXECUTIONTIMEMILLIS

      public static final String EXECUTIONTIMEMILLIS
      Generated constant - Attribute key of Task.executionTimeMillis attribute defined at extension processing.
      See Also:
    • EXECUTIONHOURMILLIS

      public static final String EXECUTIONHOURMILLIS
      Generated constant - Attribute key of Task.executionHourMillis attribute defined at extension processing.
      See Also:
    • FAILED

      public static final String FAILED
      Generated constant - Attribute key of Task.failed attribute defined at extension processing.
      See Also:
    • EXPIRATIONDATE

      public static final String EXPIRATIONDATE
      Generated constant - Attribute key of Task.expirationDate attribute defined at extension processing.
      See Also:
    • EXPIRATIONTIMEMILLIS

      public static final String EXPIRATIONTIMEMILLIS
      Generated constant - Attribute key of Task.expirationTimeMillis attribute defined at extension processing.
      See Also:
    • CONTEXT

      public static final String CONTEXT
      Generated constant - Attribute key of Task.context attribute defined at extension processing.
      See Also:
    • CONTEXTITEM

      public static final String CONTEXTITEM
      Generated constant - Attribute key of Task.contextItem attribute defined at extension processing.
      See Also:
    • NODEID

      public static final String NODEID
      Generated constant - Attribute key of Task.nodeId attribute defined at extension processing.
      See Also:
    • NODEGROUP

      public static final String NODEGROUP
      Generated constant - Attribute key of Task.nodeGroup attribute defined at extension processing.
      See Also:
    • RETRY

      public static final String RETRY
      Generated constant - Attribute key of Task.retry attribute defined at extension processing.
      See Also:
    • RUNNINGONCLUSTERNODE

      public static final String RUNNINGONCLUSTERNODE
      Generated constant - Attribute key of Task.runningOnClusterNode attribute defined at extension processing.
      See Also:
    • CONDITIONS

      public static final String CONDITIONS
      Generated constant - Attribute key of Task.conditions attribute defined at extension processing.
      See Also:
  • Constructor Details

    • TaskModel

      public TaskModel()
      Generated constructor - Default constructor for generic creation.
    • TaskModel

      public TaskModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • TaskModel

      @Deprecated(since="4.1.1", forRemoval=true) public TaskModel(String _runnerBean)
      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
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _runnerBean - initial attribute declared by type Task at extension processing
    • TaskModel

      @Deprecated(since="4.1.1", forRemoval=true) public TaskModel(ItemModel _owner, String _runnerBean)
      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
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _owner - initial attribute declared by type Item at extension core
      _runnerBean - initial attribute declared by type Task at extension processing
  • Method Details

    • getConditions

      @Accessor(qualifier="conditions", type=GETTER) public Set<TaskConditionModel> getConditions()
      Generated method - Getter of the Task.conditions attribute defined at extension processing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the conditions
    • getContext

      @Accessor(qualifier="context", type=GETTER) public Object getContext()
      Generated method - Getter of the Task.context attribute defined at extension processing.
      Returns:
      the context
    • getContextItem

      @Accessor(qualifier="contextItem", type=GETTER) public ItemModel getContextItem()
      Generated method - Getter of the Task.contextItem attribute defined at extension processing.
      Returns:
      the contextItem
    • getExecutionDate

      @Accessor(qualifier="executionDate", type=GETTER) public Date getExecutionDate()
      Generated method - Getter of the Task.executionDate dynamic attribute defined at extension processing.
      Returns:
      the executionDate - Date after this task is to be executed
    • getExecutionTimeMillis

      @Accessor(qualifier="executionTimeMillis", type=GETTER) public Long getExecutionTimeMillis()
      Generated method - Getter of the Task.executionTimeMillis attribute defined at extension processing.
      Returns:
      the executionTimeMillis - Internal representation to overcome database limitations!
    • getExpirationDate

      @Accessor(qualifier="expirationDate", type=GETTER) public Date getExpirationDate()
      Generated method - Getter of the Task.expirationDate dynamic attribute defined at extension processing.
      Returns:
      the expirationDate
    • getExpirationTimeMillis

      @Accessor(qualifier="expirationTimeMillis", type=GETTER) public Long getExpirationTimeMillis()
      Generated method - Getter of the Task.expirationTimeMillis attribute defined at extension processing.
      Returns:
      the expirationTimeMillis - Date when this task is to be executed
    • getFailed

      @Accessor(qualifier="failed", type=GETTER) public Boolean getFailed()
      Generated method - Getter of the Task.failed attribute defined at extension processing.
      Returns:
      the failed
    • getNodeGroup

      @Accessor(qualifier="nodeGroup", type=GETTER) public String getNodeGroup()
      Generated method - Getter of the Task.nodeGroup attribute defined at extension processing.
      Returns:
      the nodeGroup
    • getNodeId

      @Accessor(qualifier="nodeId", type=GETTER) public Integer getNodeId()
      Generated method - Getter of the Task.nodeId attribute defined at extension processing.
      Returns:
      the nodeId
    • getRetry

      @Accessor(qualifier="retry", type=GETTER) public Integer getRetry()
      Generated method - Getter of the Task.retry attribute defined at extension processing.
      Returns:
      the retry
    • getRunnerBean

      @Accessor(qualifier="runnerBean", type=GETTER) public String getRunnerBean()
      Generated method - Getter of the Task.runnerBean attribute defined at extension processing.
      Returns:
      the runnerBean
    • getRunningOnClusterNode

      @Accessor(qualifier="runningOnClusterNode", type=GETTER) public Integer getRunningOnClusterNode()
      Generated method - Getter of the Task.runningOnClusterNode attribute defined at extension processing.
      Returns:
      the runningOnClusterNode
    • setConditions

      @Accessor(qualifier="conditions", type=SETTER) public void setConditions(Set<TaskConditionModel> value)
      Generated method - Setter of Task.conditions attribute defined at extension processing.
      Parameters:
      value - the conditions
    • setContext

      @Accessor(qualifier="context", type=SETTER) public void setContext(Object value)
      Generated method - Setter of Task.context attribute defined at extension processing.
      Parameters:
      value - the context
    • setContextItem

      @Accessor(qualifier="contextItem", type=SETTER) public void setContextItem(ItemModel value)
      Generated method - Setter of Task.contextItem attribute defined at extension processing.
      Parameters:
      value - the contextItem
    • setExecutionDate

      @Accessor(qualifier="executionDate", type=SETTER) public void setExecutionDate(Date value)
      Generated method - Setter of Task.executionDate dynamic attribute defined at extension processing.
      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 of Task.executionHourMillis attribute defined at extension processing.
      Parameters:
      value - the executionHourMillis - Internal representation to overcome database limitations!
    • setExecutionTimeMillis

      @Accessor(qualifier="executionTimeMillis", type=SETTER) public void setExecutionTimeMillis(Long value)
      Generated method - Setter of Task.executionTimeMillis attribute defined at extension processing.
      Parameters:
      value - the executionTimeMillis - Internal representation to overcome database limitations!
    • setExpirationDate

      @Accessor(qualifier="expirationDate", type=SETTER) public void setExpirationDate(Date value)
      Generated method - Setter of Task.expirationDate dynamic attribute defined at extension processing.
      Parameters:
      value - the expirationDate
    • setExpirationTimeMillis

      @Accessor(qualifier="expirationTimeMillis", type=SETTER) public void setExpirationTimeMillis(Long value)
      Generated method - Setter of Task.expirationTimeMillis attribute defined at extension processing.
      Parameters:
      value - the expirationTimeMillis - Date when this task is to be executed
    • setFailed

      @Accessor(qualifier="failed", type=SETTER) public void setFailed(Boolean value)
      Generated method - Setter of Task.failed attribute defined at extension processing.
      Parameters:
      value - the failed
    • setNodeGroup

      @Accessor(qualifier="nodeGroup", type=SETTER) public void setNodeGroup(String value)
      Generated method - Setter of Task.nodeGroup attribute defined at extension processing.
      Parameters:
      value - the nodeGroup
    • setNodeId

      @Accessor(qualifier="nodeId", type=SETTER) public void setNodeId(Integer value)
      Generated method - Setter of Task.nodeId attribute defined at extension processing.
      Parameters:
      value - the nodeId
    • setRetry

      @Accessor(qualifier="retry", type=SETTER) public void setRetry(Integer value)
      Generated method - Setter of Task.retry attribute defined at extension processing.
      Parameters:
      value - the retry
    • setRunnerBean

      @Accessor(qualifier="runnerBean", type=SETTER) public void setRunnerBean(String value)
      Generated method - Setter of Task.runnerBean attribute defined at extension processing.
      Parameters:
      value - the runnerBean
    • setRunningOnClusterNode

      @Accessor(qualifier="runningOnClusterNode", type=SETTER) public void setRunningOnClusterNode(Integer value)
      Generated method - Setter of Task.runningOnClusterNode attribute defined at extension processing.
      Parameters:
      value - the runningOnClusterNode