Class CSTicketStagnationCronJobModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.cronjob.model.CronJobModel
de.hybris.platform.ticketsystem.model.CSTicketStagnationCronJobModel
- All Implemented Interfaces:
Serializable
@Deprecated(since="6.6",
forRemoval=true)
public class CSTicketStagnationCronJobModel
extends CronJobModel
Deprecated, for removal: This API element is subject to removal in a future version.
Since 6.6: replaced with ticketRetentionCronJob from ycoreaccelerator module.
Generated model class for type CSTicketStagnationCronJob first defined at extension ticketsystem.
Cron Job for cleaning CSTickets
- 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 StringDeprecated, for removal: This API element is subject to removal in a future version.Generated model type code constant.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofCSTicketStagnationCronJob.eligibleStatesattribute defined at extensionticketsystem.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofCSTicketStagnationCronJob.stagnationPeriodattribute defined at extensionticketsystem.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
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Generated constructor - Default constructor for generic creation.Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCSTicketStagnationCronJobModel(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 parametersCSTicketStagnationCronJobModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theCSTicketStagnationCronJob.eligibleStatesattribute defined at extensionticketsystem.intDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theCSTicketStagnationCronJob.stagnationPeriodattribute defined at extensionticketsystem.voidsetEligibleStates(String value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofCSTicketStagnationCronJob.eligibleStatesattribute defined at extensionticketsystem.voidsetStagnationPeriod(int value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofCSTicketStagnationCronJob.stagnationPeriodattribute defined at extensionticketsystem.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
Deprecated, for removal: This API element is subject to removal in a future version.Generated model type code constant.- See Also:
-
STAGNATIONPERIOD
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofCSTicketStagnationCronJob.stagnationPeriodattribute defined at extensionticketsystem.- See Also:
-
ELIGIBLESTATES
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofCSTicketStagnationCronJob.eligibleStatesattribute defined at extensionticketsystem.- See Also:
-
-
Constructor Details
-
CSTicketStagnationCronJobModel
public CSTicketStagnationCronJobModel()Deprecated, for removal: This API element is subject to removal in a future version.Generated constructor - Default constructor for generic creation. -
CSTicketStagnationCronJobModel
public CSTicketStagnationCronJobModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CSTicketStagnationCronJobModel
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
-
CSTicketStagnationCronJobModel
@Deprecated(since="4.1.1", forRemoval=true) public CSTicketStagnationCronJobModel(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
-
getEligibleStates
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theCSTicketStagnationCronJob.eligibleStatesattribute defined at extensionticketsystem.- Returns:
- the eligibleStates - Comma separated states to be closed after specific amount of days and send notification to the customer through email.
-
getStagnationPeriod
@Accessor(qualifier="stagnationPeriod", type=GETTER) public int getStagnationPeriod()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theCSTicketStagnationCronJob.stagnationPeriodattribute defined at extensionticketsystem.- Returns:
- the stagnationPeriod - After specified number of days tickets with specific state will be set to 'CLOSE'. Default is 90 days.
-
setEligibleStates
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofCSTicketStagnationCronJob.eligibleStatesattribute defined at extensionticketsystem.- Parameters:
value- the eligibleStates - Comma separated states to be closed after specific amount of days and send notification to the customer through email.
-
setStagnationPeriod
@Accessor(qualifier="stagnationPeriod", type=SETTER) public void setStagnationPeriod(int value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofCSTicketStagnationCronJob.stagnationPeriodattribute defined at extensionticketsystem.- Parameters:
value- the stagnationPeriod - After specified number of days tickets with specific state will be set to 'CLOSE'. Default is 90 days.
-