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.StringACTIVATIONTIMEQualifier of theTrigger.activationTimeattributestatic java.lang.StringACTIVEQualifier of theTrigger.activeattributestatic java.lang.StringCRONEXPRESSIONQualifier of theTrigger.cronExpressionattributestatic java.lang.StringCRONJOBQualifier of theTrigger.cronJobattributeprotected static BidirectionalOneToManyHandler<GeneratedTrigger>CRONJOBHANDLERBidirectionalOneToManyHandlerfor handling 1:n CRONJOB's relation attributes from 'one' side.static java.lang.StringDATERANGEQualifier of theTrigger.dateRangeattributestatic java.lang.StringDAYQualifier of theTrigger.dayattributestatic java.lang.StringDAYSOFWEEKQualifier of theTrigger.daysOfWeekattributeprotected static java.util.Map<java.lang.String,Item.AttributeMode>DEFAULT_INITIAL_ATTRIBUTESstatic java.lang.StringHOURQualifier of theTrigger.hourattributestatic java.lang.StringJOBQualifier of theTrigger.jobattributeprotected static BidirectionalOneToManyHandler<GeneratedTrigger>JOBHANDLERBidirectionalOneToManyHandlerfor handling 1:n JOB's relation attributes from 'one' side.static java.lang.StringMAXACCEPTABLEDELAYQualifier of theTrigger.maxAcceptableDelayattributestatic java.lang.StringMINUTEQualifier of theTrigger.minuteattributestatic java.lang.StringMONTHQualifier of theTrigger.monthattributestatic java.lang.StringRELATIVEQualifier of theTrigger.relativeattributestatic java.lang.StringSECONDQualifier of theTrigger.secondattributestatic java.lang.StringWEEKINTERVALQualifier of theTrigger.weekIntervalattributestatic java.lang.StringYEARQualifier of theTrigger.yearattribute-
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 ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)Has to be implemented for each concrete subtype of item.java.util.DategetActivationTime()Generated method - Getter of theTrigger.activationTimeattribute.java.util.DategetActivationTime(SessionContext ctx)Generated method - Getter of theTrigger.activationTimeattribute.java.lang.StringgetCronExpression()Generated method - Getter of theTrigger.cronExpressionattribute.java.lang.StringgetCronExpression(SessionContext ctx)Generated method - Getter of theTrigger.cronExpressionattribute.CronJobgetCronJob()Generated method - Getter of theTrigger.cronJobattribute.CronJobgetCronJob(SessionContext ctx)Generated method - Getter of theTrigger.cronJobattribute.StandardDateRangegetDateRange()Generated method - Getter of theTrigger.dateRangeattribute.StandardDateRangegetDateRange(SessionContext ctx)Generated method - Getter of theTrigger.dateRangeattribute.java.lang.IntegergetDay()Generated method - Getter of theTrigger.dayattribute.java.lang.IntegergetDay(SessionContext ctx)Generated method - Getter of theTrigger.dayattribute.intgetDayAsPrimitive()Generated method - Getter of theTrigger.dayattribute.intgetDayAsPrimitive(SessionContext ctx)Generated method - Getter of theTrigger.dayattribute.java.util.List<EnumerationValue>getDaysOfWeek()Generated method - Getter of theTrigger.daysOfWeekattribute.java.util.List<EnumerationValue>getDaysOfWeek(SessionContext ctx)Generated method - Getter of theTrigger.daysOfWeekattribute.protected java.util.Map<java.lang.String,Item.AttributeMode>getDefaultAttributeModes()java.lang.IntegergetHour()Generated method - Getter of theTrigger.hourattribute.java.lang.IntegergetHour(SessionContext ctx)Generated method - Getter of theTrigger.hourattribute.intgetHourAsPrimitive()Generated method - Getter of theTrigger.hourattribute.intgetHourAsPrimitive(SessionContext ctx)Generated method - Getter of theTrigger.hourattribute.JobgetJob()Generated method - Getter of theTrigger.jobattribute.JobgetJob(SessionContext ctx)Generated method - Getter of theTrigger.jobattribute.java.lang.IntegergetMaxAcceptableDelay()Generated method - Getter of theTrigger.maxAcceptableDelayattribute.java.lang.IntegergetMaxAcceptableDelay(SessionContext ctx)Generated method - Getter of theTrigger.maxAcceptableDelayattribute.intgetMaxAcceptableDelayAsPrimitive()Generated method - Getter of theTrigger.maxAcceptableDelayattribute.intgetMaxAcceptableDelayAsPrimitive(SessionContext ctx)Generated method - Getter of theTrigger.maxAcceptableDelayattribute.java.lang.IntegergetMinute()Generated method - Getter of theTrigger.minuteattribute.java.lang.IntegergetMinute(SessionContext ctx)Generated method - Getter of theTrigger.minuteattribute.intgetMinuteAsPrimitive()Generated method - Getter of theTrigger.minuteattribute.intgetMinuteAsPrimitive(SessionContext ctx)Generated method - Getter of theTrigger.minuteattribute.java.lang.IntegergetMonth()Generated method - Getter of theTrigger.monthattribute.java.lang.IntegergetMonth(SessionContext ctx)Generated method - Getter of theTrigger.monthattribute.intgetMonthAsPrimitive()Generated method - Getter of theTrigger.monthattribute.intgetMonthAsPrimitive(SessionContext ctx)Generated method - Getter of theTrigger.monthattribute.java.lang.IntegergetSecond()Generated method - Getter of theTrigger.secondattribute.java.lang.IntegergetSecond(SessionContext ctx)Generated method - Getter of theTrigger.secondattribute.intgetSecondAsPrimitive()Generated method - Getter of theTrigger.secondattribute.intgetSecondAsPrimitive(SessionContext ctx)Generated method - Getter of theTrigger.secondattribute.java.lang.IntegergetWeekInterval()Generated method - Getter of theTrigger.weekIntervalattribute.java.lang.IntegergetWeekInterval(SessionContext ctx)Generated method - Getter of theTrigger.weekIntervalattribute.intgetWeekIntervalAsPrimitive()Generated method - Getter of theTrigger.weekIntervalattribute.intgetWeekIntervalAsPrimitive(SessionContext ctx)Generated method - Getter of theTrigger.weekIntervalattribute.java.lang.IntegergetYear()Generated method - Getter of theTrigger.yearattribute.java.lang.IntegergetYear(SessionContext ctx)Generated method - Getter of theTrigger.yearattribute.intgetYearAsPrimitive()Generated method - Getter of theTrigger.yearattribute.intgetYearAsPrimitive(SessionContext ctx)Generated method - Getter of theTrigger.yearattribute.java.lang.BooleanisActive()Generated method - Getter of theTrigger.activeattribute.java.lang.BooleanisActive(SessionContext ctx)Generated method - Getter of theTrigger.activeattribute.booleanisActiveAsPrimitive()Generated method - Getter of theTrigger.activeattribute.booleanisActiveAsPrimitive(SessionContext ctx)Generated method - Getter of theTrigger.activeattribute.java.lang.BooleanisRelative()Generated method - Getter of theTrigger.relativeattribute.java.lang.BooleanisRelative(SessionContext ctx)Generated method - Getter of theTrigger.relativeattribute.booleanisRelativeAsPrimitive()Generated method - Getter of theTrigger.relativeattribute.booleanisRelativeAsPrimitive(SessionContext ctx)Generated method - Getter of theTrigger.relativeattribute.voidsetActivationTime(SessionContext ctx, java.util.Date value)Generated method - Setter of theTrigger.activationTimeattribute.voidsetActivationTime(java.util.Date value)Generated method - Setter of theTrigger.activationTimeattribute.voidsetActive(boolean value)Generated method - Setter of theTrigger.activeattribute.voidsetActive(SessionContext ctx, boolean value)Generated method - Setter of theTrigger.activeattribute.voidsetActive(SessionContext ctx, java.lang.Boolean value)Generated method - Setter of theTrigger.activeattribute.voidsetActive(java.lang.Boolean value)Generated method - Setter of theTrigger.activeattribute.voidsetCronExpression(SessionContext ctx, java.lang.String value)Generated method - Setter of theTrigger.cronExpressionattribute.voidsetCronExpression(java.lang.String value)Generated method - Setter of theTrigger.cronExpressionattribute.protected voidsetCronJob(CronJob value)Generated method - Setter of theTrigger.cronJobattribute.protected voidsetCronJob(SessionContext ctx, CronJob value)Generated method - Setter of theTrigger.cronJobattribute.voidsetDateRange(SessionContext ctx, StandardDateRange value)Generated method - Setter of theTrigger.dateRangeattribute.voidsetDateRange(StandardDateRange value)Generated method - Setter of theTrigger.dateRangeattribute.voidsetDay(int value)Generated method - Setter of theTrigger.dayattribute.voidsetDay(SessionContext ctx, int value)Generated method - Setter of theTrigger.dayattribute.voidsetDay(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theTrigger.dayattribute.voidsetDay(java.lang.Integer value)Generated method - Setter of theTrigger.dayattribute.voidsetDaysOfWeek(SessionContext ctx, java.util.List<EnumerationValue> value)Generated method - Setter of theTrigger.daysOfWeekattribute.voidsetDaysOfWeek(java.util.List<EnumerationValue> value)Generated method - Setter of theTrigger.daysOfWeekattribute.voidsetHour(int value)Generated method - Setter of theTrigger.hourattribute.voidsetHour(SessionContext ctx, int value)Generated method - Setter of theTrigger.hourattribute.voidsetHour(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theTrigger.hourattribute.voidsetHour(java.lang.Integer value)Generated method - Setter of theTrigger.hourattribute.protected voidsetJob(Job value)Generated method - Setter of theTrigger.jobattribute.protected voidsetJob(SessionContext ctx, Job value)Generated method - Setter of theTrigger.jobattribute.voidsetMaxAcceptableDelay(int value)Generated method - Setter of theTrigger.maxAcceptableDelayattribute.voidsetMaxAcceptableDelay(SessionContext ctx, int value)Generated method - Setter of theTrigger.maxAcceptableDelayattribute.voidsetMaxAcceptableDelay(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theTrigger.maxAcceptableDelayattribute.voidsetMaxAcceptableDelay(java.lang.Integer value)Generated method - Setter of theTrigger.maxAcceptableDelayattribute.voidsetMinute(int value)Generated method - Setter of theTrigger.minuteattribute.voidsetMinute(SessionContext ctx, int value)Generated method - Setter of theTrigger.minuteattribute.voidsetMinute(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theTrigger.minuteattribute.voidsetMinute(java.lang.Integer value)Generated method - Setter of theTrigger.minuteattribute.voidsetMonth(int value)Generated method - Setter of theTrigger.monthattribute.voidsetMonth(SessionContext ctx, int value)Generated method - Setter of theTrigger.monthattribute.voidsetMonth(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theTrigger.monthattribute.voidsetMonth(java.lang.Integer value)Generated method - Setter of theTrigger.monthattribute.voidsetRelative(boolean value)Generated method - Setter of theTrigger.relativeattribute.voidsetRelative(SessionContext ctx, boolean value)Generated method - Setter of theTrigger.relativeattribute.voidsetRelative(SessionContext ctx, java.lang.Boolean value)Generated method - Setter of theTrigger.relativeattribute.voidsetRelative(java.lang.Boolean value)Generated method - Setter of theTrigger.relativeattribute.voidsetSecond(int value)Generated method - Setter of theTrigger.secondattribute.voidsetSecond(SessionContext ctx, int value)Generated method - Setter of theTrigger.secondattribute.voidsetSecond(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theTrigger.secondattribute.voidsetSecond(java.lang.Integer value)Generated method - Setter of theTrigger.secondattribute.voidsetWeekInterval(int value)Generated method - Setter of theTrigger.weekIntervalattribute.voidsetWeekInterval(SessionContext ctx, int value)Generated method - Setter of theTrigger.weekIntervalattribute.voidsetWeekInterval(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theTrigger.weekIntervalattribute.voidsetWeekInterval(java.lang.Integer value)Generated method - Setter of theTrigger.weekIntervalattribute.voidsetYear(int value)Generated method - Setter of theTrigger.yearattribute.voidsetYear(SessionContext ctx, int value)Generated method - Setter of theTrigger.yearattribute.voidsetYear(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theTrigger.yearattribute.voidsetYear(java.lang.Integer value)Generated method - Setter of theTrigger.yearattribute.-
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.activeattribute- See Also:
- Constant Field Values
-
SECOND
public static final java.lang.String SECOND
Qualifier of theTrigger.secondattribute- See Also:
- Constant Field Values
-
MINUTE
public static final java.lang.String MINUTE
Qualifier of theTrigger.minuteattribute- See Also:
- Constant Field Values
-
HOUR
public static final java.lang.String HOUR
Qualifier of theTrigger.hourattribute- See Also:
- Constant Field Values
-
DAY
public static final java.lang.String DAY
Qualifier of theTrigger.dayattribute- See Also:
- Constant Field Values
-
MONTH
public static final java.lang.String MONTH
Qualifier of theTrigger.monthattribute- See Also:
- Constant Field Values
-
YEAR
public static final java.lang.String YEAR
Qualifier of theTrigger.yearattribute- See Also:
- Constant Field Values
-
RELATIVE
public static final java.lang.String RELATIVE
Qualifier of theTrigger.relativeattribute- See Also:
- Constant Field Values
-
DAYSOFWEEK
public static final java.lang.String DAYSOFWEEK
Qualifier of theTrigger.daysOfWeekattribute- See Also:
- Constant Field Values
-
WEEKINTERVAL
public static final java.lang.String WEEKINTERVAL
Qualifier of theTrigger.weekIntervalattribute- See Also:
- Constant Field Values
-
DATERANGE
public static final java.lang.String DATERANGE
Qualifier of theTrigger.dateRangeattribute- See Also:
- Constant Field Values
-
ACTIVATIONTIME
public static final java.lang.String ACTIVATIONTIME
Qualifier of theTrigger.activationTimeattribute- See Also:
- Constant Field Values
-
CRONEXPRESSION
public static final java.lang.String CRONEXPRESSION
Qualifier of theTrigger.cronExpressionattribute- See Also:
- Constant Field Values
-
MAXACCEPTABLEDELAY
public static final java.lang.String MAXACCEPTABLEDELAY
Qualifier of theTrigger.maxAcceptableDelayattribute- See Also:
- Constant Field Values
-
JOB
public static final java.lang.String JOB
Qualifier of theTrigger.jobattribute- See Also:
- Constant Field Values
-
CRONJOB
public static final java.lang.String CRONJOB
Qualifier of theTrigger.cronJobattribute- See Also:
- Constant Field Values
-
JOBHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedTrigger> JOBHANDLER
BidirectionalOneToManyHandlerfor handling 1:n JOB's relation attributes from 'one' side.
-
CRONJOBHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedTrigger> CRONJOBHANDLER
BidirectionalOneToManyHandlerfor 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:
getDefaultAttributeModesin classItem
-
getActivationTime
public java.util.Date getActivationTime(SessionContext ctx)
Generated method - Getter of theTrigger.activationTimeattribute.- Returns:
- the activationTime - next activation time
-
getActivationTime
public java.util.Date getActivationTime()
Generated method - Getter of theTrigger.activationTimeattribute.- Returns:
- the activationTime - next activation time
-
setActivationTime
public void setActivationTime(SessionContext ctx, java.util.Date value)
Generated method - Setter of theTrigger.activationTimeattribute.- Parameters:
value- the activationTime - next activation time
-
setActivationTime
public void setActivationTime(java.util.Date value)
Generated method - Setter of theTrigger.activationTimeattribute.- Parameters:
value- the activationTime - next activation time
-
isActive
public java.lang.Boolean isActive(SessionContext ctx)
Generated method - Getter of theTrigger.activeattribute.- Returns:
- the active
-
isActive
public java.lang.Boolean isActive()
Generated method - Getter of theTrigger.activeattribute.- Returns:
- the active
-
isActiveAsPrimitive
public boolean isActiveAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.activeattribute.- Returns:
- the active
-
isActiveAsPrimitive
public boolean isActiveAsPrimitive()
Generated method - Getter of theTrigger.activeattribute.- Returns:
- the active
-
setActive
public void setActive(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theTrigger.activeattribute.- Parameters:
value- the active
-
setActive
public void setActive(java.lang.Boolean value)
Generated method - Setter of theTrigger.activeattribute.- Parameters:
value- the active
-
setActive
public void setActive(SessionContext ctx, boolean value)
Generated method - Setter of theTrigger.activeattribute.- Parameters:
value- the active
-
setActive
public void setActive(boolean value)
Generated method - Setter of theTrigger.activeattribute.- Parameters:
value- the active
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
Description copied from class:ItemHas 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:
createItemin 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.cronExpressionattribute.- Returns:
- the cronExpression
-
getCronExpression
public java.lang.String getCronExpression()
Generated method - Getter of theTrigger.cronExpressionattribute.- Returns:
- the cronExpression
-
setCronExpression
public void setCronExpression(SessionContext ctx, java.lang.String value)
Generated method - Setter of theTrigger.cronExpressionattribute.- Parameters:
value- the cronExpression
-
setCronExpression
public void setCronExpression(java.lang.String value)
Generated method - Setter of theTrigger.cronExpressionattribute.- Parameters:
value- the cronExpression
-
getCronJob
public CronJob getCronJob(SessionContext ctx)
Generated method - Getter of theTrigger.cronJobattribute.- Returns:
- the cronJob - assigned cronjob
-
getCronJob
public CronJob getCronJob()
Generated method - Getter of theTrigger.cronJobattribute.- Returns:
- the cronJob - assigned cronjob
-
setCronJob
protected void setCronJob(SessionContext ctx, CronJob value)
Generated method - Setter of theTrigger.cronJobattribute.- Parameters:
value- the cronJob - assigned cronjob
-
setCronJob
protected void setCronJob(CronJob value)
Generated method - Setter of theTrigger.cronJobattribute.- Parameters:
value- the cronJob - assigned cronjob
-
getDateRange
public StandardDateRange getDateRange(SessionContext ctx)
Generated method - Getter of theTrigger.dateRangeattribute.- Returns:
- the dateRange - date range the trigger is active
-
getDateRange
public StandardDateRange getDateRange()
Generated method - Getter of theTrigger.dateRangeattribute.- Returns:
- the dateRange - date range the trigger is active
-
setDateRange
public void setDateRange(SessionContext ctx, StandardDateRange value)
Generated method - Setter of theTrigger.dateRangeattribute.- Parameters:
value- the dateRange - date range the trigger is active
-
setDateRange
public void setDateRange(StandardDateRange value)
Generated method - Setter of theTrigger.dateRangeattribute.- Parameters:
value- the dateRange - date range the trigger is active
-
getDay
public java.lang.Integer getDay(SessionContext ctx)
Generated method - Getter of theTrigger.dayattribute.- Returns:
- the day - time value day
-
getDay
public java.lang.Integer getDay()
Generated method - Getter of theTrigger.dayattribute.- Returns:
- the day - time value day
-
getDayAsPrimitive
public int getDayAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.dayattribute.- Returns:
- the day - time value day
-
getDayAsPrimitive
public int getDayAsPrimitive()
Generated method - Getter of theTrigger.dayattribute.- Returns:
- the day - time value day
-
setDay
public void setDay(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.dayattribute.- Parameters:
value- the day - time value day
-
setDay
public void setDay(java.lang.Integer value)
Generated method - Setter of theTrigger.dayattribute.- Parameters:
value- the day - time value day
-
setDay
public void setDay(SessionContext ctx, int value)
Generated method - Setter of theTrigger.dayattribute.- Parameters:
value- the day - time value day
-
setDay
public void setDay(int value)
Generated method - Setter of theTrigger.dayattribute.- Parameters:
value- the day - time value day
-
getDaysOfWeek
public java.util.List<EnumerationValue> getDaysOfWeek(SessionContext ctx)
Generated method - Getter of theTrigger.daysOfWeekattribute.- Returns:
- the daysOfWeek - days of week the trigger is active
-
getDaysOfWeek
public java.util.List<EnumerationValue> getDaysOfWeek()
Generated method - Getter of theTrigger.daysOfWeekattribute.- 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.daysOfWeekattribute.- 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.daysOfWeekattribute.- Parameters:
value- the daysOfWeek - days of week the trigger is active
-
getHour
public java.lang.Integer getHour(SessionContext ctx)
Generated method - Getter of theTrigger.hourattribute.- Returns:
- the hour - time value hour
-
getHour
public java.lang.Integer getHour()
Generated method - Getter of theTrigger.hourattribute.- Returns:
- the hour - time value hour
-
getHourAsPrimitive
public int getHourAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.hourattribute.- Returns:
- the hour - time value hour
-
getHourAsPrimitive
public int getHourAsPrimitive()
Generated method - Getter of theTrigger.hourattribute.- Returns:
- the hour - time value hour
-
setHour
public void setHour(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.hourattribute.- Parameters:
value- the hour - time value hour
-
setHour
public void setHour(java.lang.Integer value)
Generated method - Setter of theTrigger.hourattribute.- Parameters:
value- the hour - time value hour
-
setHour
public void setHour(SessionContext ctx, int value)
Generated method - Setter of theTrigger.hourattribute.- Parameters:
value- the hour - time value hour
-
setHour
public void setHour(int value)
Generated method - Setter of theTrigger.hourattribute.- Parameters:
value- the hour - time value hour
-
getJob
public Job getJob(SessionContext ctx)
Generated method - Getter of theTrigger.jobattribute.- Returns:
- the job - assigned job
-
getJob
public Job getJob()
Generated method - Getter of theTrigger.jobattribute.- Returns:
- the job - assigned job
-
setJob
protected void setJob(SessionContext ctx, Job value)
Generated method - Setter of theTrigger.jobattribute.- Parameters:
value- the job - assigned job
-
setJob
protected void setJob(Job value)
Generated method - Setter of theTrigger.jobattribute.- Parameters:
value- the job - assigned job
-
getMaxAcceptableDelay
public java.lang.Integer getMaxAcceptableDelay(SessionContext ctx)
Generated method - Getter of theTrigger.maxAcceptableDelayattribute.- 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.maxAcceptableDelayattribute.- 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.maxAcceptableDelayattribute.- 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.maxAcceptableDelayattribute.- 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.maxAcceptableDelayattribute.- 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.maxAcceptableDelayattribute.- 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.maxAcceptableDelayattribute.- 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.maxAcceptableDelayattribute.- 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.minuteattribute.- Returns:
- the minute - time value minute
-
getMinute
public java.lang.Integer getMinute()
Generated method - Getter of theTrigger.minuteattribute.- Returns:
- the minute - time value minute
-
getMinuteAsPrimitive
public int getMinuteAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.minuteattribute.- Returns:
- the minute - time value minute
-
getMinuteAsPrimitive
public int getMinuteAsPrimitive()
Generated method - Getter of theTrigger.minuteattribute.- Returns:
- the minute - time value minute
-
setMinute
public void setMinute(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.minuteattribute.- Parameters:
value- the minute - time value minute
-
setMinute
public void setMinute(java.lang.Integer value)
Generated method - Setter of theTrigger.minuteattribute.- Parameters:
value- the minute - time value minute
-
setMinute
public void setMinute(SessionContext ctx, int value)
Generated method - Setter of theTrigger.minuteattribute.- Parameters:
value- the minute - time value minute
-
setMinute
public void setMinute(int value)
Generated method - Setter of theTrigger.minuteattribute.- Parameters:
value- the minute - time value minute
-
getMonth
public java.lang.Integer getMonth(SessionContext ctx)
Generated method - Getter of theTrigger.monthattribute.- Returns:
- the month - time value month
-
getMonth
public java.lang.Integer getMonth()
Generated method - Getter of theTrigger.monthattribute.- Returns:
- the month - time value month
-
getMonthAsPrimitive
public int getMonthAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.monthattribute.- Returns:
- the month - time value month
-
getMonthAsPrimitive
public int getMonthAsPrimitive()
Generated method - Getter of theTrigger.monthattribute.- Returns:
- the month - time value month
-
setMonth
public void setMonth(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.monthattribute.- Parameters:
value- the month - time value month
-
setMonth
public void setMonth(java.lang.Integer value)
Generated method - Setter of theTrigger.monthattribute.- Parameters:
value- the month - time value month
-
setMonth
public void setMonth(SessionContext ctx, int value)
Generated method - Setter of theTrigger.monthattribute.- Parameters:
value- the month - time value month
-
setMonth
public void setMonth(int value)
Generated method - Setter of theTrigger.monthattribute.- Parameters:
value- the month - time value month
-
isRelative
public java.lang.Boolean isRelative(SessionContext ctx)
Generated method - Getter of theTrigger.relativeattribute.- Returns:
- the relative - time values are considered as relative values
-
isRelative
public java.lang.Boolean isRelative()
Generated method - Getter of theTrigger.relativeattribute.- Returns:
- the relative - time values are considered as relative values
-
isRelativeAsPrimitive
public boolean isRelativeAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.relativeattribute.- Returns:
- the relative - time values are considered as relative values
-
isRelativeAsPrimitive
public boolean isRelativeAsPrimitive()
Generated method - Getter of theTrigger.relativeattribute.- 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.relativeattribute.- Parameters:
value- the relative - time values are considered as relative values
-
setRelative
public void setRelative(java.lang.Boolean value)
Generated method - Setter of theTrigger.relativeattribute.- Parameters:
value- the relative - time values are considered as relative values
-
setRelative
public void setRelative(SessionContext ctx, boolean value)
Generated method - Setter of theTrigger.relativeattribute.- Parameters:
value- the relative - time values are considered as relative values
-
setRelative
public void setRelative(boolean value)
Generated method - Setter of theTrigger.relativeattribute.- Parameters:
value- the relative - time values are considered as relative values
-
getSecond
public java.lang.Integer getSecond(SessionContext ctx)
Generated method - Getter of theTrigger.secondattribute.- Returns:
- the second - time value second
-
getSecond
public java.lang.Integer getSecond()
Generated method - Getter of theTrigger.secondattribute.- Returns:
- the second - time value second
-
getSecondAsPrimitive
public int getSecondAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.secondattribute.- Returns:
- the second - time value second
-
getSecondAsPrimitive
public int getSecondAsPrimitive()
Generated method - Getter of theTrigger.secondattribute.- Returns:
- the second - time value second
-
setSecond
public void setSecond(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.secondattribute.- Parameters:
value- the second - time value second
-
setSecond
public void setSecond(java.lang.Integer value)
Generated method - Setter of theTrigger.secondattribute.- Parameters:
value- the second - time value second
-
setSecond
public void setSecond(SessionContext ctx, int value)
Generated method - Setter of theTrigger.secondattribute.- Parameters:
value- the second - time value second
-
setSecond
public void setSecond(int value)
Generated method - Setter of theTrigger.secondattribute.- Parameters:
value- the second - time value second
-
getWeekInterval
public java.lang.Integer getWeekInterval(SessionContext ctx)
Generated method - Getter of theTrigger.weekIntervalattribute.- Returns:
- the weekInterval - week interval for days of week
-
getWeekInterval
public java.lang.Integer getWeekInterval()
Generated method - Getter of theTrigger.weekIntervalattribute.- Returns:
- the weekInterval - week interval for days of week
-
getWeekIntervalAsPrimitive
public int getWeekIntervalAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.weekIntervalattribute.- Returns:
- the weekInterval - week interval for days of week
-
getWeekIntervalAsPrimitive
public int getWeekIntervalAsPrimitive()
Generated method - Getter of theTrigger.weekIntervalattribute.- Returns:
- the weekInterval - week interval for days of week
-
setWeekInterval
public void setWeekInterval(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.weekIntervalattribute.- Parameters:
value- the weekInterval - week interval for days of week
-
setWeekInterval
public void setWeekInterval(java.lang.Integer value)
Generated method - Setter of theTrigger.weekIntervalattribute.- Parameters:
value- the weekInterval - week interval for days of week
-
setWeekInterval
public void setWeekInterval(SessionContext ctx, int value)
Generated method - Setter of theTrigger.weekIntervalattribute.- Parameters:
value- the weekInterval - week interval for days of week
-
setWeekInterval
public void setWeekInterval(int value)
Generated method - Setter of theTrigger.weekIntervalattribute.- Parameters:
value- the weekInterval - week interval for days of week
-
getYear
public java.lang.Integer getYear(SessionContext ctx)
Generated method - Getter of theTrigger.yearattribute.- Returns:
- the year - time value year
-
getYear
public java.lang.Integer getYear()
Generated method - Getter of theTrigger.yearattribute.- Returns:
- the year - time value year
-
getYearAsPrimitive
public int getYearAsPrimitive(SessionContext ctx)
Generated method - Getter of theTrigger.yearattribute.- Returns:
- the year - time value year
-
getYearAsPrimitive
public int getYearAsPrimitive()
Generated method - Getter of theTrigger.yearattribute.- Returns:
- the year - time value year
-
setYear
public void setYear(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theTrigger.yearattribute.- Parameters:
value- the year - time value year
-
setYear
public void setYear(java.lang.Integer value)
Generated method - Setter of theTrigger.yearattribute.- Parameters:
value- the year - time value year
-
setYear
public void setYear(SessionContext ctx, int value)
Generated method - Setter of theTrigger.yearattribute.- Parameters:
value- the year - time value year
-
setYear
public void setYear(int value)
Generated method - Setter of theTrigger.yearattribute.- Parameters:
value- the year - time value year
-
-