|
SAP NetWeaver '04 | |||||||||
| 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
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,
IMutableConfigurable configurable)
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(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. |
| 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,
IMutableConfigurable configurable)
providerName - name of the entry point providerpriority - priority of the entry point providerisActive - determines if the provider is in state active or notconfigurable - config object of the provider where config information can be read from| 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 IEntryPointsProvideroptionalBundleFile - public String getOptionalBundleFile()
IEntryPointsProvider
getOptionalBundleFile in interface IEntryPointsProvider
public 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 request
WcmException
public 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 request
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,
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(RID targetRid,
IResourceContext context,
boolean nameAsFallback)
throws ResourceException
ResourceException
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||