Package de.hybris.platform.cronjob.model
Class CleanUpCronJobModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.cronjob.model.CronJobModel
de.hybris.platform.cronjob.model.CleanUpCronJobModel
- All Implemented Interfaces:
Serializable
Generated model class for type CleanUpCronJob 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 ofCleanUpCronJob.excludeCronJobsattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofCleanUpCronJob.resultcollattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofCleanUpCronJob.statuscollattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofCleanUpCronJob.xDaysOldattribute defined at extensionprocessing.Fields inherited from class de.hybris.platform.cronjob.model.CronJobModel
_JOBCRONJOBRELATION, ACTIVE, ACTIVECRONJOBHISTORY, ALTERNATIVEDATASOURCEID, CHANGERECORDINGENABLED, CHANGES, CODE, CRONJOBHISTORYENTRIES, CURRENTRETRY, CURRENTSTEP, EMAILADDRESS, EMAILNOTIFICATIONTEMPLATE, ENDTIME, ERRORMODE, FILESCOUNT, FILESDAYSOLD, FILESOPERATOR, JOB, LOGFILES, LOGLEVELDATABASE, LOGLEVELFILE, LOGS, LOGSCOUNT, LOGSDAYSOLD, LOGSOPERATOR, LOGTEXT, LOGTODATABASE, LOGTOFILE, NODEGROUP, NODEID, NUMBEROFRETRIES, PENDINGSTEPS, PRIORITY, PROCESSEDSTEPS, QUERYCOUNT, REMOVEONEXIT, REQUESTABORT, REQUESTABORTSTEP, RESULT, RETRY, RUNNINGONCLUSTERNODE, SENDEMAIL, SESSIONCONTEXTVALUES, SESSIONCURRENCY, SESSIONLANGUAGE, SESSIONUSER, SINGLEEXECUTABLE, STARTTIME, STATUS, TIMETABLE, TRIGGERS, USEREADONLYDATASOURCEFields 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.CleanUpCronJobModel(JobModel _job) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCleanUpCronJobModel(JobModel _job, ItemModel _owner) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCleanUpCronJobModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCleanUpCronJob.excludeCronJobsattribute defined at extensionprocessing.Generated method - Getter of theCleanUpCronJob.resultcollattribute defined at extensionprocessing.Generated method - Getter of theCleanUpCronJob.statuscollattribute defined at extensionprocessing.intGenerated method - Getter of theCleanUpCronJob.xDaysOldattribute defined at extensionprocessing.voidsetExcludeCronJobs(List<CronJobModel> value) Generated method - Setter ofCleanUpCronJob.excludeCronJobsattribute defined at extensionprocessing.voidsetResultcoll(Collection<CronJobResult> value) Generated method - Setter ofCleanUpCronJob.resultcollattribute defined at extensionprocessing.voidsetStatuscoll(Collection<CronJobStatus> value) Generated method - Setter ofCleanUpCronJob.statuscollattribute defined at extensionprocessing.voidsetXDaysOld(int value) Generated method - Setter ofCleanUpCronJob.xDaysOldattribute defined at extensionprocessing.Methods inherited from class de.hybris.platform.cronjob.model.CronJobModel
getActive, getActiveCronJobHistory, getAlternativeDataSourceID, getChangeRecordingEnabled, getChanges, getCode, getCronJobHistoryEntries, getCurrentRetry, getCurrentStep, getEmailAddress, getEmailNotificationTemplate, getEndTime, getErrorMode, getFilesCount, getFilesDaysOld, getFilesOperator, getJob, getLogFiles, getLogLevelDatabase, getLogLevelFile, getLogs, getLogsCount, getLogsDaysOld, getLogsOperator, getLogText, getLogToDatabase, getLogToFile, getNodeGroup, getNodeID, getNumberOfRetries, getPendingSteps, getPriority, getProcessedSteps, getQueryCount, getRemoveOnExit, getRequestAbort, getRequestAbortStep, getResult, getRetry, getRunningOnClusterNode, getSendEmail, getSessionCurrency, getSessionLanguage, getSessionUser, getSingleExecutable, getStartTime, getStatus, getTimeTable, getTriggers, getUseReadOnlyDatasource, setActive, setActiveCronJobHistory, setAlternativeDataSourceID, setChangeRecordingEnabled, setCode, setCronJobHistoryEntries, setCurrentRetry, setEmailAddress, setEmailNotificationTemplate, setEndTime, setErrorMode, setFilesCount, setFilesDaysOld, setFilesOperator, setJob, setLogFiles, setLogLevelDatabase, setLogLevelFile, setLogsCount, setLogsDaysOld, setLogsOperator, setLogToDatabase, setLogToFile, setNodeGroup, setNodeID, setNumberOfRetries, setPendingSteps, setPriority, setProcessedSteps, setQueryCount, setRemoveOnExit, setRequestAbort, setRequestAbortStep, setResult, setRetry, setRunningOnClusterNode, setSendEmail, setSessionCurrency, setSessionLanguage, setSessionUser, setSingleExecutable, setStartTime, setStatus, setTriggers, setUseReadOnlyDatasourceMethods 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:
-
XDAYSOLD
Generated constant - Attribute key ofCleanUpCronJob.xDaysOldattribute defined at extensionprocessing.- See Also:
-
EXCLUDECRONJOBS
Generated constant - Attribute key ofCleanUpCronJob.excludeCronJobsattribute defined at extensionprocessing.- See Also:
-
RESULTCOLL
Generated constant - Attribute key ofCleanUpCronJob.resultcollattribute defined at extensionprocessing.- See Also:
-
STATUSCOLL
Generated constant - Attribute key ofCleanUpCronJob.statuscollattribute defined at extensionprocessing.- See Also:
-
-
Constructor Details
-
CleanUpCronJobModel
public CleanUpCronJobModel()Generated constructor - Default constructor for generic creation. -
CleanUpCronJobModel
public CleanUpCronJobModel(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
-
CleanUpCronJobModel
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:
_job- initial attribute declared by typeCronJobat extensionprocessing
-
CleanUpCronJobModel
@Deprecated(since="4.1.1", forRemoval=true) public CleanUpCronJobModel(JobModel _job, ItemModel _owner) 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:
_job- initial attribute declared by typeCronJobat extensionprocessing_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getExcludeCronJobs
Generated method - Getter of theCleanUpCronJob.excludeCronJobsattribute defined at extensionprocessing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the excludeCronJobs - A List of CronJobs which should never be deleted by this clean up job
-
getResultcoll
Generated method - Getter of theCleanUpCronJob.resultcollattribute defined at extensionprocessing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the resultcoll - Filter: only cronjobs with this Result will be deleted
-
getStatuscoll
Generated method - Getter of theCleanUpCronJob.statuscollattribute defined at extensionprocessing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the statuscoll - Filter: only cronjobs with this status will be deleted
-
getXDaysOld
@Accessor(qualifier="xDaysOld", type=GETTER) public int getXDaysOld()Generated method - Getter of theCleanUpCronJob.xDaysOldattribute defined at extensionprocessing.- Returns:
- the xDaysOld - All CronJobs (CronJobModels) older than this value in days will be removed
-
setExcludeCronJobs
@Accessor(qualifier="excludeCronJobs", type=SETTER) public void setExcludeCronJobs(List<CronJobModel> value) Generated method - Setter ofCleanUpCronJob.excludeCronJobsattribute defined at extensionprocessing.- Parameters:
value- the excludeCronJobs - A List of CronJobs which should never be deleted by this clean up job
-
setResultcoll
@Accessor(qualifier="resultcoll", type=SETTER) public void setResultcoll(Collection<CronJobResult> value) Generated method - Setter ofCleanUpCronJob.resultcollattribute defined at extensionprocessing.- Parameters:
value- the resultcoll - Filter: only cronjobs with this Result will be deleted
-
setStatuscoll
@Accessor(qualifier="statuscoll", type=SETTER) public void setStatuscoll(Collection<CronJobStatus> value) Generated method - Setter ofCleanUpCronJob.statuscollattribute defined at extensionprocessing.- Parameters:
value- the statuscoll - Filter: only cronjobs with this status will be deleted
-
setXDaysOld
@Accessor(qualifier="xDaysOld", type=SETTER) public void setXDaysOld(int value) Generated method - Setter ofCleanUpCronJob.xDaysOldattribute defined at extensionprocessing.- Parameters:
value- the xDaysOld - All CronJobs (CronJobModels) older than this value in days will be removed
-