public abstract class GeneratedStaticLink extends AbstractLinkEntry
StaticLink.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 |
|---|---|
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
DESCRIPTION
Qualifier of the
StaticLink.description attribute |
static java.lang.String |
DESCRIPTIONICON
Qualifier of the
StaticLink.descriptionIcon attribute |
static java.lang.String |
EXTENSIONNAME
Qualifier of the
StaticLink.extensionName attribute |
static java.lang.String |
PARENTLINK
Qualifier of the
StaticLink.parentLink attribute |
protected static BidirectionalOneToManyHandler<GeneratedStaticLink> |
PARENTLINKHANDLER
BidirectionalOneToManyHandler for handling 1:n PARENTLINK's relation attributes from 'one' side. |
static java.lang.String |
PARENTLINKPOS
Qualifier of the
StaticLink.parentLinkPOS attribute |
static java.lang.String |
SUBLINKS
Qualifier of the
StaticLink.sublinks attribute |
protected static OneToManyHandler<StaticLink> |
SUBLINKSHANDLER
OneToManyHandler for handling 1:n SUBLINKS's relation attributes from 'many' side. |
static java.lang.String |
TITLE
Qualifier of the
StaticLink.title attribute |
static java.lang.String |
URL
Qualifier of the
StaticLink.url attribute |
AREA, CODE, PRINCIPAL2READABLEABSTRACTLINKENTRYRELATION_MARKMODIFIED, PRINCIPAL2READABLEABSTRACTLINKENTRYRELATION_SRC_ORDERED, PRINCIPAL2READABLEABSTRACTLINKENTRYRELATION_TGT_ORDERED, READPRINCIPALS, SORTORDERLANGUAGE_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 |
|---|
GeneratedStaticLink() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToSublinks(SessionContext ctx,
StaticLink value)
Generated method - Adds
value to sublinks. |
void |
addToSublinks(StaticLink value)
Generated method - Adds
value to sublinks. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
java.util.Map<Language,java.lang.String> |
getAllDescription()
Generated method - Getter of the
StaticLink.description attribute. |
java.util.Map<Language,java.lang.String> |
getAllDescription(SessionContext ctx)
Generated method - Getter of the
StaticLink.description attribute. |
java.util.Map<Language,java.lang.String> |
getAllTitle()
Generated method - Getter of the
StaticLink.title attribute. |
java.util.Map<Language,java.lang.String> |
getAllTitle(SessionContext ctx)
Generated method - Getter of the
StaticLink.title attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.String |
getDescription()
Generated method - Getter of the
StaticLink.description attribute. |
java.lang.String |
getDescription(SessionContext ctx)
Generated method - Getter of the
StaticLink.description attribute. |
Media |
getDescriptionIcon()
Generated method - Getter of the
StaticLink.descriptionIcon attribute. |
Media |
getDescriptionIcon(SessionContext ctx)
Generated method - Getter of the
StaticLink.descriptionIcon attribute. |
java.lang.String |
getExtensionName()
Generated method - Getter of the
StaticLink.extensionName attribute. |
java.lang.String |
getExtensionName(SessionContext ctx)
Generated method - Getter of the
StaticLink.extensionName attribute. |
StaticLink |
getParentLink()
Generated method - Getter of the
StaticLink.parentLink attribute. |
StaticLink |
getParentLink(SessionContext ctx)
Generated method - Getter of the
StaticLink.parentLink attribute. |
java.util.List<StaticLink> |
getSublinks()
Generated method - Getter of the
StaticLink.sublinks attribute. |
java.util.List<StaticLink> |
getSublinks(SessionContext ctx)
Generated method - Getter of the
StaticLink.sublinks attribute. |
java.lang.String |
getTitle()
Generated method - Getter of the
StaticLink.title attribute. |
java.lang.String |
getTitle(SessionContext ctx)
Generated method - Getter of the
StaticLink.title attribute. |
java.lang.String |
getUrl()
Generated method - Getter of the
StaticLink.url attribute. |
java.lang.String |
getUrl(SessionContext ctx)
Generated method - Getter of the
StaticLink.url attribute. |
void |
removeFromSublinks(SessionContext ctx,
StaticLink value)
Generated method - Removes
value from sublinks. |
void |
removeFromSublinks(StaticLink value)
Generated method - Removes
value from sublinks. |
void |
setAllDescription(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
StaticLink.description attribute. |
void |
setAllDescription(SessionContext ctx,
java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
StaticLink.description attribute. |
void |
setAllTitle(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
StaticLink.title attribute. |
void |
setAllTitle(SessionContext ctx,
java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
StaticLink.title attribute. |
void |
setDescription(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
StaticLink.description attribute. |
void |
setDescription(java.lang.String value)
Generated method - Setter of the
StaticLink.description attribute. |
void |
setDescriptionIcon(Media value)
Generated method - Setter of the
StaticLink.descriptionIcon attribute. |
void |
setDescriptionIcon(SessionContext ctx,
Media value)
Generated method - Setter of the
StaticLink.descriptionIcon attribute. |
void |
setExtensionName(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
StaticLink.extensionName attribute. |
void |
setExtensionName(java.lang.String value)
Generated method - Setter of the
StaticLink.extensionName attribute. |
void |
setParentLink(SessionContext ctx,
StaticLink value)
Generated method - Setter of the
StaticLink.parentLink attribute. |
void |
setParentLink(StaticLink value)
Generated method - Setter of the
StaticLink.parentLink attribute. |
void |
setSublinks(java.util.List<StaticLink> value)
Generated method - Setter of the
StaticLink.sublinks attribute. |
void |
setSublinks(SessionContext ctx,
java.util.List<StaticLink> value)
Generated method - Setter of the
StaticLink.sublinks attribute. |
void |
setTitle(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
StaticLink.title attribute. |
void |
setTitle(java.lang.String value)
Generated method - Setter of the
StaticLink.title attribute. |
void |
setUrl(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
StaticLink.url attribute. |
void |
setUrl(java.lang.String value)
Generated method - Setter of the
StaticLink.url attribute. |
addToReadPrincipals, addToReadPrincipals, getArea, getArea, getCode, getCode, getReadPrincipals, getReadPrincipals, getReadPrincipalsCount, getReadPrincipalsCount, getSortorder, getSortorder, getSortorderAsPrimitive, getSortorderAsPrimitive, isMarkModifiedDisabled, removeFromReadPrincipals, removeFromReadPrincipals, setArea, setArea, setCode, setCode, setReadPrincipals, setReadPrincipals, setSortorder, setSortorder, setSortorder, setSortordergetInitialProperties, 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, 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 TITLE
StaticLink.title attributepublic static final java.lang.String DESCRIPTIONICON
StaticLink.descriptionIcon attributepublic static final java.lang.String DESCRIPTION
StaticLink.description attributepublic static final java.lang.String URL
StaticLink.url attributepublic static final java.lang.String EXTENSIONNAME
StaticLink.extensionName attributepublic static final java.lang.String PARENTLINKPOS
StaticLink.parentLinkPOS attributepublic static final java.lang.String PARENTLINK
StaticLink.parentLink attributepublic static final java.lang.String SUBLINKS
StaticLink.sublinks attributeprotected static final BidirectionalOneToManyHandler<GeneratedStaticLink> PARENTLINKHANDLER
BidirectionalOneToManyHandler for handling 1:n PARENTLINK's relation attributes from 'one' side.protected static final OneToManyHandler<StaticLink> SUBLINKSHANDLER
OneToManyHandler for handling 1:n SUBLINKS'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 GeneratedAbstractLinkEntryprotected 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 AbstractLinkEntryctx - 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)
StaticLink.description attribute.public java.lang.String getDescription()
StaticLink.description attribute.public java.util.Map<Language,java.lang.String> getAllDescription(SessionContext ctx)
StaticLink.description attribute.public java.util.Map<Language,java.lang.String> getAllDescription()
StaticLink.description attribute.public void setDescription(SessionContext ctx, java.lang.String value)
StaticLink.description attribute.value - the descriptionpublic void setDescription(java.lang.String value)
StaticLink.description attribute.value - the descriptionpublic void setAllDescription(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
StaticLink.description attribute.value - the descriptionpublic void setAllDescription(java.util.Map<Language,java.lang.String> value)
StaticLink.description attribute.value - the descriptionpublic Media getDescriptionIcon(SessionContext ctx)
StaticLink.descriptionIcon attribute.public Media getDescriptionIcon()
StaticLink.descriptionIcon attribute.public void setDescriptionIcon(SessionContext ctx, Media value)
StaticLink.descriptionIcon attribute.value - the descriptionIconpublic void setDescriptionIcon(Media value)
StaticLink.descriptionIcon attribute.value - the descriptionIconpublic java.lang.String getExtensionName(SessionContext ctx)
StaticLink.extensionName attribute.public java.lang.String getExtensionName()
StaticLink.extensionName attribute.public void setExtensionName(SessionContext ctx, java.lang.String value)
StaticLink.extensionName attribute.value - the extensionNamepublic void setExtensionName(java.lang.String value)
StaticLink.extensionName attribute.value - the extensionNamepublic StaticLink getParentLink(SessionContext ctx)
StaticLink.parentLink attribute.public StaticLink getParentLink()
StaticLink.parentLink attribute.public void setParentLink(SessionContext ctx, StaticLink value)
StaticLink.parentLink attribute.value - the parentLinkpublic void setParentLink(StaticLink value)
StaticLink.parentLink attribute.value - the parentLinkpublic java.util.List<StaticLink> getSublinks(SessionContext ctx)
StaticLink.sublinks attribute.public java.util.List<StaticLink> getSublinks()
StaticLink.sublinks attribute.public void setSublinks(SessionContext ctx, java.util.List<StaticLink> value)
StaticLink.sublinks attribute.value - the sublinkspublic void setSublinks(java.util.List<StaticLink> value)
StaticLink.sublinks attribute.value - the sublinkspublic void addToSublinks(SessionContext ctx, StaticLink value)
value to sublinks.value - the item to add to sublinkspublic void addToSublinks(StaticLink value)
value to sublinks.value - the item to add to sublinkspublic void removeFromSublinks(SessionContext ctx, StaticLink value)
value from sublinks.value - the item to remove from sublinkspublic void removeFromSublinks(StaticLink value)
value from sublinks.value - the item to remove from sublinkspublic java.lang.String getTitle(SessionContext ctx)
StaticLink.title attribute.public java.lang.String getTitle()
StaticLink.title attribute.public java.util.Map<Language,java.lang.String> getAllTitle(SessionContext ctx)
StaticLink.title attribute.public java.util.Map<Language,java.lang.String> getAllTitle()
StaticLink.title attribute.public void setTitle(SessionContext ctx, java.lang.String value)
StaticLink.title attribute.value - the titlepublic void setTitle(java.lang.String value)
StaticLink.title attribute.value - the titlepublic void setAllTitle(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
StaticLink.title attribute.value - the titlepublic void setAllTitle(java.util.Map<Language,java.lang.String> value)
StaticLink.title attribute.value - the titlepublic java.lang.String getUrl(SessionContext ctx)
StaticLink.url attribute.public java.lang.String getUrl()
StaticLink.url attribute.public void setUrl(SessionContext ctx, java.lang.String value)
StaticLink.url attribute.value - the url - If no url is provided, render link as textpublic void setUrl(java.lang.String value)
StaticLink.url attribute.value - the url - If no url is provided, render link as textCopyright © 2018 SAP SE. All Rights Reserved.