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:
Serializable
- Direct Known Subclasses:
SolrIndexerBatchModel
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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofSimpleBatch.contextattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofSimpleBatch.resultBatchIdattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofSimpleBatch.retriesattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofSimpleBatch.scriptCodeattribute defined at extensionprocessing.Fields inherited from class de.hybris.platform.processing.model.BatchModel
_DISTRIBUTEDPROCESS2BATCHRELATION, EXECUTIONID, ID, PROCESS, REMAININGWORKLOAD, TYPEFields 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.SimpleBatchModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextSimpleBatchModel(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 parametersSimpleBatchModel(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 TypeMethodDescriptionGenerated method - Getter of theSimpleBatch.contextattribute defined at extensionprocessing.Generated method - Getter of theSimpleBatch.resultBatchIdattribute defined at extensionprocessing.intGenerated method - Getter of theSimpleBatch.retriesattribute defined at extensionprocessing.Generated method - Getter of theSimpleBatch.scriptCodeattribute defined at extensionprocessing.voidsetContext(Object value) Generated method - Setter ofSimpleBatch.contextattribute defined at extensionprocessing.voidsetResultBatchId(String value) Generated method - Setter ofSimpleBatch.resultBatchIdattribute defined at extensionprocessing.voidsetRetries(int value) Generated method - Setter ofSimpleBatch.retriesattribute defined at extensionprocessing.voidsetScriptCode(String value) Generated method - Setter ofSimpleBatch.scriptCodeattribute defined at extensionprocessing.Methods inherited from class de.hybris.platform.processing.model.BatchModel
getExecutionId, getId, getProcess, getRemainingWorkLoad, getType, setExecutionId, setId, setProcess, setRemainingWorkLoad, setTypeMethods 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:
-
RESULTBATCHID
Generated constant - Attribute key ofSimpleBatch.resultBatchIdattribute defined at extensionprocessing.- See Also:
-
RETRIES
Generated constant - Attribute key ofSimpleBatch.retriesattribute defined at extensionprocessing.- See Also:
-
SCRIPTCODE
Generated constant - Attribute key ofSimpleBatch.scriptCodeattribute defined at extensionprocessing.- See Also:
-
CONTEXT
Generated constant - Attribute key ofSimpleBatch.contextattribute defined at extensionprocessing.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_executionId- initial attribute declared by typeBatchat extensionprocessing_id- initial attribute declared by typeBatchat extensionprocessing_process- initial attribute declared by typeBatchat extensionprocessing_retries- initial attribute declared by typeSimpleBatchat extensionprocessing_type- initial attribute declared by typeBatchat extensionprocessing
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_executionId- initial attribute declared by typeBatchat extensionprocessing_id- initial attribute declared by typeBatchat extensionprocessing_owner- initial attribute declared by typeItemat extensioncore_process- initial attribute declared by typeBatchat extensionprocessing_retries- initial attribute declared by typeSimpleBatchat extensionprocessing_type- initial attribute declared by typeBatchat extensionprocessing
-
-
Method Details
-
getContext
Generated method - Getter of theSimpleBatch.contextattribute defined at extensionprocessing.- Returns:
- the context
-
getResultBatchId
Generated method - Getter of theSimpleBatch.resultBatchIdattribute defined at extensionprocessing.- Returns:
- the resultBatchId
-
getRetries
@Accessor(qualifier="retries", type=GETTER) public int getRetries()Generated method - Getter of theSimpleBatch.retriesattribute defined at extensionprocessing.- Returns:
- the retries
-
getScriptCode
Generated method - Getter of theSimpleBatch.scriptCodeattribute defined at extensionprocessing.- Returns:
- the scriptCode
-
setContext
Generated method - Setter ofSimpleBatch.contextattribute defined at extensionprocessing.- Parameters:
value- the context
-
setResultBatchId
Generated method - Setter ofSimpleBatch.resultBatchIdattribute defined at extensionprocessing.- Parameters:
value- the resultBatchId
-
setRetries
@Accessor(qualifier="retries", type=SETTER) public void setRetries(int value) Generated method - Setter ofSimpleBatch.retriesattribute defined at extensionprocessing.- Parameters:
value- the retries
-
setScriptCode
Generated method - Setter ofSimpleBatch.scriptCodeattribute defined at extensionprocessing.- Parameters:
value- the scriptCode
-