public abstract class GeneratedAbstractDestination extends GenericItem
AbstractDestination.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 |
ACTIVE
Qualifier of the
AbstractDestination.active attribute |
static java.lang.String |
ADDITIONALPROPERTIES
Qualifier of the
AbstractDestination.additionalProperties attribute |
static java.lang.String |
CHANNEL
Qualifier of the
AbstractDestination.channel attribute |
static java.lang.String |
CREDENTIAL
Qualifier of the
AbstractDestination.credential attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
ENDPOINT
Qualifier of the
AbstractDestination.endpoint attribute |
protected static BidirectionalOneToManyHandler<GeneratedAbstractDestination> |
ENDPOINTHANDLER
BidirectionalOneToManyHandler for handling 1:n ENDPOINT's relation attributes from 'one' side. |
static java.lang.String |
ID
Qualifier of the
AbstractDestination.id attribute |
static java.lang.String |
URL
Qualifier of the
AbstractDestination.url 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 |
|---|
GeneratedAbstractDestination() |
| 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.
|
java.util.Map<java.lang.String,java.lang.String> |
getAllAdditionalProperties()
Generated method - Getter of the
AbstractDestination.additionalProperties attribute. |
java.util.Map<java.lang.String,java.lang.String> |
getAllAdditionalProperties(SessionContext ctx)
Generated method - Getter of the
AbstractDestination.additionalProperties attribute. |
EnumerationValue |
getChannel()
Generated method - Getter of the
AbstractDestination.channel attribute. |
EnumerationValue |
getChannel(SessionContext ctx)
Generated method - Getter of the
AbstractDestination.channel attribute. |
AbstractCredential |
getCredential()
Generated method - Getter of the
AbstractDestination.credential attribute. |
AbstractCredential |
getCredential(SessionContext ctx)
Generated method - Getter of the
AbstractDestination.credential attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
Endpoint |
getEndpoint()
Generated method - Getter of the
AbstractDestination.endpoint attribute. |
Endpoint |
getEndpoint(SessionContext ctx)
Generated method - Getter of the
AbstractDestination.endpoint attribute. |
java.lang.String |
getId()
Generated method - Getter of the
AbstractDestination.id attribute. |
java.lang.String |
getId(SessionContext ctx)
Generated method - Getter of the
AbstractDestination.id attribute. |
java.lang.String |
getUrl()
Generated method - Getter of the
AbstractDestination.url attribute. |
java.lang.String |
getUrl(SessionContext ctx)
Generated method - Getter of the
AbstractDestination.url attribute. |
java.lang.Boolean |
isActive()
Generated method - Getter of the
AbstractDestination.active attribute. |
java.lang.Boolean |
isActive(SessionContext ctx)
Generated method - Getter of the
AbstractDestination.active attribute. |
boolean |
isActiveAsPrimitive()
Generated method - Getter of the
AbstractDestination.active attribute. |
boolean |
isActiveAsPrimitive(SessionContext ctx)
Generated method - Getter of the
AbstractDestination.active attribute. |
void |
setActive(boolean value)
Generated method - Setter of the
AbstractDestination.active attribute. |
void |
setActive(java.lang.Boolean value)
Generated method - Setter of the
AbstractDestination.active attribute. |
void |
setActive(SessionContext ctx,
boolean value)
Generated method - Setter of the
AbstractDestination.active attribute. |
void |
setActive(SessionContext ctx,
java.lang.Boolean value)
Generated method - Setter of the
AbstractDestination.active attribute. |
void |
setAllAdditionalProperties(java.util.Map<java.lang.String,java.lang.String> value)
Generated method - Setter of the
AbstractDestination.additionalProperties attribute. |
void |
setAllAdditionalProperties(SessionContext ctx,
java.util.Map<java.lang.String,java.lang.String> value)
Generated method - Setter of the
AbstractDestination.additionalProperties attribute. |
void |
setChannel(EnumerationValue value)
Generated method - Setter of the
AbstractDestination.channel attribute. |
void |
setChannel(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
AbstractDestination.channel attribute. |
void |
setCredential(AbstractCredential value)
Generated method - Setter of the
AbstractDestination.credential attribute. |
void |
setCredential(SessionContext ctx,
AbstractCredential value)
Generated method - Setter of the
AbstractDestination.credential attribute. |
protected void |
setEndpoint(Endpoint value)
Generated method - Setter of the
AbstractDestination.endpoint attribute. |
protected void |
setEndpoint(SessionContext ctx,
Endpoint value)
Generated method - Setter of the
AbstractDestination.endpoint attribute. |
protected void |
setId(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
AbstractDestination.id attribute. |
protected void |
setId(java.lang.String value)
Generated method - Setter of the
AbstractDestination.id attribute. |
void |
setUrl(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
AbstractDestination.url attribute. |
void |
setUrl(java.lang.String value)
Generated method - Setter of the
AbstractDestination.url attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, 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, 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 static final java.lang.String ID
AbstractDestination.id attributepublic static final java.lang.String URL
AbstractDestination.url attributepublic static final java.lang.String CHANNEL
AbstractDestination.channel attributepublic static final java.lang.String ACTIVE
AbstractDestination.active attributepublic static final java.lang.String ADDITIONALPROPERTIES
AbstractDestination.additionalProperties attributepublic static final java.lang.String CREDENTIAL
AbstractDestination.credential attributepublic static final java.lang.String ENDPOINT
AbstractDestination.endpoint attributeprotected static final BidirectionalOneToManyHandler<GeneratedAbstractDestination> ENDPOINTHANDLER
BidirectionalOneToManyHandler for handling 1:n ENDPOINT'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.Boolean isActive(SessionContext ctx)
AbstractDestination.active attribute.public java.lang.Boolean isActive()
AbstractDestination.active attribute.public boolean isActiveAsPrimitive(SessionContext ctx)
AbstractDestination.active attribute.public boolean isActiveAsPrimitive()
AbstractDestination.active attribute.public void setActive(SessionContext ctx, java.lang.Boolean value)
AbstractDestination.active attribute.value - the activepublic void setActive(java.lang.Boolean value)
AbstractDestination.active attribute.value - the activepublic void setActive(SessionContext ctx, boolean value)
AbstractDestination.active attribute.value - the activepublic void setActive(boolean value)
AbstractDestination.active attribute.value - the activepublic java.util.Map<java.lang.String,java.lang.String> getAllAdditionalProperties(SessionContext ctx)
AbstractDestination.additionalProperties attribute.public java.util.Map<java.lang.String,java.lang.String> getAllAdditionalProperties()
AbstractDestination.additionalProperties attribute.public void setAllAdditionalProperties(SessionContext ctx, java.util.Map<java.lang.String,java.lang.String> value)
AbstractDestination.additionalProperties attribute.value - the additionalPropertiespublic void setAllAdditionalProperties(java.util.Map<java.lang.String,java.lang.String> value)
AbstractDestination.additionalProperties attribute.value - the additionalPropertiespublic EnumerationValue getChannel(SessionContext ctx)
AbstractDestination.channel attribute.public EnumerationValue getChannel()
AbstractDestination.channel attribute.public void setChannel(SessionContext ctx, EnumerationValue value)
AbstractDestination.channel attribute.value - the channelpublic void setChannel(EnumerationValue value)
AbstractDestination.channel attribute.value - the channelprotected 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 AbstractCredential getCredential(SessionContext ctx)
AbstractDestination.credential attribute.public AbstractCredential getCredential()
AbstractDestination.credential attribute.public void setCredential(SessionContext ctx, AbstractCredential value)
AbstractDestination.credential attribute.value - the credentialpublic void setCredential(AbstractCredential value)
AbstractDestination.credential attribute.value - the credentialpublic Endpoint getEndpoint(SessionContext ctx)
AbstractDestination.endpoint attribute.public Endpoint getEndpoint()
AbstractDestination.endpoint attribute.protected void setEndpoint(SessionContext ctx, Endpoint value)
AbstractDestination.endpoint attribute.value - the endpointprotected void setEndpoint(Endpoint value)
AbstractDestination.endpoint attribute.value - the endpointpublic java.lang.String getId(SessionContext ctx)
AbstractDestination.id attribute.public java.lang.String getId()
AbstractDestination.id attribute.protected void setId(SessionContext ctx, java.lang.String value)
AbstractDestination.id attribute.value - the idprotected void setId(java.lang.String value)
AbstractDestination.id attribute.value - the idpublic java.lang.String getUrl(SessionContext ctx)
AbstractDestination.url attribute.public java.lang.String getUrl()
AbstractDestination.url attribute.public void setUrl(SessionContext ctx, java.lang.String value)
AbstractDestination.url attribute.value - the urlpublic void setUrl(java.lang.String value)
AbstractDestination.url attribute.value - the urlCopyright © 2018 SAP SE. All Rights Reserved.