Package de.hybris.platform.cronjob.jalo
Class GeneratedTrigger
- java.lang.Object
-
- de.hybris.platform.util.BridgeAbstraction
-
- de.hybris.platform.jalo.Item
-
- de.hybris.platform.jalo.ExtensibleItem
-
- de.hybris.platform.jalo.c2l.LocalizableItem
-
- de.hybris.platform.jalo.GenericItem
-
- de.hybris.platform.cronjob.jalo.GeneratedTrigger
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
- Direct Known Subclasses:
Trigger
public abstract class GeneratedTrigger extends GenericItem
Generated class for typeTrigger
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTIVATIONTIME
Qualifier of theTrigger.activationTime
attributestatic java.lang.String
ACTIVE
Qualifier of theTrigger.active
attributestatic java.lang.String
CRONEXPRESSION
Qualifier of theTrigger.cronExpression
attributestatic java.lang.String
CRONJOB
Qualifier of theTrigger.cronJob
attributeprotected static BidirectionalOneToManyHandler<GeneratedTrigger>
CRONJOBHANDLER
BidirectionalOneToManyHandler
for handling 1:n CRONJOB's relation attributes from 'one' side.static java.lang.String
DATERANGE
Qualifier of theTrigger.dateRange
attributestatic java.lang.String
DAY
Qualifier of theTrigger.day
attributestatic java.lang.String
DAYSOFWEEK
Qualifier of theTrigger.daysOfWeek
attributeprotected static java.util.Map<java.lang.String,Item.AttributeMode>
DEFAULT_INITIAL_ATTRIBUTES
static java.lang.String
HOUR
Qualifier of theTrigger.hour
attributestatic java.lang.String
JOB
Qualifier of theTrigger.job
attributeprotected static BidirectionalOneToManyHandler<GeneratedTrigger>
JOBHANDLER
BidirectionalOneToManyHandler
for handling 1:n JOB's relation attributes from 'one' side.static java.lang.String
MAXACCEPTABLEDELAY
Qualifier of theTrigger.maxAcceptableDelay
attributestatic java.lang.String
MINUTE
Qualifier of theTrigger.minute
attributestatic java.lang.String
MONTH
Qualifier of theTrigger.month
attributestatic java.lang.String
RELATIVE
Qualifier of theTrigger.relative
attributestatic java.lang.String
SECOND
Qualifier of theTrigger.second
attributestatic java.lang.String
WEEKINTERVAL
Qualifier of theTrigger.weekInterval
attributestatic java.lang.String
YEAR
Qualifier of theTrigger.year
attribute-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPE
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description GeneratedTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Item
createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.java.util.Date
getActivationTime()
Generated method - Getter of theTrigger.activationTime
attribute.java.util.Date
getActivationTime(SessionContext ctx)
Generated method - Getter of theTrigger.activationTime
attribute.java.lang.String
getCronExpression()
Generated method - Getter of theTrigger.cronExpression
attribute.java.lang.String
getCronExpression(SessionContext ctx)
Generated method - Getter of theTrigger.cronExpression
attribute.CronJob
getCronJob()
Generated method - Getter of theTrigger.cronJob
attribute.CronJob
getCronJob(SessionContext ctx)
Generated method - Getter of theTrigger.cronJob
attribute.StandardDateRange
getDateRange()
Generated method - Getter of theTrigger.dateRange
attribute.StandardDateRange
getDateRange(SessionContext ctx)
Generated method - Getter of theTrigger.dateRange
attribute.java.lang.Integer
getDay()
Generated method - Getter of theTrigger.day
attribute.java.lang.Integer
getDay(SessionContext ctx)
Generated method - Getter of theTrigger.day
attribute.int
getDayAsPrimitive()
Generated method - Getter of theTrigger.day
attribute.int
getDayAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.day
attribute.java.util.List<EnumerationValue>
getDaysOfWeek()
Generated method - Getter of theTrigger.daysOfWeek
attribute.java.util.List<EnumerationValue>
getDaysOfWeek(SessionContext ctx)
Generated method - Getter of theTrigger.daysOfWeek
attribute.protected java.util.Map<java.lang.String,Item.AttributeMode>
getDefaultAttributeModes()
java.lang.Integer
getHour()
Generated method - Getter of theTrigger.hour
attribute.java.lang.Integer
getHour(SessionContext ctx)
Generated method - Getter of theTrigger.hour
attribute.int
getHourAsPrimitive()
Generated method - Getter of theTrigger.hour
attribute.int
getHourAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.hour
attribute.Job
getJob()
Generated method - Getter of theTrigger.job
attribute.Job
getJob(SessionContext ctx)
Generated method - Getter of theTrigger.job
attribute.java.lang.Integer
getMaxAcceptableDelay()
Generated method - Getter of theTrigger.maxAcceptableDelay
attribute.java.lang.Integer
getMaxAcceptableDelay(SessionContext ctx)
Generated method - Getter of theTrigger.maxAcceptableDelay
attribute.int
getMaxAcceptableDelayAsPrimitive()
Generated method - Getter of theTrigger.maxAcceptableDelay
attribute.int
getMaxAcceptableDelayAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.maxAcceptableDelay
attribute.java.lang.Integer
getMinute()
Generated method - Getter of theTrigger.minute
attribute.java.lang.Integer
getMinute(SessionContext ctx)
Generated method - Getter of theTrigger.minute
attribute.int
getMinuteAsPrimitive()
Generated method - Getter of theTrigger.minute
attribute.int
getMinuteAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.minute
attribute.java.lang.Integer
getMonth()
Generated method - Getter of theTrigger.month
attribute.java.lang.Integer
getMonth(SessionContext ctx)
Generated method - Getter of theTrigger.month
attribute.int
getMonthAsPrimitive()
Generated method - Getter of theTrigger.month
attribute.int
getMonthAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.month
attribute.java.lang.Integer
getSecond()
Generated method - Getter of theTrigger.second
attribute.java.lang.Integer
getSecond(SessionContext ctx)
Generated method - Getter of theTrigger.second
attribute.int
getSecondAsPrimitive()
Generated method - Getter of theTrigger.second
attribute.int
getSecondAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.second
attribute.java.lang.Integer
getWeekInterval()
Generated method - Getter of theTrigger.weekInterval
attribute.java.lang.Integer
getWeekInterval(SessionContext ctx)
Generated method - Getter of theTrigger.weekInterval
attribute.int
getWeekIntervalAsPrimitive()
Generated method - Getter of theTrigger.weekInterval
attribute.int
getWeekIntervalAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.weekInterval
attribute.java.lang.Integer
getYear()
Generated method - Getter of theTrigger.year
attribute.java.lang.Integer
getYear(SessionContext ctx)
Generated method - Getter of theTrigger.year
attribute.int
getYearAsPrimitive()
Generated method - Getter of theTrigger.year
attribute.int
getYearAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.year
attribute.java.lang.Boolean
isActive()
Generated method - Getter of theTrigger.active
attribute.java.lang.Boolean
isActive(SessionContext ctx)
Generated method - Getter of theTrigger.active
attribute.boolean
isActiveAsPrimitive()
Generated method - Getter of theTrigger.active
attribute.boolean
isActiveAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.active
attribute.java.lang.Boolean
isRelative()
Generated method - Getter of theTrigger.relative
attribute.java.lang.Boolean
isRelative(SessionContext ctx)
Generated method - Getter of theTrigger.relative
attribute.boolean
isRelativeAsPrimitive()
Generated method - Getter of theTrigger.relative
attribute.boolean
isRelativeAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.relative
attribute.void
setActivationTime(SessionContext ctx, java.util.Date value)
Generated method - Setter of theTrigger.activationTime
attribute.void
setActivationTime(java.util.Date value)
Generated method - Setter of theTrigger.activationTime
attribute.void
setActive(boolean value)
Generated method - Setter of theTrigger.active
attribute.void
setActive(SessionContext ctx, boolean value)
Generated method - Setter of theTrigger.active
attribute.void
setActive(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theTrigger.active
attribute.void
setActive(java.lang.Boolean value)
Generated method - Setter of theTrigger.active
attribute.void
setCronExpression(SessionContext ctx, java.lang.String value)
Generated method - Setter of theTrigger.cronExpression
attribute.void
setCronExpression(java.lang.String value)
Generated method - Setter of theTrigger.cronExpression
attribute.protected void
setCronJob(CronJob value)
Generated method - Setter of theTrigger.cronJob
attribute.protected void
setCronJob(SessionContext ctx, CronJob value)
Generated method - Setter of theTrigger.cronJob
attribute.void
setDateRange(SessionContext ctx, StandardDateRange value)
Generated method - Setter of theTrigger.dateRange
attribute.void
setDateRange(StandardDateRange value)
Generated method - Setter of theTrigger.dateRange
attribute.void
setDay(int value)
Generated method - Setter of theTrigger.day
attribute.void
setDay(SessionContext ctx, int value)
Generated method - Setter of theTrigger.day
attribute.void
setDay(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.day
attribute.void
setDay(java.lang.Integer value)
Generated method - Setter of theTrigger.day
attribute.void
setDaysOfWeek(SessionContext ctx, java.util.List<EnumerationValue> value)
Generated method - Setter of theTrigger.daysOfWeek
attribute.void
setDaysOfWeek(java.util.List<EnumerationValue> value)
Generated method - Setter of theTrigger.daysOfWeek
attribute.void
setHour(int value)
Generated method - Setter of theTrigger.hour
attribute.void
setHour(SessionContext ctx, int value)
Generated method - Setter of theTrigger.hour
attribute.void
setHour(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.hour
attribute.void
setHour(java.lang.Integer value)
Generated method - Setter of theTrigger.hour
attribute.protected void
setJob(Job value)
Generated method - Setter of theTrigger.job
attribute.protected void
setJob(SessionContext ctx, Job value)
Generated method - Setter of theTrigger.job
attribute.void
setMaxAcceptableDelay(int value)
Generated method - Setter of theTrigger.maxAcceptableDelay
attribute.void
setMaxAcceptableDelay(SessionContext ctx, int value)
Generated method - Setter of theTrigger.maxAcceptableDelay
attribute.void
setMaxAcceptableDelay(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.maxAcceptableDelay
attribute.void
setMaxAcceptableDelay(java.lang.Integer value)
Generated method - Setter of theTrigger.maxAcceptableDelay
attribute.void
setMinute(int value)
Generated method - Setter of theTrigger.minute
attribute.void
setMinute(SessionContext ctx, int value)
Generated method - Setter of theTrigger.minute
attribute.void
setMinute(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.minute
attribute.void
setMinute(java.lang.Integer value)
Generated method - Setter of theTrigger.minute
attribute.void
setMonth(int value)
Generated method - Setter of theTrigger.month
attribute.void
setMonth(SessionContext ctx, int value)
Generated method - Setter of theTrigger.month
attribute.void
setMonth(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.month
attribute.void
setMonth(java.lang.Integer value)
Generated method - Setter of theTrigger.month
attribute.void
setRelative(boolean value)
Generated method - Setter of theTrigger.relative
attribute.void
setRelative(SessionContext ctx, boolean value)
Generated method - Setter of theTrigger.relative
attribute.void
setRelative(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theTrigger.relative
attribute.void
setRelative(java.lang.Boolean value)
Generated method - Setter of theTrigger.relative
attribute.void
setSecond(int value)
Generated method - Setter of theTrigger.second
attribute.void
setSecond(SessionContext ctx, int value)
Generated method - Setter of theTrigger.second
attribute.void
setSecond(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.second
attribute.void
setSecond(java.lang.Integer value)
Generated method - Setter of theTrigger.second
attribute.void
setWeekInterval(int value)
Generated method - Setter of theTrigger.weekInterval
attribute.void
setWeekInterval(SessionContext ctx, int value)
Generated method - Setter of theTrigger.weekInterval
attribute.void
setWeekInterval(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.weekInterval
attribute.void
setWeekInterval(java.lang.Integer value)
Generated method - Setter of theTrigger.weekInterval
attribute.void
setYear(int value)
Generated method - Setter of theTrigger.year
attribute.void
setYear(SessionContext ctx, int value)
Generated method - Setter of theTrigger.year
attribute.void
setYear(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.year
attribute.void
setYear(java.lang.Integer value)
Generated method - Setter of theTrigger.year
attribute.-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, setRelatedItems
-
Methods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isMarkModifiedDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
ACTIVE
public static final java.lang.String ACTIVE
Qualifier of theTrigger.active
attribute- See Also:
- Constant Field Values
-
SECOND
public static final java.lang.String SECOND
Qualifier of theTrigger.second
attribute- See Also:
- Constant Field Values
-
MINUTE
public static final java.lang.String MINUTE
Qualifier of theTrigger.minute
attribute- See Also:
- Constant Field Values
-
HOUR
public static final java.lang.String HOUR
Qualifier of theTrigger.hour
attribute- See Also:
- Constant Field Values
-
DAY
public static final java.lang.String DAY
Qualifier of theTrigger.day
attribute- See Also:
- Constant Field Values
-
MONTH
public static final java.lang.String MONTH
Qualifier of theTrigger.month
attribute- See Also:
- Constant Field Values
-
YEAR
public static final java.lang.String YEAR
Qualifier of theTrigger.year
attribute- See Also:
- Constant Field Values
-
RELATIVE
public static final java.lang.String RELATIVE
Qualifier of theTrigger.relative
attribute- See Also:
- Constant Field Values
-
DAYSOFWEEK
public static final java.lang.String DAYSOFWEEK
Qualifier of theTrigger.daysOfWeek
attribute- See Also:
- Constant Field Values
-
WEEKINTERVAL
public static final java.lang.String WEEKINTERVAL
Qualifier of theTrigger.weekInterval
attribute- See Also:
- Constant Field Values
-
DATERANGE
public static final java.lang.String DATERANGE
Qualifier of theTrigger.dateRange
attribute- See Also:
- Constant Field Values
-
ACTIVATIONTIME
public static final java.lang.String ACTIVATIONTIME
Qualifier of theTrigger.activationTime
attribute- See Also:
- Constant Field Values
-
CRONEXPRESSION
public static final java.lang.String CRONEXPRESSION
Qualifier of theTrigger.cronExpression
attribute- See Also:
- Constant Field Values
-
MAXACCEPTABLEDELAY
public static final java.lang.String MAXACCEPTABLEDELAY
Qualifier of theTrigger.maxAcceptableDelay
attribute- See Also:
- Constant Field Values
-
JOB
public static final java.lang.String JOB
Qualifier of theTrigger.job
attribute- See Also:
- Constant Field Values
-
CRONJOB
public static final java.lang.String CRONJOB
Qualifier of theTrigger.cronJob
attribute- See Also:
- Constant Field Values
-
JOBHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedTrigger> JOBHANDLER
BidirectionalOneToManyHandler
for handling 1:n JOB's relation attributes from 'one' side.
-
CRONJOBHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedTrigger> CRONJOBHANDLER
BidirectionalOneToManyHandler
for handling 1:n CRONJOB's relation attributes from 'one' side.
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
- Overrides:
getDefaultAttributeModes
in classItem
-
getActivationTime
public java.util.Date getActivationTime(SessionContext ctx)
Generated method - Getter of theTrigger.activationTime
attribute.- Returns:
- the activationTime - next activation time
-
getActivationTime
public java.util.Date getActivationTime()
Generated method - Getter of theTrigger.activationTime
attribute.- Returns:
- the activationTime - next activation time
-
setActivationTime
public void setActivationTime(SessionContext ctx, java.util.Date value)
Generated method - Setter of theTrigger.activationTime
attribute.- Parameters:
value
- the activationTime - next activation time
-
setActivationTime
public void setActivationTime(java.util.Date value)
Generated method - Setter of theTrigger.activationTime
attribute.- Parameters:
value
- the activationTime - next activation time
-
isActive
public java.lang.Boolean isActive(SessionContext ctx)
Generated method - Getter of theTrigger.active
attribute.- Returns:
- the active
-
isActive
public java.lang.Boolean isActive()
Generated method - Getter of theTrigger.active
attribute.- Returns:
- the active
-
isActiveAsPrimitive
public boolean isActiveAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.active
attribute.- Returns:
- the active
-
isActiveAsPrimitive
public boolean isActiveAsPrimitive()
Generated method - Getter of theTrigger.active
attribute.- Returns:
- the active
-
setActive
public void setActive(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theTrigger.active
attribute.- Parameters:
value
- the active
-
setActive
public void setActive(java.lang.Boolean value)
Generated method - Setter of theTrigger.active
attribute.- Parameters:
value
- the active
-
setActive
public void setActive(SessionContext ctx, boolean value)
Generated method - Setter of theTrigger.active
attribute.- Parameters:
value
- the active
-
setActive
public void setActive(boolean value)
Generated method - Setter of theTrigger.active
attribute.- Parameters:
value
- the active
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
Description copied from class:Item
Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) duringComposedType.newInstance(Map)
.In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap)
too.
Sn example:public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) ); // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes( SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret = super.getNonInitialAttributes( ctx, allAttributes ); // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
- Overrides:
createItem
in classGenericItem
- Parameters:
ctx
- the current session context which this item is created withintype
- the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )- Returns:
- the new item instance
- Throws:
JaloBusinessException
- indicates an error during creation - any changes will be rollbacked
-
getCronExpression
public java.lang.String getCronExpression(SessionContext ctx)
Generated method - Getter of theTrigger.cronExpression
attribute.- Returns:
- the cronExpression
-
getCronExpression
public java.lang.String getCronExpression()
Generated method - Getter of theTrigger.cronExpression
attribute.- Returns:
- the cronExpression
-
setCronExpression
public void setCronExpression(SessionContext ctx, java.lang.String value)
Generated method - Setter of theTrigger.cronExpression
attribute.- Parameters:
value
- the cronExpression
-
setCronExpression
public void setCronExpression(java.lang.String value)
Generated method - Setter of theTrigger.cronExpression
attribute.- Parameters:
value
- the cronExpression
-
getCronJob
public CronJob getCronJob(SessionContext ctx)
Generated method - Getter of theTrigger.cronJob
attribute.- Returns:
- the cronJob - assigned cronjob
-
getCronJob
public CronJob getCronJob()
Generated method - Getter of theTrigger.cronJob
attribute.- Returns:
- the cronJob - assigned cronjob
-
setCronJob
protected void setCronJob(SessionContext ctx, CronJob value)
Generated method - Setter of theTrigger.cronJob
attribute.- Parameters:
value
- the cronJob - assigned cronjob
-
setCronJob
protected void setCronJob(CronJob value)
Generated method - Setter of theTrigger.cronJob
attribute.- Parameters:
value
- the cronJob - assigned cronjob
-
getDateRange
public StandardDateRange getDateRange(SessionContext ctx)
Generated method - Getter of theTrigger.dateRange
attribute.- Returns:
- the dateRange - date range the trigger is active
-
getDateRange
public StandardDateRange getDateRange()
Generated method - Getter of theTrigger.dateRange
attribute.- Returns:
- the dateRange - date range the trigger is active
-
setDateRange
public void setDateRange(SessionContext ctx, StandardDateRange value)
Generated method - Setter of theTrigger.dateRange
attribute.- Parameters:
value
- the dateRange - date range the trigger is active
-
setDateRange
public void setDateRange(StandardDateRange value)
Generated method - Setter of theTrigger.dateRange
attribute.- Parameters:
value
- the dateRange - date range the trigger is active
-
getDay
public java.lang.Integer getDay(SessionContext ctx)
Generated method - Getter of theTrigger.day
attribute.- Returns:
- the day - time value day
-
getDay
public java.lang.Integer getDay()
Generated method - Getter of theTrigger.day
attribute.- Returns:
- the day - time value day
-
getDayAsPrimitive
public int getDayAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.day
attribute.- Returns:
- the day - time value day
-
getDayAsPrimitive
public int getDayAsPrimitive()
Generated method - Getter of theTrigger.day
attribute.- Returns:
- the day - time value day
-
setDay
public void setDay(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.day
attribute.- Parameters:
value
- the day - time value day
-
setDay
public void setDay(java.lang.Integer value)
Generated method - Setter of theTrigger.day
attribute.- Parameters:
value
- the day - time value day
-
setDay
public void setDay(SessionContext ctx, int value)
Generated method - Setter of theTrigger.day
attribute.- Parameters:
value
- the day - time value day
-
setDay
public void setDay(int value)
Generated method - Setter of theTrigger.day
attribute.- Parameters:
value
- the day - time value day
-
getDaysOfWeek
public java.util.List<EnumerationValue> getDaysOfWeek(SessionContext ctx)
Generated method - Getter of theTrigger.daysOfWeek
attribute.- Returns:
- the daysOfWeek - days of week the trigger is active
-
getDaysOfWeek
public java.util.List<EnumerationValue> getDaysOfWeek()
Generated method - Getter of theTrigger.daysOfWeek
attribute.- Returns:
- the daysOfWeek - days of week the trigger is active
-
setDaysOfWeek
public void setDaysOfWeek(SessionContext ctx, java.util.List<EnumerationValue> value)
Generated method - Setter of theTrigger.daysOfWeek
attribute.- Parameters:
value
- the daysOfWeek - days of week the trigger is active
-
setDaysOfWeek
public void setDaysOfWeek(java.util.List<EnumerationValue> value)
Generated method - Setter of theTrigger.daysOfWeek
attribute.- Parameters:
value
- the daysOfWeek - days of week the trigger is active
-
getHour
public java.lang.Integer getHour(SessionContext ctx)
Generated method - Getter of theTrigger.hour
attribute.- Returns:
- the hour - time value hour
-
getHour
public java.lang.Integer getHour()
Generated method - Getter of theTrigger.hour
attribute.- Returns:
- the hour - time value hour
-
getHourAsPrimitive
public int getHourAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.hour
attribute.- Returns:
- the hour - time value hour
-
getHourAsPrimitive
public int getHourAsPrimitive()
Generated method - Getter of theTrigger.hour
attribute.- Returns:
- the hour - time value hour
-
setHour
public void setHour(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.hour
attribute.- Parameters:
value
- the hour - time value hour
-
setHour
public void setHour(java.lang.Integer value)
Generated method - Setter of theTrigger.hour
attribute.- Parameters:
value
- the hour - time value hour
-
setHour
public void setHour(SessionContext ctx, int value)
Generated method - Setter of theTrigger.hour
attribute.- Parameters:
value
- the hour - time value hour
-
setHour
public void setHour(int value)
Generated method - Setter of theTrigger.hour
attribute.- Parameters:
value
- the hour - time value hour
-
getJob
public Job getJob(SessionContext ctx)
Generated method - Getter of theTrigger.job
attribute.- Returns:
- the job - assigned job
-
getJob
public Job getJob()
Generated method - Getter of theTrigger.job
attribute.- Returns:
- the job - assigned job
-
setJob
protected void setJob(SessionContext ctx, Job value)
Generated method - Setter of theTrigger.job
attribute.- Parameters:
value
- the job - assigned job
-
setJob
protected void setJob(Job value)
Generated method - Setter of theTrigger.job
attribute.- Parameters:
value
- the job - assigned job
-
getMaxAcceptableDelay
public java.lang.Integer getMaxAcceptableDelay(SessionContext ctx)
Generated method - Getter of theTrigger.maxAcceptableDelay
attribute.- Returns:
- the maxAcceptableDelay - the maximum acceptable delay (s) in which the job can be triggered, after which it is ignored.
-
getMaxAcceptableDelay
public java.lang.Integer getMaxAcceptableDelay()
Generated method - Getter of theTrigger.maxAcceptableDelay
attribute.- Returns:
- the maxAcceptableDelay - the maximum acceptable delay (s) in which the job can be triggered, after which it is ignored.
-
getMaxAcceptableDelayAsPrimitive
public int getMaxAcceptableDelayAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.maxAcceptableDelay
attribute.- Returns:
- the maxAcceptableDelay - the maximum acceptable delay (s) in which the job can be triggered, after which it is ignored.
-
getMaxAcceptableDelayAsPrimitive
public int getMaxAcceptableDelayAsPrimitive()
Generated method - Getter of theTrigger.maxAcceptableDelay
attribute.- Returns:
- the maxAcceptableDelay - the maximum acceptable delay (s) in which the job can be triggered, after which it is ignored.
-
setMaxAcceptableDelay
public void setMaxAcceptableDelay(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.maxAcceptableDelay
attribute.- Parameters:
value
- the maxAcceptableDelay - the maximum acceptable delay (s) in which the job can be triggered, after which it is ignored.
-
setMaxAcceptableDelay
public void setMaxAcceptableDelay(java.lang.Integer value)
Generated method - Setter of theTrigger.maxAcceptableDelay
attribute.- Parameters:
value
- the maxAcceptableDelay - the maximum acceptable delay (s) in which the job can be triggered, after which it is ignored.
-
setMaxAcceptableDelay
public void setMaxAcceptableDelay(SessionContext ctx, int value)
Generated method - Setter of theTrigger.maxAcceptableDelay
attribute.- Parameters:
value
- the maxAcceptableDelay - the maximum acceptable delay (s) in which the job can be triggered, after which it is ignored.
-
setMaxAcceptableDelay
public void setMaxAcceptableDelay(int value)
Generated method - Setter of theTrigger.maxAcceptableDelay
attribute.- Parameters:
value
- the maxAcceptableDelay - the maximum acceptable delay (s) in which the job can be triggered, after which it is ignored.
-
getMinute
public java.lang.Integer getMinute(SessionContext ctx)
Generated method - Getter of theTrigger.minute
attribute.- Returns:
- the minute - time value minute
-
getMinute
public java.lang.Integer getMinute()
Generated method - Getter of theTrigger.minute
attribute.- Returns:
- the minute - time value minute
-
getMinuteAsPrimitive
public int getMinuteAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.minute
attribute.- Returns:
- the minute - time value minute
-
getMinuteAsPrimitive
public int getMinuteAsPrimitive()
Generated method - Getter of theTrigger.minute
attribute.- Returns:
- the minute - time value minute
-
setMinute
public void setMinute(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.minute
attribute.- Parameters:
value
- the minute - time value minute
-
setMinute
public void setMinute(java.lang.Integer value)
Generated method - Setter of theTrigger.minute
attribute.- Parameters:
value
- the minute - time value minute
-
setMinute
public void setMinute(SessionContext ctx, int value)
Generated method - Setter of theTrigger.minute
attribute.- Parameters:
value
- the minute - time value minute
-
setMinute
public void setMinute(int value)
Generated method - Setter of theTrigger.minute
attribute.- Parameters:
value
- the minute - time value minute
-
getMonth
public java.lang.Integer getMonth(SessionContext ctx)
Generated method - Getter of theTrigger.month
attribute.- Returns:
- the month - time value month
-
getMonth
public java.lang.Integer getMonth()
Generated method - Getter of theTrigger.month
attribute.- Returns:
- the month - time value month
-
getMonthAsPrimitive
public int getMonthAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.month
attribute.- Returns:
- the month - time value month
-
getMonthAsPrimitive
public int getMonthAsPrimitive()
Generated method - Getter of theTrigger.month
attribute.- Returns:
- the month - time value month
-
setMonth
public void setMonth(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.month
attribute.- Parameters:
value
- the month - time value month
-
setMonth
public void setMonth(java.lang.Integer value)
Generated method - Setter of theTrigger.month
attribute.- Parameters:
value
- the month - time value month
-
setMonth
public void setMonth(SessionContext ctx, int value)
Generated method - Setter of theTrigger.month
attribute.- Parameters:
value
- the month - time value month
-
setMonth
public void setMonth(int value)
Generated method - Setter of theTrigger.month
attribute.- Parameters:
value
- the month - time value month
-
isRelative
public java.lang.Boolean isRelative(SessionContext ctx)
Generated method - Getter of theTrigger.relative
attribute.- Returns:
- the relative - time values are considered as relative values
-
isRelative
public java.lang.Boolean isRelative()
Generated method - Getter of theTrigger.relative
attribute.- Returns:
- the relative - time values are considered as relative values
-
isRelativeAsPrimitive
public boolean isRelativeAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.relative
attribute.- Returns:
- the relative - time values are considered as relative values
-
isRelativeAsPrimitive
public boolean isRelativeAsPrimitive()
Generated method - Getter of theTrigger.relative
attribute.- Returns:
- the relative - time values are considered as relative values
-
setRelative
public void setRelative(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theTrigger.relative
attribute.- Parameters:
value
- the relative - time values are considered as relative values
-
setRelative
public void setRelative(java.lang.Boolean value)
Generated method - Setter of theTrigger.relative
attribute.- Parameters:
value
- the relative - time values are considered as relative values
-
setRelative
public void setRelative(SessionContext ctx, boolean value)
Generated method - Setter of theTrigger.relative
attribute.- Parameters:
value
- the relative - time values are considered as relative values
-
setRelative
public void setRelative(boolean value)
Generated method - Setter of theTrigger.relative
attribute.- Parameters:
value
- the relative - time values are considered as relative values
-
getSecond
public java.lang.Integer getSecond(SessionContext ctx)
Generated method - Getter of theTrigger.second
attribute.- Returns:
- the second - time value second
-
getSecond
public java.lang.Integer getSecond()
Generated method - Getter of theTrigger.second
attribute.- Returns:
- the second - time value second
-
getSecondAsPrimitive
public int getSecondAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.second
attribute.- Returns:
- the second - time value second
-
getSecondAsPrimitive
public int getSecondAsPrimitive()
Generated method - Getter of theTrigger.second
attribute.- Returns:
- the second - time value second
-
setSecond
public void setSecond(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.second
attribute.- Parameters:
value
- the second - time value second
-
setSecond
public void setSecond(java.lang.Integer value)
Generated method - Setter of theTrigger.second
attribute.- Parameters:
value
- the second - time value second
-
setSecond
public void setSecond(SessionContext ctx, int value)
Generated method - Setter of theTrigger.second
attribute.- Parameters:
value
- the second - time value second
-
setSecond
public void setSecond(int value)
Generated method - Setter of theTrigger.second
attribute.- Parameters:
value
- the second - time value second
-
getWeekInterval
public java.lang.Integer getWeekInterval(SessionContext ctx)
Generated method - Getter of theTrigger.weekInterval
attribute.- Returns:
- the weekInterval - week interval for days of week
-
getWeekInterval
public java.lang.Integer getWeekInterval()
Generated method - Getter of theTrigger.weekInterval
attribute.- Returns:
- the weekInterval - week interval for days of week
-
getWeekIntervalAsPrimitive
public int getWeekIntervalAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.weekInterval
attribute.- Returns:
- the weekInterval - week interval for days of week
-
getWeekIntervalAsPrimitive
public int getWeekIntervalAsPrimitive()
Generated method - Getter of theTrigger.weekInterval
attribute.- Returns:
- the weekInterval - week interval for days of week
-
setWeekInterval
public void setWeekInterval(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.weekInterval
attribute.- Parameters:
value
- the weekInterval - week interval for days of week
-
setWeekInterval
public void setWeekInterval(java.lang.Integer value)
Generated method - Setter of theTrigger.weekInterval
attribute.- Parameters:
value
- the weekInterval - week interval for days of week
-
setWeekInterval
public void setWeekInterval(SessionContext ctx, int value)
Generated method - Setter of theTrigger.weekInterval
attribute.- Parameters:
value
- the weekInterval - week interval for days of week
-
setWeekInterval
public void setWeekInterval(int value)
Generated method - Setter of theTrigger.weekInterval
attribute.- Parameters:
value
- the weekInterval - week interval for days of week
-
getYear
public java.lang.Integer getYear(SessionContext ctx)
Generated method - Getter of theTrigger.year
attribute.- Returns:
- the year - time value year
-
getYear
public java.lang.Integer getYear()
Generated method - Getter of theTrigger.year
attribute.- Returns:
- the year - time value year
-
getYearAsPrimitive
public int getYearAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.year
attribute.- Returns:
- the year - time value year
-
getYearAsPrimitive
public int getYearAsPrimitive()
Generated method - Getter of theTrigger.year
attribute.- Returns:
- the year - time value year
-
setYear
public void setYear(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.year
attribute.- Parameters:
value
- the year - time value year
-
setYear
public void setYear(java.lang.Integer value)
Generated method - Setter of theTrigger.year
attribute.- Parameters:
value
- the year - time value year
-
setYear
public void setYear(SessionContext ctx, int value)
Generated method - Setter of theTrigger.year
attribute.- Parameters:
value
- the year - time value year
-
setYear
public void setYear(int value)
Generated method - Setter of theTrigger.year
attribute.- Parameters:
value
- the year - time value year
-
-