public class ConfigProxyItem extends Item implements JaloOnlySingletonItem
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException_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 |
|---|
ConfigProxyItem() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
booleanValue(String value) |
Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Returns an instance of this class.
|
Object |
doGetAttribute(SessionContext ctx,
String qualifier)
Should get the value of the given attribute if no
AttributeAccess has been
registered for it. |
void |
doSetAttribute(SessionContext ctx,
String qualifier,
Object value)
Should set the value of the given attribute if no
AttributeAccess has been
registered for it. |
protected String |
getExternalQualifier(String qualifier) |
int |
getInt(String qualifier,
int def) |
protected Serializable |
getPersistentValue(String qualifier) |
protected String |
getTransientValue(String qualifier) |
Object |
getValue(SessionContext ctx,
String qualifier) |
Object |
getValue(String qualifier) |
static Integer |
integerValue(String value) |
static Long |
longValue(String value) |
ComposedType |
provideComposedType()
Should provide the composed type of this item.
|
Date |
provideCreationTime()
Should provide a fixed creation time for this item.
|
Date |
provideModificationTime()
Should provide a modification time for this item.
|
PK |
providePK()
Should provide a fixed PK for this item.
|
void |
removeJaloOnly()
no-op
|
protected void |
setPersistentValue(String qualifier,
String value) |
protected void |
setTransientValue(String qualifier,
String value) |
void |
setValue(SessionContext ctx,
String qualifier,
Object value) |
void |
setValue(String qualifier,
Object value) |
protected boolean |
storeInDatabase(String qualifier) |
addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, createNonClassAccessor, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getDefaultAttributeModes, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getNonInitialAttributes, 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, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, readResolve, refreshRemote, 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, writeReplacegetImplementation, setTenantpublic PK providePK()
JaloOnlyItemprovidePK in interface JaloOnlyItempublic ComposedType provideComposedType()
JaloOnlyItemprovideComposedType in interface JaloOnlyItempublic Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
createItem in class Itemctx - 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 void removeJaloOnly()
throws ConsistencyCheckException
removeJaloOnly in interface JaloOnlyItemConsistencyCheckException - to signal that this item removal failedpublic Date provideCreationTime()
JaloOnlyItemprovideCreationTime in interface JaloOnlyItempublic Date provideModificationTime()
JaloOnlyItemprovideModificationTime in interface JaloOnlyItempublic Object doGetAttribute(SessionContext ctx, String qualifier)
JaloOnlyItemAttributeAccess has been
registered for it. Otherwise the value is read from the access instance.doGetAttribute in interface JaloOnlyItemctx - the session contextqualifier - the qualifier of the requested attributepublic int getInt(String qualifier, int def)
public Object getValue(SessionContext ctx, String qualifier)
public void doSetAttribute(SessionContext ctx, String qualifier, Object value) throws JaloBusinessException
JaloOnlyItemAttributeAccess has been
registered for it. Otherwise the value is read from the access instance.doSetAttribute in interface JaloOnlyItemctx - the session contextqualifier - the qualifier of the requested attributevalue - the new attribute valueJaloSecurityException - in case the session user is not allowed to write this attributeJaloBusinessException - in case any other error occuredpublic void setValue(SessionContext ctx, String qualifier, Object value)
protected Serializable getPersistentValue(String qualifier)
protected boolean storeInDatabase(String qualifier)
protected String getExternalQualifier(String qualifier)
Configpublic static boolean booleanValue(String value)
Copyright © 2017 SAP SE. All Rights Reserved.