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 Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
DESCRIPTION
Qualifier of the
StaticLink.description attribute |
static String |
DESCRIPTIONICON
Qualifier of the
StaticLink.descriptionIcon attribute |
static String |
EXTENSIONNAME
Qualifier of the
StaticLink.extensionName attribute |
static 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 String |
PARENTLINKPOS
Qualifier of the
StaticLink.parentLinkPOS attribute |
static 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 String |
TITLE
Qualifier of the
StaticLink.title attribute |
static 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.
|
Map<Language,String> |
getAllDescription()
Generated method - Getter of the
StaticLink.description attribute. |
Map<Language,String> |
getAllDescription(SessionContext ctx)
Generated method - Getter of the
StaticLink.description attribute. |
Map<Language,String> |
getAllTitle()
Generated method - Getter of the
StaticLink.title attribute. |
Map<Language,String> |
getAllTitle(SessionContext ctx)
Generated method - Getter of the
StaticLink.title attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
String |
getDescription()
Generated method - Getter of the
StaticLink.description attribute. |
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. |
String |
getExtensionName()
Generated method - Getter of the
StaticLink.extensionName attribute. |
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. |
List<StaticLink> |
getSublinks()
Generated method - Getter of the
StaticLink.sublinks attribute. |
List<StaticLink> |
getSublinks(SessionContext ctx)
Generated method - Getter of the
StaticLink.sublinks attribute. |
String |
getTitle()
Generated method - Getter of the
StaticLink.title attribute. |
String |
getTitle(SessionContext ctx)
Generated method - Getter of the
StaticLink.title attribute. |
String |
getUrl()
Generated method - Getter of the
StaticLink.url attribute. |
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(Map<Language,String> value)
Generated method - Setter of the
StaticLink.description attribute. |
void |
setAllDescription(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
StaticLink.description attribute. |
void |
setAllTitle(Map<Language,String> value)
Generated method - Setter of the
StaticLink.title attribute. |
void |
setAllTitle(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
StaticLink.title attribute. |
void |
setDescription(SessionContext ctx,
String value)
Generated method - Setter of the
StaticLink.description attribute. |
void |
setDescription(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,
String value)
Generated method - Setter of the
StaticLink.extensionName attribute. |
void |
setExtensionName(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(List<StaticLink> value)
Generated method - Setter of the
StaticLink.sublinks attribute. |
void |
setSublinks(SessionContext ctx,
List<StaticLink> value)
Generated method - Setter of the
StaticLink.sublinks attribute. |
void |
setTitle(SessionContext ctx,
String value)
Generated method - Setter of the
StaticLink.title attribute. |
void |
setTitle(String value)
Generated method - Setter of the
StaticLink.title attribute. |
void |
setUrl(SessionContext ctx,
String value)
Generated method - Setter of the
StaticLink.url attribute. |
void |
setUrl(String value)
Generated method - Setter of the
StaticLink.url attribute. |
addToReadPrincipals, addToReadPrincipals, getArea, getArea, getCode, getCode, getReadPrincipals, getReadPrincipals, getReadPrincipalsCount, getReadPrincipalsCount, getSortorder, getSortorder, getSortorderAsPrimitive, getSortorderAsPrimitive, 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, 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, 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 String TITLE
StaticLink.title attributepublic static final String DESCRIPTIONICON
StaticLink.descriptionIcon attributepublic static final String DESCRIPTION
StaticLink.description attributepublic static final String URL
StaticLink.url attributepublic static final String EXTENSIONNAME
StaticLink.extensionName attributepublic static final String PARENTLINKPOS
StaticLink.parentLinkPOS attributepublic static final String PARENTLINK
StaticLink.parentLink attributepublic static final 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 Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<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 String getDescription(SessionContext ctx)
StaticLink.description attribute.public String getDescription()
StaticLink.description attribute.public Map<Language,String> getAllDescription(SessionContext ctx)
StaticLink.description attribute.public Map<Language,String> getAllDescription()
StaticLink.description attribute.public void setDescription(SessionContext ctx, String value)
StaticLink.description attribute.value - the descriptionpublic void setDescription(String value)
StaticLink.description attribute.value - the descriptionpublic void setAllDescription(SessionContext ctx, Map<Language,String> value)
StaticLink.description attribute.value - the descriptionpublic void setAllDescription(Map<Language,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 String getExtensionName(SessionContext ctx)
StaticLink.extensionName attribute.public String getExtensionName()
StaticLink.extensionName attribute.public void setExtensionName(SessionContext ctx, String value)
StaticLink.extensionName attribute.value - the extensionNamepublic void setExtensionName(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 List<StaticLink> getSublinks(SessionContext ctx)
StaticLink.sublinks attribute.public List<StaticLink> getSublinks()
StaticLink.sublinks attribute.public void setSublinks(SessionContext ctx, List<StaticLink> value)
StaticLink.sublinks attribute.value - the sublinkspublic void setSublinks(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 String getTitle(SessionContext ctx)
StaticLink.title attribute.public String getTitle()
StaticLink.title attribute.public Map<Language,String> getAllTitle(SessionContext ctx)
StaticLink.title attribute.public Map<Language,String> getAllTitle()
StaticLink.title attribute.public void setTitle(SessionContext ctx, String value)
StaticLink.title attribute.value - the titlepublic void setTitle(String value)
StaticLink.title attribute.value - the titlepublic void setAllTitle(SessionContext ctx, Map<Language,String> value)
StaticLink.title attribute.value - the titlepublic void setAllTitle(Map<Language,String> value)
StaticLink.title attribute.value - the titlepublic String getUrl(SessionContext ctx)
StaticLink.url attribute.public String getUrl()
StaticLink.url attribute.public void setUrl(SessionContext ctx, String value)
StaticLink.url attribute.value - the url - If no url is provided, render link as textpublic void setUrl(String value)
StaticLink.url attribute.value - the url - If no url is provided, render link as textCopyright © 2017 SAP SE. All Rights Reserved.