Package de.hybris.platform.task
Class GeneratedTaskCondition
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.task.GeneratedTaskCondition
- All Implemented Interfaces:
Serializable,Comparable
- Direct Known Subclasses:
TaskCondition
Generated class for type
TaskCondition.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImplNested 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
FieldsModifier and TypeFieldDescriptionstatic final StringQualifier of theTaskCondition.choiceattributestatic final StringQualifier of theTaskCondition.consumedattributestatic final StringQualifier of theTaskCondition.counterattributeprotected static final Map<String,Item.AttributeMode> static final StringQualifier of theTaskCondition.expirationTimeMillisattributestatic final StringQualifier of theTaskCondition.fulfilledattributestatic final StringQualifier of theTaskCondition.processedDateattributestatic final StringQualifier of theTaskCondition.taskattributeprotected static final BidirectionalOneToManyHandler<GeneratedTaskCondition>BidirectionalOneToManyHandlerfor handling 1:n TASK's relation attributes from 'one' side.static final StringQualifier of theTaskCondition.uniqueIDattributeFields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLEDFields 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, TYPEFields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) Has to be implemented for each concrete subtype of item.Generated method - Getter of theTaskCondition.choiceattribute.getChoice(SessionContext ctx) Generated method - Getter of theTaskCondition.choiceattribute.Generated method - Getter of theTaskCondition.counterattribute.getCounter(SessionContext ctx) Generated method - Getter of theTaskCondition.counterattribute.intGenerated method - Getter of theTaskCondition.counterattribute.intGenerated method - Getter of theTaskCondition.counterattribute.protected Map<String,Item.AttributeMode> Generated method - Getter of theTaskCondition.expirationTimeMillisattribute.Generated method - Getter of theTaskCondition.expirationTimeMillisattribute.longGenerated method - Getter of theTaskCondition.expirationTimeMillisattribute.longGenerated method - Getter of theTaskCondition.expirationTimeMillisattribute.Generated method - Getter of theTaskCondition.processedDateattribute.Generated method - Getter of theTaskCondition.processedDateattribute.getTask()Generated method - Getter of theTaskCondition.taskattribute.getTask(SessionContext ctx) Generated method - Getter of theTaskCondition.taskattribute.Generated method - Getter of theTaskCondition.uniqueIDattribute.Generated method - Getter of theTaskCondition.uniqueIDattribute.Generated method - Getter of theTaskCondition.consumedattribute.isConsumed(SessionContext ctx) Generated method - Getter of theTaskCondition.consumedattribute.booleanGenerated method - Getter of theTaskCondition.consumedattribute.booleanGenerated method - Getter of theTaskCondition.consumedattribute.Generated method - Getter of theTaskCondition.fulfilledattribute.Generated method - Getter of theTaskCondition.fulfilledattribute.booleanGenerated method - Getter of theTaskCondition.fulfilledattribute.booleanGenerated method - Getter of theTaskCondition.fulfilledattribute.voidsetChoice(SessionContext ctx, String value) Generated method - Setter of theTaskCondition.choiceattribute.voidGenerated method - Setter of theTaskCondition.choiceattribute.voidsetConsumed(boolean value) Generated method - Setter of theTaskCondition.consumedattribute.voidsetConsumed(SessionContext ctx, boolean value) Generated method - Setter of theTaskCondition.consumedattribute.voidsetConsumed(SessionContext ctx, Boolean value) Generated method - Setter of theTaskCondition.consumedattribute.voidsetConsumed(Boolean value) Generated method - Setter of theTaskCondition.consumedattribute.voidsetCounter(int value) Generated method - Setter of theTaskCondition.counterattribute.voidsetCounter(SessionContext ctx, int value) Generated method - Setter of theTaskCondition.counterattribute.voidsetCounter(SessionContext ctx, Integer value) Generated method - Setter of theTaskCondition.counterattribute.voidsetCounter(Integer value) Generated method - Setter of theTaskCondition.counterattribute.voidsetExpirationTimeMillis(long value) Generated method - Setter of theTaskCondition.expirationTimeMillisattribute.voidsetExpirationTimeMillis(SessionContext ctx, long value) Generated method - Setter of theTaskCondition.expirationTimeMillisattribute.voidsetExpirationTimeMillis(SessionContext ctx, Long value) Generated method - Setter of theTaskCondition.expirationTimeMillisattribute.voidsetExpirationTimeMillis(Long value) Generated method - Setter of theTaskCondition.expirationTimeMillisattribute.voidsetFulfilled(boolean value) Generated method - Setter of theTaskCondition.fulfilledattribute.voidsetFulfilled(SessionContext ctx, boolean value) Generated method - Setter of theTaskCondition.fulfilledattribute.voidsetFulfilled(SessionContext ctx, Boolean value) Generated method - Setter of theTaskCondition.fulfilledattribute.voidsetFulfilled(Boolean value) Generated method - Setter of theTaskCondition.fulfilledattribute.voidsetProcessedDate(SessionContext ctx, Date value) Generated method - Setter of theTaskCondition.processedDateattribute.voidsetProcessedDate(Date value) Generated method - Setter of theTaskCondition.processedDateattribute.voidsetTask(SessionContext ctx, Task value) Generated method - Setter of theTaskCondition.taskattribute.voidGenerated method - Setter of theTaskCondition.taskattribute.voidsetUniqueID(SessionContext ctx, String value) Generated method - Setter of theTaskCondition.uniqueIDattribute.voidsetUniqueID(String value) Generated method - Setter of theTaskCondition.uniqueIDattribute.Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, getRelatedItems, setRelatedItemsMethods 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, setLocalizedPropertyMethods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyMethods 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, getPartOfRemovedSessionMarker, 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, suppressRelation, toString, useTA, writeReplaceMethods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
Field Details
-
UNIQUEID
Qualifier of theTaskCondition.uniqueIDattribute- See Also:
-
EXPIRATIONTIMEMILLIS
Qualifier of theTaskCondition.expirationTimeMillisattribute- See Also:
-
PROCESSEDDATE
Qualifier of theTaskCondition.processedDateattribute- See Also:
-
FULFILLED
Qualifier of theTaskCondition.fulfilledattribute- See Also:
-
CONSUMED
Qualifier of theTaskCondition.consumedattribute- See Also:
-
CHOICE
Qualifier of theTaskCondition.choiceattribute- See Also:
-
COUNTER
Qualifier of theTaskCondition.counterattribute- See Also:
-
TASK
Qualifier of theTaskCondition.taskattribute- See Also:
-
TASKHANDLER
BidirectionalOneToManyHandlerfor handling 1:n TASK's relation attributes from 'one' side. -
DEFAULT_INITIAL_ATTRIBUTES
-
-
Constructor Details
-
GeneratedTaskCondition
public GeneratedTaskCondition()
-
-
Method Details
-
getDefaultAttributeModes
- Overrides:
getDefaultAttributeModesin classItem
-
getChoice
Generated method - Getter of theTaskCondition.choiceattribute.- Returns:
- the choice - Additional value which can be provided by the user when triggering an event
-
getChoice
Generated method - Getter of theTaskCondition.choiceattribute.- Returns:
- the choice - Additional value which can be provided by the user when triggering an event
-
setChoice
Generated method - Setter of theTaskCondition.choiceattribute.- Parameters:
value- the choice - Additional value which can be provided by the user when triggering an event
-
setChoice
Generated method - Setter of theTaskCondition.choiceattribute.- Parameters:
value- the choice - Additional value which can be provided by the user when triggering an event
-
isConsumed
Generated method - Getter of theTaskCondition.consumedattribute.- Returns:
- the consumed
-
isConsumed
Generated method - Getter of theTaskCondition.consumedattribute.- Returns:
- the consumed
-
isConsumedAsPrimitive
Generated method - Getter of theTaskCondition.consumedattribute.- Returns:
- the consumed
-
isConsumedAsPrimitive
public boolean isConsumedAsPrimitive()Generated method - Getter of theTaskCondition.consumedattribute.- Returns:
- the consumed
-
setConsumed
Generated method - Setter of theTaskCondition.consumedattribute.- Parameters:
value- the consumed
-
setConsumed
Generated method - Setter of theTaskCondition.consumedattribute.- Parameters:
value- the consumed
-
setConsumed
Generated method - Setter of theTaskCondition.consumedattribute.- Parameters:
value- the consumed
-
setConsumed
public void setConsumed(boolean value) Generated method - Setter of theTaskCondition.consumedattribute.- Parameters:
value- the consumed
-
getCounter
Generated method - Getter of theTaskCondition.counterattribute.- Returns:
- the counter - Counter which if set to value greater than 0 prevent fulfilling the condition. Counter is decremented every time when an event is triggered.
-
getCounter
Generated method - Getter of theTaskCondition.counterattribute.- Returns:
- the counter - Counter which if set to value greater than 0 prevent fulfilling the condition. Counter is decremented every time when an event is triggered.
-
getCounterAsPrimitive
Generated method - Getter of theTaskCondition.counterattribute.- Returns:
- the counter - Counter which if set to value greater than 0 prevent fulfilling the condition. Counter is decremented every time when an event is triggered.
-
getCounterAsPrimitive
public int getCounterAsPrimitive()Generated method - Getter of theTaskCondition.counterattribute.- Returns:
- the counter - Counter which if set to value greater than 0 prevent fulfilling the condition. Counter is decremented every time when an event is triggered.
-
setCounter
Generated method - Setter of theTaskCondition.counterattribute.- Parameters:
value- the counter - Counter which if set to value greater than 0 prevent fulfilling the condition. Counter is decremented every time when an event is triggered.
-
setCounter
Generated method - Setter of theTaskCondition.counterattribute.- Parameters:
value- the counter - Counter which if set to value greater than 0 prevent fulfilling the condition. Counter is decremented every time when an event is triggered.
-
setCounter
Generated method - Setter of theTaskCondition.counterattribute.- Parameters:
value- the counter - Counter which if set to value greater than 0 prevent fulfilling the condition. Counter is decremented every time when an event is triggered.
-
setCounter
public void setCounter(int value) Generated method - Setter of theTaskCondition.counterattribute.- Parameters:
value- the counter - Counter which if set to value greater than 0 prevent fulfilling the condition. Counter is decremented every time when an event is triggered.
-
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
-
getExpirationTimeMillis
Generated method - Getter of theTaskCondition.expirationTimeMillisattribute.- Returns:
- the expirationTimeMillis - The maximum allowed time to wait for completion
-
getExpirationTimeMillis
Generated method - Getter of theTaskCondition.expirationTimeMillisattribute.- Returns:
- the expirationTimeMillis - The maximum allowed time to wait for completion
-
getExpirationTimeMillisAsPrimitive
Generated method - Getter of theTaskCondition.expirationTimeMillisattribute.- Returns:
- the expirationTimeMillis - The maximum allowed time to wait for completion
-
getExpirationTimeMillisAsPrimitive
public long getExpirationTimeMillisAsPrimitive()Generated method - Getter of theTaskCondition.expirationTimeMillisattribute.- Returns:
- the expirationTimeMillis - The maximum allowed time to wait for completion
-
setExpirationTimeMillis
Generated method - Setter of theTaskCondition.expirationTimeMillisattribute.- Parameters:
value- the expirationTimeMillis - The maximum allowed time to wait for completion
-
setExpirationTimeMillis
Generated method - Setter of theTaskCondition.expirationTimeMillisattribute.- Parameters:
value- the expirationTimeMillis - The maximum allowed time to wait for completion
-
setExpirationTimeMillis
Generated method - Setter of theTaskCondition.expirationTimeMillisattribute.- Parameters:
value- the expirationTimeMillis - The maximum allowed time to wait for completion
-
setExpirationTimeMillis
public void setExpirationTimeMillis(long value) Generated method - Setter of theTaskCondition.expirationTimeMillisattribute.- Parameters:
value- the expirationTimeMillis - The maximum allowed time to wait for completion
-
isFulfilled
Generated method - Getter of theTaskCondition.fulfilledattribute.- Returns:
- the fulfilled
-
isFulfilled
Generated method - Getter of theTaskCondition.fulfilledattribute.- Returns:
- the fulfilled
-
isFulfilledAsPrimitive
Generated method - Getter of theTaskCondition.fulfilledattribute.- Returns:
- the fulfilled
-
isFulfilledAsPrimitive
public boolean isFulfilledAsPrimitive()Generated method - Getter of theTaskCondition.fulfilledattribute.- Returns:
- the fulfilled
-
setFulfilled
Generated method - Setter of theTaskCondition.fulfilledattribute.- Parameters:
value- the fulfilled
-
setFulfilled
Generated method - Setter of theTaskCondition.fulfilledattribute.- Parameters:
value- the fulfilled
-
setFulfilled
Generated method - Setter of theTaskCondition.fulfilledattribute.- Parameters:
value- the fulfilled
-
setFulfilled
public void setFulfilled(boolean value) Generated method - Setter of theTaskCondition.fulfilledattribute.- Parameters:
value- the fulfilled
-
getProcessedDate
Generated method - Getter of theTaskCondition.processedDateattribute.- Returns:
- the processedDate - The date when this condition has been processed. Then state is switched to FULFILLED or REJECTED.
-
getProcessedDate
Generated method - Getter of theTaskCondition.processedDateattribute.- Returns:
- the processedDate - The date when this condition has been processed. Then state is switched to FULFILLED or REJECTED.
-
setProcessedDate
Generated method - Setter of theTaskCondition.processedDateattribute.- Parameters:
value- the processedDate - The date when this condition has been processed. Then state is switched to FULFILLED or REJECTED.
-
setProcessedDate
Generated method - Setter of theTaskCondition.processedDateattribute.- Parameters:
value- the processedDate - The date when this condition has been processed. Then state is switched to FULFILLED or REJECTED.
-
getTask
Generated method - Getter of theTaskCondition.taskattribute.- Returns:
- the task
-
getTask
Generated method - Getter of theTaskCondition.taskattribute.- Returns:
- the task
-
setTask
Generated method - Setter of theTaskCondition.taskattribute.- Parameters:
value- the task
-
setTask
Generated method - Setter of theTaskCondition.taskattribute.- Parameters:
value- the task
-
getUniqueID
Generated method - Getter of theTaskCondition.uniqueIDattribute.- Returns:
- the uniqueID - The unique id of this condition - may be created by number series !?
-
getUniqueID
Generated method - Getter of theTaskCondition.uniqueIDattribute.- Returns:
- the uniqueID - The unique id of this condition - may be created by number series !?
-
setUniqueID
Generated method - Setter of theTaskCondition.uniqueIDattribute.- Parameters:
value- the uniqueID - The unique id of this condition - may be created by number series !?
-
setUniqueID
Generated method - Setter of theTaskCondition.uniqueIDattribute.- Parameters:
value- the uniqueID - The unique id of this condition - may be created by number series !?
-