Class SimpleBatchModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.processing.model.BatchModel
-
- de.hybris.platform.processing.model.SimpleBatchModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
SolrIndexerBatchModel
public class SimpleBatchModel extends BatchModel
Generated model class for type SimpleBatch 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
CONTEXT
Generated constant - Attribute key ofSimpleBatch.context
attribute defined at extensionprocessing
.static java.lang.String
RESULTBATCHID
Generated constant - Attribute key ofSimpleBatch.resultBatchId
attribute defined at extensionprocessing
.static java.lang.String
RETRIES
Generated constant - Attribute key ofSimpleBatch.retries
attribute defined at extensionprocessing
.static java.lang.String
SCRIPTCODE
Generated constant - Attribute key ofSimpleBatch.scriptCode
attribute defined at extensionprocessing
.-
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 SimpleBatchModel()
Generated constructor - Default constructor for generic creation.SimpleBatchModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextSimpleBatchModel(java.lang.String _executionId, java.lang.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 parametersSimpleBatchModel(java.lang.String _executionId, java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getContext()
Generated method - Getter of theSimpleBatch.context
attribute defined at extensionprocessing
.java.lang.String
getResultBatchId()
Generated method - Getter of theSimpleBatch.resultBatchId
attribute defined at extensionprocessing
.int
getRetries()
Generated method - Getter of theSimpleBatch.retries
attribute defined at extensionprocessing
.java.lang.String
getScriptCode()
Generated method - Getter of theSimpleBatch.scriptCode
attribute defined at extensionprocessing
.void
setContext(java.lang.Object value)
Generated method - Setter ofSimpleBatch.context
attribute defined at extensionprocessing
.void
setResultBatchId(java.lang.String value)
Generated method - Setter ofSimpleBatch.resultBatchId
attribute defined at extensionprocessing
.void
setRetries(int value)
Generated method - Setter ofSimpleBatch.retries
attribute defined at extensionprocessing
.void
setScriptCode(java.lang.String value)
Generated method - Setter ofSimpleBatch.scriptCode
attribute defined at extensionprocessing
.-
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
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
RESULTBATCHID
public static final java.lang.String RESULTBATCHID
Generated constant - Attribute key ofSimpleBatch.resultBatchId
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
RETRIES
public static final java.lang.String RETRIES
Generated constant - Attribute key ofSimpleBatch.retries
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
SCRIPTCODE
public static final java.lang.String SCRIPTCODE
Generated constant - Attribute key ofSimpleBatch.scriptCode
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
CONTEXT
public static final java.lang.String CONTEXT
Generated constant - Attribute key ofSimpleBatch.context
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SimpleBatchModel
public SimpleBatchModel()
Generated constructor - Default constructor for generic creation.
-
SimpleBatchModel
public SimpleBatchModel(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(java.lang.String _executionId, java.lang.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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_executionId
- initial attribute declared by typeBatch
at extensionprocessing
_id
- initial attribute declared by typeBatch
at extensionprocessing
_process
- initial attribute declared by typeBatch
at extensionprocessing
_retries
- initial attribute declared by typeSimpleBatch
at extensionprocessing
_type
- initial attribute declared by typeBatch
at extensionprocessing
-
SimpleBatchModel
@Deprecated(since="4.1.1", forRemoval=true) public SimpleBatchModel(java.lang.String _executionId, java.lang.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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_executionId
- initial attribute declared by typeBatch
at extensionprocessing
_id
- initial attribute declared by typeBatch
at extensionprocessing
_owner
- initial attribute declared by typeItem
at extensioncore
_process
- initial attribute declared by typeBatch
at extensionprocessing
_retries
- initial attribute declared by typeSimpleBatch
at extensionprocessing
_type
- initial attribute declared by typeBatch
at extensionprocessing
-
-
Method Detail
-
getContext
@Accessor(qualifier="context", type=GETTER) public java.lang.Object getContext()
Generated method - Getter of theSimpleBatch.context
attribute defined at extensionprocessing
.- Returns:
- the context
-
getResultBatchId
@Accessor(qualifier="resultBatchId", type=GETTER) public java.lang.String getResultBatchId()
Generated method - Getter of theSimpleBatch.resultBatchId
attribute defined at extensionprocessing
.- Returns:
- the resultBatchId
-
getRetries
@Accessor(qualifier="retries", type=GETTER) public int getRetries()
Generated method - Getter of theSimpleBatch.retries
attribute defined at extensionprocessing
.- Returns:
- the retries
-
getScriptCode
@Accessor(qualifier="scriptCode", type=GETTER) public java.lang.String getScriptCode()
Generated method - Getter of theSimpleBatch.scriptCode
attribute defined at extensionprocessing
.- Returns:
- the scriptCode
-
setContext
@Accessor(qualifier="context", type=SETTER) public void setContext(java.lang.Object value)
Generated method - Setter ofSimpleBatch.context
attribute defined at extensionprocessing
.- Parameters:
value
- the context
-
setResultBatchId
@Accessor(qualifier="resultBatchId", type=SETTER) public void setResultBatchId(java.lang.String value)
Generated method - Setter ofSimpleBatch.resultBatchId
attribute defined at extensionprocessing
.- Parameters:
value
- the resultBatchId
-
setRetries
@Accessor(qualifier="retries", type=SETTER) public void setRetries(int value)
Generated method - Setter ofSimpleBatch.retries
attribute defined at extensionprocessing
.- Parameters:
value
- the retries
-
-