public abstract class GeneratedIntegrationObjectItem extends GenericItem
IntegrationObjectItem.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 |
ATTRIBUTES
Qualifier of the
IntegrationObjectItem.attributes attribute |
protected static OneToManyHandler<IntegrationObjectItemAttribute> |
ATTRIBUTESHANDLER
OneToManyHandler for handling 1:n ATTRIBUTES's relation attributes from 'many' side. |
static java.lang.String |
CODE
Qualifier of the
IntegrationObjectItem.code attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
INTEGRATIONOBJECT
Qualifier of the
IntegrationObjectItem.integrationObject attribute |
protected static BidirectionalOneToManyHandler<GeneratedIntegrationObjectItem> |
INTEGRATIONOBJECTHANDLER
BidirectionalOneToManyHandler for handling 1:n INTEGRATIONOBJECT's relation attributes from 'one' side. |
static java.lang.String |
TYPE
Qualifier of the
IntegrationObjectItem.type 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, staticTransientObjectsimpl, tenant| Constructor and Description |
|---|
GeneratedIntegrationObjectItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToAttributes(IntegrationObjectItemAttribute value)
Generated method - Adds
value to attributes. |
void |
addToAttributes(SessionContext ctx,
IntegrationObjectItemAttribute value)
Generated method - Adds
value to attributes. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
java.util.Set<IntegrationObjectItemAttribute> |
getAttributes()
Generated method - Getter of the
IntegrationObjectItem.attributes attribute. |
java.util.Set<IntegrationObjectItemAttribute> |
getAttributes(SessionContext ctx)
Generated method - Getter of the
IntegrationObjectItem.attributes attribute. |
java.lang.String |
getCode()
Generated method - Getter of the
IntegrationObjectItem.code attribute. |
java.lang.String |
getCode(SessionContext ctx)
Generated method - Getter of the
IntegrationObjectItem.code attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
IntegrationObject |
getIntegrationObject()
Generated method - Getter of the
IntegrationObjectItem.integrationObject attribute. |
IntegrationObject |
getIntegrationObject(SessionContext ctx)
Generated method - Getter of the
IntegrationObjectItem.integrationObject attribute. |
ComposedType |
getType()
Generated method - Getter of the
IntegrationObjectItem.type attribute. |
ComposedType |
getType(SessionContext ctx)
Generated method - Getter of the
IntegrationObjectItem.type attribute. |
void |
removeFromAttributes(IntegrationObjectItemAttribute value)
Generated method - Removes
value from attributes. |
void |
removeFromAttributes(SessionContext ctx,
IntegrationObjectItemAttribute value)
Generated method - Removes
value from attributes. |
void |
setAttributes(SessionContext ctx,
java.util.Set<IntegrationObjectItemAttribute> value)
Generated method - Setter of the
IntegrationObjectItem.attributes attribute. |
void |
setAttributes(java.util.Set<IntegrationObjectItemAttribute> value)
Generated method - Setter of the
IntegrationObjectItem.attributes attribute. |
void |
setCode(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
IntegrationObjectItem.code attribute. |
void |
setCode(java.lang.String value)
Generated method - Setter of the
IntegrationObjectItem.code attribute. |
void |
setIntegrationObject(IntegrationObject value)
Generated method - Setter of the
IntegrationObjectItem.integrationObject attribute. |
void |
setIntegrationObject(SessionContext ctx,
IntegrationObject value)
Generated method - Setter of the
IntegrationObjectItem.integrationObject attribute. |
void |
setType(ComposedType value)
Generated method - Setter of the
IntegrationObjectItem.type attribute. |
void |
setType(SessionContext ctx,
ComposedType value)
Generated method - Setter of the
IntegrationObjectItem.type 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 CODE
IntegrationObjectItem.code attributepublic static final java.lang.String INTEGRATIONOBJECT
IntegrationObjectItem.integrationObject attributepublic static final java.lang.String TYPE
IntegrationObjectItem.type attributepublic static final java.lang.String ATTRIBUTES
IntegrationObjectItem.attributes attributeprotected static final BidirectionalOneToManyHandler<GeneratedIntegrationObjectItem> INTEGRATIONOBJECTHANDLER
BidirectionalOneToManyHandler for handling 1:n INTEGRATIONOBJECT's relation attributes from 'one' side.protected static final OneToManyHandler<IntegrationObjectItemAttribute> ATTRIBUTESHANDLER
OneToManyHandler for handling 1:n ATTRIBUTES's relation attributes from 'many' 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.util.Set<IntegrationObjectItemAttribute> getAttributes(SessionContext ctx)
IntegrationObjectItem.attributes attribute.public java.util.Set<IntegrationObjectItemAttribute> getAttributes()
IntegrationObjectItem.attributes attribute.public void setAttributes(SessionContext ctx, java.util.Set<IntegrationObjectItemAttribute> value)
IntegrationObjectItem.attributes attribute.value - the attributespublic void setAttributes(java.util.Set<IntegrationObjectItemAttribute> value)
IntegrationObjectItem.attributes attribute.value - the attributespublic void addToAttributes(SessionContext ctx, IntegrationObjectItemAttribute value)
value to attributes.value - the item to add to attributespublic void addToAttributes(IntegrationObjectItemAttribute value)
value to attributes.value - the item to add to attributespublic void removeFromAttributes(SessionContext ctx, IntegrationObjectItemAttribute value)
value from attributes.value - the item to remove from attributespublic void removeFromAttributes(IntegrationObjectItemAttribute value)
value from attributes.value - the item to remove from attributespublic java.lang.String getCode(SessionContext ctx)
IntegrationObjectItem.code attribute.public java.lang.String getCode()
IntegrationObjectItem.code attribute.public void setCode(SessionContext ctx, java.lang.String value)
IntegrationObjectItem.code attribute.value - the codepublic void setCode(java.lang.String value)
IntegrationObjectItem.code attribute.value - the codeprotected 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 IntegrationObject getIntegrationObject(SessionContext ctx)
IntegrationObjectItem.integrationObject attribute.public IntegrationObject getIntegrationObject()
IntegrationObjectItem.integrationObject attribute.public void setIntegrationObject(SessionContext ctx, IntegrationObject value)
IntegrationObjectItem.integrationObject attribute.value - the integrationObjectpublic void setIntegrationObject(IntegrationObject value)
IntegrationObjectItem.integrationObject attribute.value - the integrationObjectpublic ComposedType getType(SessionContext ctx)
IntegrationObjectItem.type attribute.public ComposedType getType()
IntegrationObjectItem.type attribute.public void setType(SessionContext ctx, ComposedType value)
IntegrationObjectItem.type attribute.value - the typepublic void setType(ComposedType value)
IntegrationObjectItem.type attribute.value - the typeCopyright © 2018 SAP SE. All Rights Reserved.