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:
java.io.Serializable
public class CleanUpCronJobModel extends CronJobModel
Generated model class for type CleanUpCronJob first defined at extension processing.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringEXCLUDECRONJOBSGenerated constant - Attribute key ofCleanUpCronJob.excludeCronJobsattribute defined at extensionprocessing.static java.lang.StringRESULTCOLLGenerated constant - Attribute key ofCleanUpCronJob.resultcollattribute defined at extensionprocessing.static java.lang.StringSTATUSCOLLGenerated constant - Attribute key ofCleanUpCronJob.statuscollattribute defined at extensionprocessing.static java.lang.StringXDAYSOLDGenerated 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, CURRENTSTEP, EMAILADDRESS, EMAILNOTIFICATIONTEMPLATE, ENDTIME, ERRORMODE, FILESCOUNT, FILESDAYSOLD, FILESOPERATOR, JOB, LOGFILES, LOGLEVELDATABASE, LOGLEVELFILE, LOGS, LOGSCOUNT, LOGSDAYSOLD, LOGSOPERATOR, LOGTEXT, LOGTODATABASE, LOGTOFILE, NODEGROUP, NODEID, PENDINGSTEPS, PRIORITY, PROCESSEDSTEPS, QUERYCOUNT, REMOVEONEXIT, REQUESTABORT, REQUESTABORTSTEP, RESULT, RETRY, RUNNINGONCLUSTERNODE, SENDEMAIL, SESSIONCONTEXTVALUES, SESSIONCURRENCY, SESSIONLANGUAGE, SESSIONUSER, SINGLEEXECUTABLE, STARTTIME, STATUS, TIMETABLE, TRIGGERS
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
-
Constructor Summary
Constructors Constructor Description CleanUpCronJobModel()Generated 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CronJobModel>getExcludeCronJobs()Generated method - Getter of theCleanUpCronJob.excludeCronJobsattribute defined at extensionprocessing.java.util.Collection<CronJobResult>getResultcoll()Generated method - Getter of theCleanUpCronJob.resultcollattribute defined at extensionprocessing.java.util.Collection<CronJobStatus>getStatuscoll()Generated method - Getter of theCleanUpCronJob.statuscollattribute defined at extensionprocessing.intgetXDaysOld()Generated method - Getter of theCleanUpCronJob.xDaysOldattribute defined at extensionprocessing.voidsetExcludeCronJobs(java.util.List<CronJobModel> value)Generated method - Setter ofCleanUpCronJob.excludeCronJobsattribute defined at extensionprocessing.voidsetResultcoll(java.util.Collection<CronJobResult> value)Generated method - Setter ofCleanUpCronJob.resultcollattribute defined at extensionprocessing.voidsetStatuscoll(java.util.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, getCurrentStep, getEmailAddress, getEmailNotificationTemplate, getEndTime, getErrorMode, getFilesCount, getFilesDaysOld, getFilesOperator, getJob, getLogFiles, getLogLevelDatabase, getLogLevelFile, getLogs, getLogsCount, getLogsDaysOld, getLogsOperator, getLogText, getLogToDatabase, getLogToFile, getNodeGroup, getNodeID, getPendingSteps, getPriority, getProcessedSteps, getQueryCount, getRemoveOnExit, getRequestAbort, getRequestAbortStep, getResult, getRetry, getRunningOnClusterNode, getSendEmail, getSessionCurrency, getSessionLanguage, getSessionUser, getSingleExecutable, getStartTime, getStatus, getTimeTable, getTriggers, setActive, setActiveCronJobHistory, setAlternativeDataSourceID, setChangeRecordingEnabled, setCode, setCronJobHistoryEntries, setEmailAddress, setEmailNotificationTemplate, setEndTime, setErrorMode, setFilesCount, setFilesDaysOld, setFilesOperator, setJob, setLogFiles, setLogLevelDatabase, setLogLevelFile, setLogsCount, setLogsDaysOld, setLogsOperator, setLogToDatabase, setLogToFile, setNodeGroup, setNodeID, setPendingSteps, setPriority, setProcessedSteps, setQueryCount, setRemoveOnExit, setRequestAbort, setRequestAbortStep, setResult, setRetry, setRunningOnClusterNode, setSendEmail, setSessionCurrency, setSessionLanguage, setSessionUser, setSingleExecutable, setStartTime, setStatus, setTriggers
-
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
-
XDAYSOLD
public static final java.lang.String XDAYSOLD
Generated constant - Attribute key ofCleanUpCronJob.xDaysOldattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
EXCLUDECRONJOBS
public static final java.lang.String EXCLUDECRONJOBS
Generated constant - Attribute key ofCleanUpCronJob.excludeCronJobsattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
RESULTCOLL
public static final java.lang.String RESULTCOLL
Generated constant - Attribute key ofCleanUpCronJob.resultcollattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
STATUSCOLL
public static final java.lang.String STATUSCOLL
Generated constant - Attribute key ofCleanUpCronJob.statuscollattribute defined at extensionprocessing.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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(since="4.1.1", forRemoval=true) public 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 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 Detail
-
getExcludeCronJobs
@Accessor(qualifier="excludeCronJobs", type=GETTER) public java.util.List<CronJobModel> 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
@Accessor(qualifier="resultcoll", type=GETTER) public java.util.Collection<CronJobResult> 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
@Accessor(qualifier="statuscoll", type=GETTER) public java.util.Collection<CronJobStatus> 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(java.util.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(java.util.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(java.util.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
-
-