public abstract class GeneratedEventConfiguration extends GenericItem
EventConfiguration.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 |
CONVERTERBEAN
Qualifier of the
EventConfiguration.converterBean attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
DESCRIPTION
Qualifier of the
EventConfiguration.description attribute |
static java.lang.String |
DESTINATIONTARGET
Qualifier of the
EventConfiguration.destinationTarget attribute |
protected static BidirectionalOneToManyHandler<GeneratedEventConfiguration> |
DESTINATIONTARGETHANDLER
BidirectionalOneToManyHandler for handling 1:n DESTINATIONTARGET's relation attributes from 'one' side. |
static java.lang.String |
EVENTCLASS
Qualifier of the
EventConfiguration.eventClass attribute |
static java.lang.String |
EVENTPROPERTYCONFIGURATIONS
Qualifier of the
EventConfiguration.eventPropertyConfigurations attribute |
protected static OneToManyHandler<EventPropertyConfiguration> |
EVENTPROPERTYCONFIGURATIONSHANDLER
OneToManyHandler for handling 1:n EVENTPROPERTYCONFIGURATIONS's relation attributes from 'many' side. |
static java.lang.String |
EXPORTFLAG
Qualifier of the
EventConfiguration.exportFlag attribute |
static java.lang.String |
EXPORTNAME
Qualifier of the
EventConfiguration.exportName attribute |
static java.lang.String |
EXTENSIONNAME
Qualifier of the
EventConfiguration.extensionName attribute |
static java.lang.String |
MAPPINGTYPE
Qualifier of the
EventConfiguration.mappingType attribute |
static java.lang.String |
PRIORITY
Qualifier of the
EventConfiguration.priority attribute |
static java.lang.String |
VERSION
Qualifier of the
EventConfiguration.version 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 |
|---|
GeneratedEventConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToEventPropertyConfigurations(EventPropertyConfiguration value)
Generated method - Adds
value to eventPropertyConfigurations. |
void |
addToEventPropertyConfigurations(SessionContext ctx,
EventPropertyConfiguration value)
Generated method - Adds
value to eventPropertyConfigurations. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
java.lang.String |
getConverterBean()
Generated method - Getter of the
EventConfiguration.converterBean attribute. |
java.lang.String |
getConverterBean(SessionContext ctx)
Generated method - Getter of the
EventConfiguration.converterBean attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.String |
getDescription()
Generated method - Getter of the
EventConfiguration.description attribute. |
java.lang.String |
getDescription(SessionContext ctx)
Generated method - Getter of the
EventConfiguration.description attribute. |
DestinationTarget |
getDestinationTarget()
Generated method - Getter of the
EventConfiguration.destinationTarget attribute. |
DestinationTarget |
getDestinationTarget(SessionContext ctx)
Generated method - Getter of the
EventConfiguration.destinationTarget attribute. |
java.lang.String |
getEventClass()
Generated method - Getter of the
EventConfiguration.eventClass attribute. |
java.lang.String |
getEventClass(SessionContext ctx)
Generated method - Getter of the
EventConfiguration.eventClass attribute. |
java.util.List<EventPropertyConfiguration> |
getEventPropertyConfigurations()
Generated method - Getter of the
EventConfiguration.eventPropertyConfigurations attribute. |
java.util.List<EventPropertyConfiguration> |
getEventPropertyConfigurations(SessionContext ctx)
Generated method - Getter of the
EventConfiguration.eventPropertyConfigurations attribute. |
java.lang.String |
getExportName()
Generated method - Getter of the
EventConfiguration.exportName attribute. |
java.lang.String |
getExportName(SessionContext ctx)
Generated method - Getter of the
EventConfiguration.exportName attribute. |
java.lang.String |
getExtensionName()
Generated method - Getter of the
EventConfiguration.extensionName attribute. |
java.lang.String |
getExtensionName(SessionContext ctx)
Generated method - Getter of the
EventConfiguration.extensionName attribute. |
EnumerationValue |
getMappingType()
Generated method - Getter of the
EventConfiguration.mappingType attribute. |
EnumerationValue |
getMappingType(SessionContext ctx)
Generated method - Getter of the
EventConfiguration.mappingType attribute. |
EnumerationValue |
getPriority()
Generated method - Getter of the
EventConfiguration.priority attribute. |
EnumerationValue |
getPriority(SessionContext ctx)
Generated method - Getter of the
EventConfiguration.priority attribute. |
java.lang.Integer |
getVersion()
Generated method - Getter of the
EventConfiguration.version attribute. |
java.lang.Integer |
getVersion(SessionContext ctx)
Generated method - Getter of the
EventConfiguration.version attribute. |
int |
getVersionAsPrimitive()
Generated method - Getter of the
EventConfiguration.version attribute. |
int |
getVersionAsPrimitive(SessionContext ctx)
Generated method - Getter of the
EventConfiguration.version attribute. |
java.lang.Boolean |
isExportFlag()
Generated method - Getter of the
EventConfiguration.exportFlag attribute. |
java.lang.Boolean |
isExportFlag(SessionContext ctx)
Generated method - Getter of the
EventConfiguration.exportFlag attribute. |
boolean |
isExportFlagAsPrimitive()
Generated method - Getter of the
EventConfiguration.exportFlag attribute. |
boolean |
isExportFlagAsPrimitive(SessionContext ctx)
Generated method - Getter of the
EventConfiguration.exportFlag attribute. |
void |
removeFromEventPropertyConfigurations(EventPropertyConfiguration value)
Generated method - Removes
value from eventPropertyConfigurations. |
void |
removeFromEventPropertyConfigurations(SessionContext ctx,
EventPropertyConfiguration value)
Generated method - Removes
value from eventPropertyConfigurations. |
void |
setConverterBean(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
EventConfiguration.converterBean attribute. |
void |
setConverterBean(java.lang.String value)
Generated method - Setter of the
EventConfiguration.converterBean attribute. |
void |
setDescription(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
EventConfiguration.description attribute. |
void |
setDescription(java.lang.String value)
Generated method - Setter of the
EventConfiguration.description attribute. |
protected void |
setDestinationTarget(DestinationTarget value)
Generated method - Setter of the
EventConfiguration.destinationTarget attribute. |
protected void |
setDestinationTarget(SessionContext ctx,
DestinationTarget value)
Generated method - Setter of the
EventConfiguration.destinationTarget attribute. |
void |
setEventClass(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
EventConfiguration.eventClass attribute. |
void |
setEventClass(java.lang.String value)
Generated method - Setter of the
EventConfiguration.eventClass attribute. |
void |
setEventPropertyConfigurations(java.util.List<EventPropertyConfiguration> value)
Generated method - Setter of the
EventConfiguration.eventPropertyConfigurations attribute. |
void |
setEventPropertyConfigurations(SessionContext ctx,
java.util.List<EventPropertyConfiguration> value)
Generated method - Setter of the
EventConfiguration.eventPropertyConfigurations attribute. |
void |
setExportFlag(boolean value)
Generated method - Setter of the
EventConfiguration.exportFlag attribute. |
void |
setExportFlag(java.lang.Boolean value)
Generated method - Setter of the
EventConfiguration.exportFlag attribute. |
void |
setExportFlag(SessionContext ctx,
boolean value)
Generated method - Setter of the
EventConfiguration.exportFlag attribute. |
void |
setExportFlag(SessionContext ctx,
java.lang.Boolean value)
Generated method - Setter of the
EventConfiguration.exportFlag attribute. |
void |
setExportName(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
EventConfiguration.exportName attribute. |
void |
setExportName(java.lang.String value)
Generated method - Setter of the
EventConfiguration.exportName attribute. |
void |
setExtensionName(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
EventConfiguration.extensionName attribute. |
void |
setExtensionName(java.lang.String value)
Generated method - Setter of the
EventConfiguration.extensionName attribute. |
void |
setMappingType(EnumerationValue value)
Generated method - Setter of the
EventConfiguration.mappingType attribute. |
void |
setMappingType(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
EventConfiguration.mappingType attribute. |
void |
setPriority(EnumerationValue value)
Generated method - Setter of the
EventConfiguration.priority attribute. |
void |
setPriority(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
EventConfiguration.priority attribute. |
protected void |
setVersion(int value)
Generated method - Setter of the
EventConfiguration.version attribute. |
protected void |
setVersion(java.lang.Integer value)
Generated method - Setter of the
EventConfiguration.version attribute. |
protected void |
setVersion(SessionContext ctx,
int value)
Generated method - Setter of the
EventConfiguration.version attribute. |
protected void |
setVersion(SessionContext ctx,
java.lang.Integer value)
Generated method - Setter of the
EventConfiguration.version 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 EVENTCLASS
EventConfiguration.eventClass attributepublic static final java.lang.String VERSION
EventConfiguration.version attributepublic static final java.lang.String EXPORTFLAG
EventConfiguration.exportFlag attributepublic static final java.lang.String PRIORITY
EventConfiguration.priority attributepublic static final java.lang.String EXPORTNAME
EventConfiguration.exportName attributepublic static final java.lang.String MAPPINGTYPE
EventConfiguration.mappingType attributepublic static final java.lang.String CONVERTERBEAN
EventConfiguration.converterBean attributepublic static final java.lang.String DESCRIPTION
EventConfiguration.description attributepublic static final java.lang.String EXTENSIONNAME
EventConfiguration.extensionName attributepublic static final java.lang.String EVENTPROPERTYCONFIGURATIONS
EventConfiguration.eventPropertyConfigurations attributepublic static final java.lang.String DESTINATIONTARGET
EventConfiguration.destinationTarget attributeprotected static final OneToManyHandler<EventPropertyConfiguration> EVENTPROPERTYCONFIGURATIONSHANDLER
OneToManyHandler for handling 1:n EVENTPROPERTYCONFIGURATIONS's relation attributes from 'many' side.protected static final BidirectionalOneToManyHandler<GeneratedEventConfiguration> DESTINATIONTARGETHANDLER
BidirectionalOneToManyHandler for handling 1:n DESTINATIONTARGET'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 java.lang.String getConverterBean(SessionContext ctx)
EventConfiguration.converterBean attribute.public java.lang.String getConverterBean()
EventConfiguration.converterBean attribute.public void setConverterBean(SessionContext ctx, java.lang.String value)
EventConfiguration.converterBean attribute.value - the converterBeanpublic void setConverterBean(java.lang.String value)
EventConfiguration.converterBean attribute.value - the converterBeanprotected 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 java.lang.String getDescription(SessionContext ctx)
EventConfiguration.description attribute.public java.lang.String getDescription()
EventConfiguration.description attribute.public void setDescription(SessionContext ctx, java.lang.String value)
EventConfiguration.description attribute.value - the descriptionpublic void setDescription(java.lang.String value)
EventConfiguration.description attribute.value - the descriptionpublic DestinationTarget getDestinationTarget(SessionContext ctx)
EventConfiguration.destinationTarget attribute.public DestinationTarget getDestinationTarget()
EventConfiguration.destinationTarget attribute.protected void setDestinationTarget(SessionContext ctx, DestinationTarget value)
EventConfiguration.destinationTarget attribute.value - the destinationTargetprotected void setDestinationTarget(DestinationTarget value)
EventConfiguration.destinationTarget attribute.value - the destinationTargetpublic java.lang.String getEventClass(SessionContext ctx)
EventConfiguration.eventClass attribute.public java.lang.String getEventClass()
EventConfiguration.eventClass attribute.public void setEventClass(SessionContext ctx, java.lang.String value)
EventConfiguration.eventClass attribute.value - the eventClasspublic void setEventClass(java.lang.String value)
EventConfiguration.eventClass attribute.value - the eventClasspublic java.util.List<EventPropertyConfiguration> getEventPropertyConfigurations(SessionContext ctx)
EventConfiguration.eventPropertyConfigurations attribute.public java.util.List<EventPropertyConfiguration> getEventPropertyConfigurations()
EventConfiguration.eventPropertyConfigurations attribute.public void setEventPropertyConfigurations(SessionContext ctx, java.util.List<EventPropertyConfiguration> value)
EventConfiguration.eventPropertyConfigurations attribute.value - the eventPropertyConfigurationspublic void setEventPropertyConfigurations(java.util.List<EventPropertyConfiguration> value)
EventConfiguration.eventPropertyConfigurations attribute.value - the eventPropertyConfigurationspublic void addToEventPropertyConfigurations(SessionContext ctx, EventPropertyConfiguration value)
value to eventPropertyConfigurations.value - the item to add to eventPropertyConfigurationspublic void addToEventPropertyConfigurations(EventPropertyConfiguration value)
value to eventPropertyConfigurations.value - the item to add to eventPropertyConfigurationspublic void removeFromEventPropertyConfigurations(SessionContext ctx, EventPropertyConfiguration value)
value from eventPropertyConfigurations.value - the item to remove from eventPropertyConfigurationspublic void removeFromEventPropertyConfigurations(EventPropertyConfiguration value)
value from eventPropertyConfigurations.value - the item to remove from eventPropertyConfigurationspublic java.lang.Boolean isExportFlag(SessionContext ctx)
EventConfiguration.exportFlag attribute.public java.lang.Boolean isExportFlag()
EventConfiguration.exportFlag attribute.public boolean isExportFlagAsPrimitive(SessionContext ctx)
EventConfiguration.exportFlag attribute.public boolean isExportFlagAsPrimitive()
EventConfiguration.exportFlag attribute.public void setExportFlag(SessionContext ctx, java.lang.Boolean value)
EventConfiguration.exportFlag attribute.value - the exportFlagpublic void setExportFlag(java.lang.Boolean value)
EventConfiguration.exportFlag attribute.value - the exportFlagpublic void setExportFlag(SessionContext ctx, boolean value)
EventConfiguration.exportFlag attribute.value - the exportFlagpublic void setExportFlag(boolean value)
EventConfiguration.exportFlag attribute.value - the exportFlagpublic java.lang.String getExportName(SessionContext ctx)
EventConfiguration.exportName attribute.public java.lang.String getExportName()
EventConfiguration.exportName attribute.public void setExportName(SessionContext ctx, java.lang.String value)
EventConfiguration.exportName attribute.value - the exportNamepublic void setExportName(java.lang.String value)
EventConfiguration.exportName attribute.value - the exportNamepublic java.lang.String getExtensionName(SessionContext ctx)
EventConfiguration.extensionName attribute.public java.lang.String getExtensionName()
EventConfiguration.extensionName attribute.public void setExtensionName(SessionContext ctx, java.lang.String value)
EventConfiguration.extensionName attribute.value - the extensionNamepublic void setExtensionName(java.lang.String value)
EventConfiguration.extensionName attribute.value - the extensionNamepublic EnumerationValue getMappingType(SessionContext ctx)
EventConfiguration.mappingType attribute.public EnumerationValue getMappingType()
EventConfiguration.mappingType attribute.public void setMappingType(SessionContext ctx, EnumerationValue value)
EventConfiguration.mappingType attribute.value - the mappingTypepublic void setMappingType(EnumerationValue value)
EventConfiguration.mappingType attribute.value - the mappingTypepublic EnumerationValue getPriority(SessionContext ctx)
EventConfiguration.priority attribute.public EnumerationValue getPriority()
EventConfiguration.priority attribute.public void setPriority(SessionContext ctx, EnumerationValue value)
EventConfiguration.priority attribute.value - the prioritypublic void setPriority(EnumerationValue value)
EventConfiguration.priority attribute.value - the prioritypublic java.lang.Integer getVersion(SessionContext ctx)
EventConfiguration.version attribute.public java.lang.Integer getVersion()
EventConfiguration.version attribute.public int getVersionAsPrimitive(SessionContext ctx)
EventConfiguration.version attribute.public int getVersionAsPrimitive()
EventConfiguration.version attribute.protected void setVersion(SessionContext ctx, java.lang.Integer value)
EventConfiguration.version attribute.value - the versionprotected void setVersion(java.lang.Integer value)
EventConfiguration.version attribute.value - the versionprotected void setVersion(SessionContext ctx, int value)
EventConfiguration.version attribute.value - the versionprotected void setVersion(int value)
EventConfiguration.version attribute.value - the versionCopyright © 2018 SAP SE. All Rights Reserved.