Package de.hybris.platform.cronjob.model
Class TriggerModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.cronjob.model.TriggerModel
-
- All Implemented Interfaces:
java.io.Serializable
public class TriggerModel extends ItemModel
Generated model class for type Trigger 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
_CRONJOBTRIGGERRELATION
Generated relation code constant for relationCronJobTriggerRelation
defining source attributecronJob
in extensionprocessing
.static java.lang.String
_JOBTRIGGERRELATION
Generated relation code constant for relationJobTriggerRelation
defining source attributejob
in extensionprocessing
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
ACTIVATIONTIME
Generated constant - Attribute key ofTrigger.activationTime
attribute defined at extensionprocessing
.static java.lang.String
ACTIVE
Generated constant - Attribute key ofTrigger.active
attribute defined at extensionprocessing
.static java.lang.String
CRONEXPRESSION
Generated constant - Attribute key ofTrigger.cronExpression
attribute defined at extensionprocessing
.static java.lang.String
CRONJOB
Generated constant - Attribute key ofTrigger.cronJob
attribute defined at extensionprocessing
.static java.lang.String
DATERANGE
Generated constant - Attribute key ofTrigger.dateRange
attribute defined at extensionprocessing
.static java.lang.String
DAY
Generated constant - Attribute key ofTrigger.day
attribute defined at extensionprocessing
.static java.lang.String
DAYSOFWEEK
Generated constant - Attribute key ofTrigger.daysOfWeek
attribute defined at extensionprocessing
.static java.lang.String
HOUR
Generated constant - Attribute key ofTrigger.hour
attribute defined at extensionprocessing
.static java.lang.String
JOB
Generated constant - Attribute key ofTrigger.job
attribute defined at extensionprocessing
.static java.lang.String
MAXACCEPTABLEDELAY
Generated constant - Attribute key ofTrigger.maxAcceptableDelay
attribute defined at extensionprocessing
.static java.lang.String
MINUTE
Generated constant - Attribute key ofTrigger.minute
attribute defined at extensionprocessing
.static java.lang.String
MONTH
Generated constant - Attribute key ofTrigger.month
attribute defined at extensionprocessing
.static java.lang.String
RELATIVE
Generated constant - Attribute key ofTrigger.relative
attribute defined at extensionprocessing
.static java.lang.String
SECOND
Generated constant - Attribute key ofTrigger.second
attribute defined at extensionprocessing
.static java.lang.String
TIMETABLE
Generated constant - Attribute key ofTrigger.timeTable
attribute defined at extensionprocessing
.static java.lang.String
WEEKINTERVAL
Generated constant - Attribute key ofTrigger.weekInterval
attribute defined at extensionprocessing
.static java.lang.String
YEAR
Generated constant - Attribute key ofTrigger.year
attribute defined at extensionprocessing
.-
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 TriggerModel()
Generated constructor - Default constructor for generic creation.TriggerModel(CronJobModel _cronJob, 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 parametersTriggerModel(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.Date
getActivationTime()
Generated method - Getter of theTrigger.activationTime
attribute defined at extensionprocessing
.java.lang.Boolean
getActive()
Generated method - Getter of theTrigger.active
attribute defined at extensionprocessing
.java.lang.String
getCronExpression()
Generated method - Getter of theTrigger.cronExpression
attribute defined at extensionprocessing
.CronJobModel
getCronJob()
Generated method - Getter of theTrigger.cronJob
attribute defined at extensionprocessing
.StandardDateRange
getDateRange()
Generated method - Getter of theTrigger.dateRange
attribute defined at extensionprocessing
.java.lang.Integer
getDay()
Generated method - Getter of theTrigger.day
attribute defined at extensionprocessing
.java.util.List<DayOfWeek>
getDaysOfWeek()
Generated method - Getter of theTrigger.daysOfWeek
attribute defined at extensionprocessing
.java.lang.Integer
getHour()
Generated method - Getter of theTrigger.hour
attribute defined at extensionprocessing
.JobModel
getJob()
Generated method - Getter of theTrigger.job
attribute defined at extensionprocessing
.java.lang.Integer
getMaxAcceptableDelay()
Generated method - Getter of theTrigger.maxAcceptableDelay
attribute defined at extensionprocessing
.java.lang.Integer
getMinute()
Generated method - Getter of theTrigger.minute
attribute defined at extensionprocessing
.java.lang.Integer
getMonth()
Generated method - Getter of theTrigger.month
attribute defined at extensionprocessing
.java.lang.Boolean
getRelative()
Generated method - Getter of theTrigger.relative
attribute defined at extensionprocessing
.java.lang.Integer
getSecond()
Generated method - Getter of theTrigger.second
attribute defined at extensionprocessing
.java.lang.String
getTimeTable()
Generated method - Getter of theTrigger.timeTable
dynamic attribute defined at extensionprocessing
.java.lang.Integer
getWeekInterval()
Generated method - Getter of theTrigger.weekInterval
attribute defined at extensionprocessing
.java.lang.Integer
getYear()
Generated method - Getter of theTrigger.year
attribute defined at extensionprocessing
.void
setActivationTime(java.util.Date value)
Generated method - Setter ofTrigger.activationTime
attribute defined at extensionprocessing
.void
setActive(java.lang.Boolean value)
Generated method - Setter ofTrigger.active
attribute defined at extensionprocessing
.void
setCronExpression(java.lang.String value)
Generated method - Setter ofTrigger.cronExpression
attribute defined at extensionprocessing
.void
setCronJob(CronJobModel value)
Generated method - Initial setter ofTrigger.cronJob
attribute defined at extensionprocessing
.void
setDateRange(StandardDateRange value)
Generated method - Setter ofTrigger.dateRange
attribute defined at extensionprocessing
.void
setDay(java.lang.Integer value)
Generated method - Setter ofTrigger.day
attribute defined at extensionprocessing
.void
setDaysOfWeek(java.util.List<DayOfWeek> value)
Generated method - Setter ofTrigger.daysOfWeek
attribute defined at extensionprocessing
.void
setHour(java.lang.Integer value)
Generated method - Setter ofTrigger.hour
attribute defined at extensionprocessing
.void
setJob(JobModel value)
Generated method - Initial setter ofTrigger.job
attribute defined at extensionprocessing
.void
setMaxAcceptableDelay(java.lang.Integer value)
Generated method - Setter ofTrigger.maxAcceptableDelay
attribute defined at extensionprocessing
.void
setMinute(java.lang.Integer value)
Generated method - Setter ofTrigger.minute
attribute defined at extensionprocessing
.void
setMonth(java.lang.Integer value)
Generated method - Setter ofTrigger.month
attribute defined at extensionprocessing
.void
setRelative(java.lang.Boolean value)
Generated method - Setter ofTrigger.relative
attribute defined at extensionprocessing
.void
setSecond(java.lang.Integer value)
Generated method - Setter ofTrigger.second
attribute defined at extensionprocessing
.void
setWeekInterval(java.lang.Integer value)
Generated method - Setter ofTrigger.weekInterval
attribute defined at extensionprocessing
.void
setYear(java.lang.Integer value)
Generated method - Setter ofTrigger.year
attribute defined at extensionprocessing
.-
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
-
_JOBTRIGGERRELATION
public static final java.lang.String _JOBTRIGGERRELATION
Generated relation code constant for relationJobTriggerRelation
defining source attributejob
in extensionprocessing
.- See Also:
- Constant Field Values
-
_CRONJOBTRIGGERRELATION
public static final java.lang.String _CRONJOBTRIGGERRELATION
Generated relation code constant for relationCronJobTriggerRelation
defining source attributecronJob
in extensionprocessing
.- See Also:
- Constant Field Values
-
ACTIVE
public static final java.lang.String ACTIVE
Generated constant - Attribute key ofTrigger.active
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
SECOND
public static final java.lang.String SECOND
Generated constant - Attribute key ofTrigger.second
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
MINUTE
public static final java.lang.String MINUTE
Generated constant - Attribute key ofTrigger.minute
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
HOUR
public static final java.lang.String HOUR
Generated constant - Attribute key ofTrigger.hour
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
DAY
public static final java.lang.String DAY
Generated constant - Attribute key ofTrigger.day
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
MONTH
public static final java.lang.String MONTH
Generated constant - Attribute key ofTrigger.month
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
YEAR
public static final java.lang.String YEAR
Generated constant - Attribute key ofTrigger.year
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
RELATIVE
public static final java.lang.String RELATIVE
Generated constant - Attribute key ofTrigger.relative
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
DAYSOFWEEK
public static final java.lang.String DAYSOFWEEK
Generated constant - Attribute key ofTrigger.daysOfWeek
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
WEEKINTERVAL
public static final java.lang.String WEEKINTERVAL
Generated constant - Attribute key ofTrigger.weekInterval
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
DATERANGE
public static final java.lang.String DATERANGE
Generated constant - Attribute key ofTrigger.dateRange
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
ACTIVATIONTIME
public static final java.lang.String ACTIVATIONTIME
Generated constant - Attribute key ofTrigger.activationTime
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
TIMETABLE
public static final java.lang.String TIMETABLE
Generated constant - Attribute key ofTrigger.timeTable
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
CRONEXPRESSION
public static final java.lang.String CRONEXPRESSION
Generated constant - Attribute key ofTrigger.cronExpression
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
MAXACCEPTABLEDELAY
public static final java.lang.String MAXACCEPTABLEDELAY
Generated constant - Attribute key ofTrigger.maxAcceptableDelay
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
JOB
public static final java.lang.String JOB
Generated constant - Attribute key ofTrigger.job
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
CRONJOB
public static final java.lang.String CRONJOB
Generated constant - Attribute key ofTrigger.cronJob
attribute defined at extensionprocessing
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TriggerModel
public TriggerModel()
Generated constructor - Default constructor for generic creation.
-
TriggerModel
public TriggerModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
TriggerModel
@Deprecated(since="4.1.1", forRemoval=true) public TriggerModel(CronJobModel _cronJob, 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:
_cronJob
- initial attribute declared by typeTrigger
at extensionprocessing
_job
- initial attribute declared by typeTrigger
at extensionprocessing
_owner
- initial attribute declared by typeItem
at extensioncore
-
-
Method Detail
-
getActivationTime
@Accessor(qualifier="activationTime", type=GETTER) public java.util.Date getActivationTime()
Generated method - Getter of theTrigger.activationTime
attribute defined at extensionprocessing
.- Returns:
- the activationTime - next activation time
-
getActive
@Accessor(qualifier="active", type=GETTER) public java.lang.Boolean getActive()
Generated method - Getter of theTrigger.active
attribute defined at extensionprocessing
.- Returns:
- the active
-
getCronExpression
@Accessor(qualifier="cronExpression", type=GETTER) public java.lang.String getCronExpression()
Generated method - Getter of theTrigger.cronExpression
attribute defined at extensionprocessing
.- Returns:
- the cronExpression
-
getCronJob
@Accessor(qualifier="cronJob", type=GETTER) public CronJobModel getCronJob()
Generated method - Getter of theTrigger.cronJob
attribute defined at extensionprocessing
.- Returns:
- the cronJob - assigned cronjob
-
getDateRange
@Accessor(qualifier="dateRange", type=GETTER) public StandardDateRange getDateRange()
Generated method - Getter of theTrigger.dateRange
attribute defined at extensionprocessing
.- Returns:
- the dateRange - date range the trigger is active
-
getDay
@Accessor(qualifier="day", type=GETTER) public java.lang.Integer getDay()
Generated method - Getter of theTrigger.day
attribute defined at extensionprocessing
.- Returns:
- the day - time value day
-
getDaysOfWeek
@Accessor(qualifier="daysOfWeek", type=GETTER) public java.util.List<DayOfWeek> getDaysOfWeek()
Generated method - Getter of theTrigger.daysOfWeek
attribute defined at extensionprocessing
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the daysOfWeek - days of week the trigger is active
-
getHour
@Accessor(qualifier="hour", type=GETTER) public java.lang.Integer getHour()
Generated method - Getter of theTrigger.hour
attribute defined at extensionprocessing
.- Returns:
- the hour - time value hour
-
getJob
@Accessor(qualifier="job", type=GETTER) public JobModel getJob()
Generated method - Getter of theTrigger.job
attribute defined at extensionprocessing
.- Returns:
- the job - assigned job
-
getMaxAcceptableDelay
@Accessor(qualifier="maxAcceptableDelay", type=GETTER) public java.lang.Integer getMaxAcceptableDelay()
Generated method - Getter of theTrigger.maxAcceptableDelay
attribute defined at extensionprocessing
.- Returns:
- the maxAcceptableDelay - the maximum acceptable delay (s) in which the job can be triggered, after which it is ignored.
-
getMinute
@Accessor(qualifier="minute", type=GETTER) public java.lang.Integer getMinute()
Generated method - Getter of theTrigger.minute
attribute defined at extensionprocessing
.- Returns:
- the minute - time value minute
-
getMonth
@Accessor(qualifier="month", type=GETTER) public java.lang.Integer getMonth()
Generated method - Getter of theTrigger.month
attribute defined at extensionprocessing
.- Returns:
- the month - time value month
-
getRelative
@Accessor(qualifier="relative", type=GETTER) public java.lang.Boolean getRelative()
Generated method - Getter of theTrigger.relative
attribute defined at extensionprocessing
.- Returns:
- the relative - time values are considered as relative values
-
getSecond
@Accessor(qualifier="second", type=GETTER) public java.lang.Integer getSecond()
Generated method - Getter of theTrigger.second
attribute defined at extensionprocessing
.- Returns:
- the second - time value second
-
getTimeTable
@Accessor(qualifier="timeTable", type=GETTER) public java.lang.String getTimeTable()
Generated method - Getter of theTrigger.timeTable
dynamic attribute defined at extensionprocessing
.- Returns:
- the timeTable
-
getWeekInterval
@Accessor(qualifier="weekInterval", type=GETTER) public java.lang.Integer getWeekInterval()
Generated method - Getter of theTrigger.weekInterval
attribute defined at extensionprocessing
.- Returns:
- the weekInterval - week interval for days of week
-
getYear
@Accessor(qualifier="year", type=GETTER) public java.lang.Integer getYear()
Generated method - Getter of theTrigger.year
attribute defined at extensionprocessing
.- Returns:
- the year - time value year
-
setActivationTime
@Accessor(qualifier="activationTime", type=SETTER) public void setActivationTime(java.util.Date value)
Generated method - Setter ofTrigger.activationTime
attribute defined at extensionprocessing
.- Parameters:
value
- the activationTime - next activation time
-
setActive
@Accessor(qualifier="active", type=SETTER) public void setActive(java.lang.Boolean value)
Generated method - Setter ofTrigger.active
attribute defined at extensionprocessing
.- Parameters:
value
- the active
-
setCronExpression
@Accessor(qualifier="cronExpression", type=SETTER) public void setCronExpression(java.lang.String value)
Generated method - Setter ofTrigger.cronExpression
attribute defined at extensionprocessing
.- Parameters:
value
- the cronExpression
-
setCronJob
@Accessor(qualifier="cronJob", type=SETTER) public void setCronJob(CronJobModel value)
Generated method - Initial setter ofTrigger.cronJob
attribute defined at extensionprocessing
. Can only be used at creation of model - before first save.- Parameters:
value
- the cronJob - assigned cronjob
-
setDateRange
@Accessor(qualifier="dateRange", type=SETTER) public void setDateRange(StandardDateRange value)
Generated method - Setter ofTrigger.dateRange
attribute defined at extensionprocessing
.- Parameters:
value
- the dateRange - date range the trigger is active
-
setDay
@Accessor(qualifier="day", type=SETTER) public void setDay(java.lang.Integer value)
Generated method - Setter ofTrigger.day
attribute defined at extensionprocessing
.- Parameters:
value
- the day - time value day
-
setDaysOfWeek
@Accessor(qualifier="daysOfWeek", type=SETTER) public void setDaysOfWeek(java.util.List<DayOfWeek> value)
Generated method - Setter ofTrigger.daysOfWeek
attribute defined at extensionprocessing
.- Parameters:
value
- the daysOfWeek - days of week the trigger is active
-
setHour
@Accessor(qualifier="hour", type=SETTER) public void setHour(java.lang.Integer value)
Generated method - Setter ofTrigger.hour
attribute defined at extensionprocessing
.- Parameters:
value
- the hour - time value hour
-
setJob
@Accessor(qualifier="job", type=SETTER) public void setJob(JobModel value)
Generated method - Initial setter ofTrigger.job
attribute defined at extensionprocessing
. Can only be used at creation of model - before first save.- Parameters:
value
- the job - assigned job
-
setMaxAcceptableDelay
@Accessor(qualifier="maxAcceptableDelay", type=SETTER) public void setMaxAcceptableDelay(java.lang.Integer value)
Generated method - Setter ofTrigger.maxAcceptableDelay
attribute defined at extensionprocessing
.- Parameters:
value
- the maxAcceptableDelay - the maximum acceptable delay (s) in which the job can be triggered, after which it is ignored.
-
setMinute
@Accessor(qualifier="minute", type=SETTER) public void setMinute(java.lang.Integer value)
Generated method - Setter ofTrigger.minute
attribute defined at extensionprocessing
.- Parameters:
value
- the minute - time value minute
-
setMonth
@Accessor(qualifier="month", type=SETTER) public void setMonth(java.lang.Integer value)
Generated method - Setter ofTrigger.month
attribute defined at extensionprocessing
.- Parameters:
value
- the month - time value month
-
setRelative
@Accessor(qualifier="relative", type=SETTER) public void setRelative(java.lang.Boolean value)
Generated method - Setter ofTrigger.relative
attribute defined at extensionprocessing
.- Parameters:
value
- the relative - time values are considered as relative values
-
setSecond
@Accessor(qualifier="second", type=SETTER) public void setSecond(java.lang.Integer value)
Generated method - Setter ofTrigger.second
attribute defined at extensionprocessing
.- Parameters:
value
- the second - time value second
-
setWeekInterval
@Accessor(qualifier="weekInterval", type=SETTER) public void setWeekInterval(java.lang.Integer value)
Generated method - Setter ofTrigger.weekInterval
attribute defined at extensionprocessing
.- Parameters:
value
- the weekInterval - week interval for days of week
-
-