Class SimpleBatchModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SolrIndexerBatchModel

public class SimpleBatchModel extends BatchModel
Generated model class for type SimpleBatch 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 SimpleBatch.context attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of SimpleBatch.resultBatchId attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of SimpleBatch.retries attribute defined at extension processing.
    static final String
    Generated constant - Attribute key of SimpleBatch.scriptCode attribute defined at extension processing.

    Fields inherited from class de.hybris.platform.processing.model.BatchModel

    _DISTRIBUTEDPROCESS2BATCHRELATION, EXECUTIONID, ID, PROCESS, REMAININGWORKLOAD, TYPE

    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.
    SimpleBatchModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    SimpleBatchModel(String _executionId, String _id, ItemModel _owner, DistributedProcessModel _process, int _retries, BatchType _type)
    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
    SimpleBatchModel(String _executionId, String _id, DistributedProcessModel _process, int _retries, BatchType _type)
    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 SimpleBatch.context attribute defined at extension processing.
    Generated method - Getter of the SimpleBatch.resultBatchId attribute defined at extension processing.
    int
    Generated method - Getter of the SimpleBatch.retries attribute defined at extension processing.
    Generated method - Getter of the SimpleBatch.scriptCode attribute defined at extension processing.
    void
    Generated method - Setter of SimpleBatch.context attribute defined at extension processing.
    void
    Generated method - Setter of SimpleBatch.resultBatchId attribute defined at extension processing.
    void
    setRetries(int value)
    Generated method - Setter of SimpleBatch.retries attribute defined at extension processing.
    void
    Generated method - Setter of SimpleBatch.scriptCode attribute defined at extension processing.

    Methods inherited from class de.hybris.platform.processing.model.BatchModel

    getExecutionId, getId, getProcess, getRemainingWorkLoad, getType, setExecutionId, setId, setProcess, setRemainingWorkLoad, setType

    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:
    • RESULTBATCHID

      public static final String RESULTBATCHID
      Generated constant - Attribute key of SimpleBatch.resultBatchId attribute defined at extension processing.
      See Also:
    • RETRIES

      public static final String RETRIES
      Generated constant - Attribute key of SimpleBatch.retries attribute defined at extension processing.
      See Also:
    • SCRIPTCODE

      public static final String SCRIPTCODE
      Generated constant - Attribute key of SimpleBatch.scriptCode attribute defined at extension processing.
      See Also:
    • CONTEXT

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

    • SimpleBatchModel

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

      public SimpleBatchModel(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
    • SimpleBatchModel

      @Deprecated(since="4.1.1", forRemoval=true) public SimpleBatchModel(String _executionId, String _id, DistributedProcessModel _process, int _retries, BatchType _type)
      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:
      _executionId - initial attribute declared by type Batch at extension processing
      _id - initial attribute declared by type Batch at extension processing
      _process - initial attribute declared by type Batch at extension processing
      _retries - initial attribute declared by type SimpleBatch at extension processing
      _type - initial attribute declared by type Batch at extension processing
    • SimpleBatchModel

      @Deprecated(since="4.1.1", forRemoval=true) public SimpleBatchModel(String _executionId, String _id, ItemModel _owner, DistributedProcessModel _process, int _retries, BatchType _type)
      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:
      _executionId - initial attribute declared by type Batch at extension processing
      _id - initial attribute declared by type Batch at extension processing
      _owner - initial attribute declared by type Item at extension core
      _process - initial attribute declared by type Batch at extension processing
      _retries - initial attribute declared by type SimpleBatch at extension processing
      _type - initial attribute declared by type Batch at extension processing
  • Method Details

    • getContext

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

      @Accessor(qualifier="resultBatchId", type=GETTER) public String getResultBatchId()
      Generated method - Getter of the SimpleBatch.resultBatchId attribute defined at extension processing.
      Returns:
      the resultBatchId
    • getRetries

      @Accessor(qualifier="retries", type=GETTER) public int getRetries()
      Generated method - Getter of the SimpleBatch.retries attribute defined at extension processing.
      Returns:
      the retries
    • getScriptCode

      @Accessor(qualifier="scriptCode", type=GETTER) public String getScriptCode()
      Generated method - Getter of the SimpleBatch.scriptCode attribute defined at extension processing.
      Returns:
      the scriptCode
    • setContext

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

      @Accessor(qualifier="resultBatchId", type=SETTER) public void setResultBatchId(String value)
      Generated method - Setter of SimpleBatch.resultBatchId attribute defined at extension processing.
      Parameters:
      value - the resultBatchId
    • setRetries

      @Accessor(qualifier="retries", type=SETTER) public void setRetries(int value)
      Generated method - Setter of SimpleBatch.retries attribute defined at extension processing.
      Parameters:
      value - the retries
    • setScriptCode

      @Accessor(qualifier="scriptCode", type=SETTER) public void setScriptCode(String value)
      Generated method - Setter of SimpleBatch.scriptCode attribute defined at extension processing.
      Parameters:
      value - the scriptCode