public abstract class AbstractEntryPointsProvider extends Object implements IEntryPointsProvider
IVIEW_PARAM_CONTEXT_ID| Constructor and Description |
|---|
AbstractEntryPointsProvider(String providerName,
int priority,
boolean isActive)
Constructs a new entry point provider
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAndRemoveRootEntryPoints(ICollection parentCollection,
IEntryPointList entryPoints,
DisplayMode displayMode)
Handles the already existing list of entry points on the first level of the entry points hierarchy.
|
IEntryPointList |
getEntryPointChildren(ICollection parentCollection,
IEntryPoint parentEntryPoint,
DisplayMode displayMode)
Gets entry points as children for a specific folder inside a entry points hierarchy.
|
String |
getName()
Gets the name of the entry points provider
|
String |
getOptionalBundleFile()
Gets the optional bundle file.
|
int |
getPriority()
Gets the priority of the provider
|
IPropertyMap |
getProperties(IResource resource,
IEntryPoint entryPoint,
DisplayMode displayMode)
Gets properties of an entry point represented by a resource
|
protected IPropertyMap |
getPropertiesForInternalLink(RID targetRid,
IResourceContext context,
boolean nameAsFallback) |
IProperty |
getProperty(IPropertyName propertyName,
IResource resource,
IEntryPoint entryPoint,
DisplayMode displayMode)
Gets a property of an entry point represented by a resource
|
protected IProperty |
getPropertyForInternalLink(IPropertyName propertyName,
RID targetRid,
IResourceContext context,
boolean nameAsFallback)
Gets a property for an internal link.
|
boolean |
isActive()
Checks if the provider is in state active
|
void |
setOptionalBundleFile(String optionalBundleFile)
Sets the optional bundle file.
|
public AbstractEntryPointsProvider(String providerName, int priority, boolean isActive)
providerName - name of the entry point providerpriority - priority of the entry point providerisActive - determines if the provider is in state active or not
Parameter configurable had to be removed since the referenced API is not released for public usepublic String getName()
getName in interface IEntryPointsProviderpublic int getPriority()
getPriority in interface IEntryPointsProviderpublic boolean isActive()
isActive in interface IEntryPointsProviderpublic void setOptionalBundleFile(String optionalBundleFile)
IEntryPointsProvidersetOptionalBundleFile in interface IEntryPointsProvideroptionalBundleFile - no descriptionpublic String getOptionalBundleFile()
IEntryPointsProvidergetOptionalBundleFile in interface IEntryPointsProviderpublic void addAndRemoveRootEntryPoints(ICollection parentCollection, IEntryPointList entryPoints, DisplayMode displayMode) throws WcmException
addAndRemoveRootEntryPoints in interface IEntryPointsProviderparentCollection - root folder of the entry points repositoryentryPoints - entry point list that can be manipulateddisplayMode - display mode of the current requestWcmException - no descriptionpublic IEntryPointList getEntryPointChildren(ICollection parentCollection, IEntryPoint parentEntryPoint, DisplayMode displayMode) throws WcmException
getEntryPointChildren in interface IEntryPointsProviderparentCollection - parent folder inside the entry points repositoryparentEntryPoint - parent entry point (also repesented as parent folder)displayMode - display mode of the current requestWcmException - no descriptionpublic IPropertyMap getProperties(IResource resource, IEntryPoint entryPoint, DisplayMode displayMode) throws ResourceException
getProperties in interface IEntryPointsProviderresource - entry point resourceentryPoint - entry point (also repesented as resource)displayMode - display mode of the current requestResourceException - no descriptionpublic IProperty getProperty(IPropertyName propertyName, IResource resource, IEntryPoint entryPoint, DisplayMode displayMode) throws ResourceException
getProperty in interface IEntryPointsProviderpropertyName - name of the propertyresource - entry point resourceentryPoint - entry point (also repesented as resource)displayMode - display mode of the current requestResourceException - no descriptionprotected final IProperty getPropertyForInternalLink(IPropertyName propertyName, RID targetRid, IResourceContext context, boolean nameAsFallback) throws ResourceException
propertyName - property nametargetRid - target RIDcontext - resource contextnameAsFallback - if true as last fallback the name of the target resource is used as display name,
if the display name property is requestedResourceException - no descriptionprotected final IPropertyMap getPropertiesForInternalLink(RID targetRid, IResourceContext context, boolean nameAsFallback) throws ResourceException
ResourceException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice