public abstract class GeneratedCsTicketChangeEventEntry extends GenericItem
CsTicketChangeEventEntry.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALTEREDATTRIBUTE
Qualifier of the
CsTicketChangeEventEntry.alteredAttribute attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
EVENT
Qualifier of the
CsTicketChangeEventEntry.event attribute |
protected static BidirectionalOneToManyHandler<GeneratedCsTicketChangeEventEntry> |
EVENTHANDLER
BidirectionalOneToManyHandler for handling 1:n EVENT's relation attributes from 'one' side. |
static java.lang.String |
NEWBINARYVALUE
Qualifier of the
CsTicketChangeEventEntry.newBinaryValue attribute |
static java.lang.String |
NEWSTRINGVALUE
Qualifier of the
CsTicketChangeEventEntry.newStringValue attribute |
static java.lang.String |
OLDBINARYVALUE
Qualifier of the
CsTicketChangeEventEntry.oldBinaryValue attribute |
static java.lang.String |
OLDSTRINGVALUE
Qualifier of the
CsTicketChangeEventEntry.oldStringValue attribute |
LANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedCsTicketChangeEventEntry() |
| Modifier and Type | Method and Description |
|---|---|
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
AttributeDescriptor |
getAlteredAttribute()
Generated method - Getter of the
CsTicketChangeEventEntry.alteredAttribute attribute. |
AttributeDescriptor |
getAlteredAttribute(SessionContext ctx)
Generated method - Getter of the
CsTicketChangeEventEntry.alteredAttribute attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
CsTicketEvent |
getEvent()
Generated method - Getter of the
CsTicketChangeEventEntry.event attribute. |
CsTicketEvent |
getEvent(SessionContext ctx)
Generated method - Getter of the
CsTicketChangeEventEntry.event attribute. |
java.lang.Object |
getNewBinaryValue()
Generated method - Getter of the
CsTicketChangeEventEntry.newBinaryValue attribute. |
java.lang.Object |
getNewBinaryValue(SessionContext ctx)
Generated method - Getter of the
CsTicketChangeEventEntry.newBinaryValue attribute. |
java.lang.String |
getNewStringValue()
Generated method - Getter of the
CsTicketChangeEventEntry.newStringValue attribute. |
java.lang.String |
getNewStringValue(SessionContext ctx)
Generated method - Getter of the
CsTicketChangeEventEntry.newStringValue attribute. |
java.lang.Object |
getOldBinaryValue()
Generated method - Getter of the
CsTicketChangeEventEntry.oldBinaryValue attribute. |
java.lang.Object |
getOldBinaryValue(SessionContext ctx)
Generated method - Getter of the
CsTicketChangeEventEntry.oldBinaryValue attribute. |
java.lang.String |
getOldStringValue()
Generated method - Getter of the
CsTicketChangeEventEntry.oldStringValue attribute. |
java.lang.String |
getOldStringValue(SessionContext ctx)
Generated method - Getter of the
CsTicketChangeEventEntry.oldStringValue attribute. |
void |
setAlteredAttribute(AttributeDescriptor value)
Generated method - Setter of the
CsTicketChangeEventEntry.alteredAttribute attribute. |
void |
setAlteredAttribute(SessionContext ctx,
AttributeDescriptor value)
Generated method - Setter of the
CsTicketChangeEventEntry.alteredAttribute attribute. |
void |
setEvent(CsTicketEvent value)
Generated method - Setter of the
CsTicketChangeEventEntry.event attribute. |
void |
setEvent(SessionContext ctx,
CsTicketEvent value)
Generated method - Setter of the
CsTicketChangeEventEntry.event attribute. |
void |
setNewBinaryValue(java.lang.Object value)
Generated method - Setter of the
CsTicketChangeEventEntry.newBinaryValue attribute. |
void |
setNewBinaryValue(SessionContext ctx,
java.lang.Object value)
Generated method - Setter of the
CsTicketChangeEventEntry.newBinaryValue attribute. |
void |
setNewStringValue(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
CsTicketChangeEventEntry.newStringValue attribute. |
void |
setNewStringValue(java.lang.String value)
Generated method - Setter of the
CsTicketChangeEventEntry.newStringValue attribute. |
void |
setOldBinaryValue(java.lang.Object value)
Generated method - Setter of the
CsTicketChangeEventEntry.oldBinaryValue attribute. |
void |
setOldBinaryValue(SessionContext ctx,
java.lang.Object value)
Generated method - Setter of the
CsTicketChangeEventEntry.oldBinaryValue attribute. |
void |
setOldStringValue(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
CsTicketChangeEventEntry.oldStringValue attribute. |
void |
setOldStringValue(java.lang.String value)
Generated method - Setter of the
CsTicketChangeEventEntry.oldStringValue attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getImplementation, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, 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, writeReplacesetTenantpublic static final java.lang.String ALTEREDATTRIBUTE
CsTicketChangeEventEntry.alteredAttribute attributepublic static final java.lang.String OLDSTRINGVALUE
CsTicketChangeEventEntry.oldStringValue attributepublic static final java.lang.String NEWSTRINGVALUE
CsTicketChangeEventEntry.newStringValue attributepublic static final java.lang.String OLDBINARYVALUE
CsTicketChangeEventEntry.oldBinaryValue attributepublic static final java.lang.String NEWBINARYVALUE
CsTicketChangeEventEntry.newBinaryValue attributepublic static final java.lang.String EVENT
CsTicketChangeEventEntry.event attributeprotected static final BidirectionalOneToManyHandler<GeneratedCsTicketChangeEventEntry> EVENTHANDLER
BidirectionalOneToManyHandler for handling 1:n EVENT's relation attributes from 'one' side.protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic AttributeDescriptor getAlteredAttribute(SessionContext ctx)
CsTicketChangeEventEntry.alteredAttribute attribute.public AttributeDescriptor getAlteredAttribute()
CsTicketChangeEventEntry.alteredAttribute attribute.public void setAlteredAttribute(SessionContext ctx, AttributeDescriptor value)
CsTicketChangeEventEntry.alteredAttribute attribute.value - the alteredAttributepublic void setAlteredAttribute(AttributeDescriptor value)
CsTicketChangeEventEntry.alteredAttribute attribute.value - the alteredAttributeprotected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.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; }
createItem in class GenericItemctx - 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 )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic CsTicketEvent getEvent(SessionContext ctx)
CsTicketChangeEventEntry.event attribute.public CsTicketEvent getEvent()
CsTicketChangeEventEntry.event attribute.public void setEvent(SessionContext ctx, CsTicketEvent value)
CsTicketChangeEventEntry.event attribute.value - the eventpublic void setEvent(CsTicketEvent value)
CsTicketChangeEventEntry.event attribute.value - the eventpublic java.lang.Object getNewBinaryValue(SessionContext ctx)
CsTicketChangeEventEntry.newBinaryValue attribute.public java.lang.Object getNewBinaryValue()
CsTicketChangeEventEntry.newBinaryValue attribute.public void setNewBinaryValue(SessionContext ctx, java.lang.Object value)
CsTicketChangeEventEntry.newBinaryValue attribute.value - the newBinaryValuepublic void setNewBinaryValue(java.lang.Object value)
CsTicketChangeEventEntry.newBinaryValue attribute.value - the newBinaryValuepublic java.lang.String getNewStringValue(SessionContext ctx)
CsTicketChangeEventEntry.newStringValue attribute.public java.lang.String getNewStringValue()
CsTicketChangeEventEntry.newStringValue attribute.public void setNewStringValue(SessionContext ctx, java.lang.String value)
CsTicketChangeEventEntry.newStringValue attribute.value - the newStringValuepublic void setNewStringValue(java.lang.String value)
CsTicketChangeEventEntry.newStringValue attribute.value - the newStringValuepublic java.lang.Object getOldBinaryValue(SessionContext ctx)
CsTicketChangeEventEntry.oldBinaryValue attribute.public java.lang.Object getOldBinaryValue()
CsTicketChangeEventEntry.oldBinaryValue attribute.public void setOldBinaryValue(SessionContext ctx, java.lang.Object value)
CsTicketChangeEventEntry.oldBinaryValue attribute.value - the oldBinaryValuepublic void setOldBinaryValue(java.lang.Object value)
CsTicketChangeEventEntry.oldBinaryValue attribute.value - the oldBinaryValuepublic java.lang.String getOldStringValue(SessionContext ctx)
CsTicketChangeEventEntry.oldStringValue attribute.public java.lang.String getOldStringValue()
CsTicketChangeEventEntry.oldStringValue attribute.public void setOldStringValue(SessionContext ctx, java.lang.String value)
CsTicketChangeEventEntry.oldStringValue attribute.value - the oldStringValuepublic void setOldStringValue(java.lang.String value)
CsTicketChangeEventEntry.oldStringValue attribute.value - the oldStringValueCopyright © 2018 SAP SE. All Rights Reserved.