public abstract class Placement extends GeneratedPlacement
GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationExceptionALLUSABLELAYOUTTEMPLATES, ALLUSABLEPLACEHOLDERTEMPLATES, AREAUSED, DEFAULT_INITIAL_ATTRIBUTES, DISPLAYNAME, FORCEPAGEBREAK, GRIDELEMENTID, INSTRUCTIONCOMMENT, LAYOUTTEMPLATE, PAGE, PAGEHANDLER, PAGENUMBER, PAGEPOS, PLACEHOLDERTEMPLATE, PLACEHOLDERVALUES, PLANNEDREVENUE, POSITION, POSITIONINPREVIEWPAGE, PREVIEW, REACHEDREVENUE, STATUS, STOCKID, PRINCIPAL2READABLEPUBLICATIONCOMPONENTRELATION_MARKMODIFIED, PRINCIPAL2READABLEPUBLICATIONCOMPONENTRELATION_SRC_ORDERED, PRINCIPAL2READABLEPUBLICATIONCOMPONENTRELATION_TGT_ORDERED, PRINCIPAL2WRITEABLEPUBLICATIONCOMPONENTRELATION_MARKMODIFIED, PRINCIPAL2WRITEABLEPUBLICATIONCOMPONENTRELATION_SRC_ORDERED, PRINCIPAL2WRITEABLEPUBLICATIONCOMPONENTRELATION_TGT_ORDERED, PUBLICATION, PUBLICATIONHANDLER, PUBLICATIONPOS, READPRINCIPALS, WRITEPRINCIPALSLANGUAGE_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 |
|---|
Placement() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillExpressionContext(ExpressionContext context)
Called by the {code}ExpressionPlaceholder{code} to get the expression context filled.
|
Map |
getAllDisplayName(SessionContext ctx)
Generated method - Getter of the
Placement.displayName attribute. |
Collection |
getAllUsableLayoutTemplates(SessionContext ctx)
Generated method - Getter of the
Placement.allUsableLayoutTemplates attribute. |
String |
getCrossReferenceAnchor()
Returns a Werk-II crossreference definition/anchor for this placement
|
String |
getCrossReferenceAnchor(SessionContext ctx)
Returns a Werk-II crossreference definition/anchor for this placement
|
String |
getCrossReferenceLink(Item sourceItem)
Returns a Werk-II crossreference link/reference to this placement (could be used as reference in other placement's text)
|
String |
getCrossReferenceLink(Item sourceItem,
SessionContext ctx)
Returns a Werk-II crossreference link/reference to this placement (could be used as reference in other placement's text)
|
String |
getDisplayName(SessionContext ctx)
Generated method - Getter of the
Placement.displayName attribute. |
String |
getPlaceholderValues(SessionContext ctx)
Generated method - Getter of the
Placement.placeholderValues attribute. |
Integer |
getPosition(SessionContext ctx)
Generated method - Getter of the
Placement.position attribute. |
Integer |
getPositionInPreviewPage(SessionContext ctx)
Generated method - Getter of the
Placement.positionInPreviewPage attribute. |
String |
getValue(String qualifier)
Returns the value of the given {code}Placeholder{code}.
|
boolean |
isReadable(Principal principal)
Returns true if principal can read this publication component
|
boolean |
isWritable(Principal principal)
Returns true if principal can write/change/delete this publication component
|
protected void |
prepareContext(ExpressionContext context) |
createItem, getAllDisplayName, getAllUsableLayoutTemplates, getAllUsablePlaceholderTemplates, getAllUsablePlaceholderTemplates, getAreaUsed, getAreaUsed, getAreaUsedAsPrimitive, getAreaUsedAsPrimitive, getDefaultAttributeModes, getDisplayName, getGridElementId, getGridElementId, getGridElementIdAsPrimitive, getGridElementIdAsPrimitive, getInstructionComment, getInstructionComment, getLayoutTemplate, getLayoutTemplate, getPage, getPage, getPageNumber, getPageNumber, getPageNumberAsPrimitive, getPageNumberAsPrimitive, getPlaceholderTemplate, getPlaceholderTemplate, getPlaceholderValues, getPlannedRevenue, getPlannedRevenue, getPlannedRevenueAsPrimitive, getPlannedRevenueAsPrimitive, getPosition, getPositionAsPrimitive, getPositionAsPrimitive, getPositionInPreviewPage, getPositionInPreviewPageAsPrimitive, getPositionInPreviewPageAsPrimitive, getPreview, getPreview, getReachedRevenue, getReachedRevenue, getReachedRevenueAsPrimitive, getReachedRevenueAsPrimitive, getStatus, getStatus, getStock, getStock, getStockAsPrimitive, getStockAsPrimitive, isForcePageBreak, isForcePageBreak, isForcePageBreakAsPrimitive, isForcePageBreakAsPrimitive, setAreaUsed, setAreaUsed, setAreaUsed, setAreaUsed, setForcePageBreak, setForcePageBreak, setForcePageBreak, setForcePageBreak, setGridElementId, setGridElementId, setGridElementId, setGridElementId, setInstructionComment, setInstructionComment, setLayoutTemplate, setLayoutTemplate, setPage, setPage, setPageNumber, setPageNumber, setPageNumber, setPageNumber, setPlaceholderTemplate, setPlaceholderTemplate, setPlannedRevenue, setPlannedRevenue, setPlannedRevenue, setPlannedRevenue, setReachedRevenue, setReachedRevenue, setReachedRevenue, setReachedRevenue, setStatus, setStatus, setStock, setStock, setStock, setStockaddToReadPrincipals, addToReadPrincipals, addToWritePrincipals, addToWritePrincipals, getId, getId, getPublication, getPublication, getReadPrincipals, getReadPrincipals, getReadPrincipalsCount, getReadPrincipalsCount, getWritePrincipals, getWritePrincipals, getWritePrincipalsCount, getWritePrincipalsCount, removeFromReadPrincipals, removeFromReadPrincipals, removeFromWritePrincipals, removeFromWritePrincipals, setId, setId, setPublication, setPublication, setReadPrincipals, setReadPrincipals, setWritePrincipals, setWritePrincipalsgetInitialProperties, 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, setTenantprotected void fillExpressionContext(ExpressionContext context)
public String getValue(String qualifier)
qualifier - qualifier of the {code}Placeholder{code}public Integer getPosition(SessionContext ctx)
GeneratedPlacementPlacement.position attribute.getPosition in class GeneratedPlacementpublic String getPlaceholderValues(SessionContext ctx)
GeneratedPlacementPlacement.placeholderValues attribute.getPlaceholderValues in class GeneratedPlacementpublic Collection getAllUsableLayoutTemplates(SessionContext ctx)
GeneratedPlacementPlacement.allUsableLayoutTemplates attribute.getAllUsableLayoutTemplates in class GeneratedPlacementpublic String getCrossReferenceAnchor()
public String getCrossReferenceAnchor(SessionContext ctx)
ctx - The SessionContextpublic String getCrossReferenceLink(Item sourceItem)
sourceItem - The item that references to this placementpublic String getCrossReferenceLink(Item sourceItem, SessionContext ctx)
sourceItem - The item that references to this placementctx - The SessionContextprotected void prepareContext(ExpressionContext context)
public Map getAllDisplayName(SessionContext ctx)
GeneratedPlacementPlacement.displayName attribute.getAllDisplayName in class GeneratedPlacementpublic String getDisplayName(SessionContext ctx)
GeneratedPlacementPlacement.displayName attribute.getDisplayName in class GeneratedPlacementpublic Integer getPositionInPreviewPage(SessionContext ctx)
GeneratedPlacementPlacement.positionInPreviewPage attribute.getPositionInPreviewPage in class GeneratedPlacementpublic boolean isReadable(Principal principal)
PublicationComponentisReadable in class PublicationComponentpublic boolean isWritable(Principal principal)
PublicationComponentisWritable in class PublicationComponentCopyright © 2017 SAP SE. All Rights Reserved.