|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.repository.manager.entrypoints.AbstractEntryPointsProvider
public abstract class AbstractEntryPointsProvider
Generic functionalities to handle entry points
| Field Summary |
|---|
| Fields inherited from interface com.sapportals.wcm.repository.manager.entrypoints.IEntryPointsProvider |
|---|
IVIEW_PARAM_CONTEXT_ID |
| Constructor Summary | |
|---|---|
AbstractEntryPointsProvider(String providerName,
int priority,
boolean isActive)
Constructs a new entry point provider |
|
| Method Summary | |
|---|---|
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(com.sapportals.wcm.util.uri.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,
com.sapportals.wcm.util.uri.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 use| Method Detail |
|---|
public String getName()
getName in interface IEntryPointsProviderpublic int getPriority()
getPriority in interface IEntryPointsProviderpublic boolean isActive()
isActive in interface IEntryPointsProviderpublic void setOptionalBundleFile(String optionalBundleFile)
IEntryPointsProvider
setOptionalBundleFile in interface IEntryPointsProviderpublic String getOptionalBundleFile()
IEntryPointsProvider
getOptionalBundleFile in interface IEntryPointsProvider
public void addAndRemoveRootEntryPoints(ICollection parentCollection,
IEntryPointList entryPoints,
DisplayMode displayMode)
throws com.sapportals.wcm.WcmException
addAndRemoveRootEntryPoints in interface IEntryPointsProviderparentCollection - root folder of the entry points repositoryentryPoints - entry point list that can be manipulateddisplayMode - display mode of the current request
com.sapportals.wcm.WcmException
public IEntryPointList getEntryPointChildren(ICollection parentCollection,
IEntryPoint parentEntryPoint,
DisplayMode displayMode)
throws com.sapportals.wcm.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 request
com.sapportals.wcm.WcmException
public 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 request
ResourceException
public 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 request
ResourceException
protected final IProperty getPropertyForInternalLink(IPropertyName propertyName,
com.sapportals.wcm.util.uri.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 requested
ResourceException
protected final IPropertyMap getPropertiesForInternalLink(com.sapportals.wcm.util.uri.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
|
|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||