|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sapportals.wcm.repository.manager.entrypoints.AbstractEntryPointsProvider
Generic functionalities to handle entry points
| Fields inherited from interface com.sapportals.wcm.repository.manager.entrypoints.IEntryPointsProvider |
IVIEW_PARAM_CONTEXT_ID |
| Constructor Summary | |
AbstractEntryPointsProvider(java.lang.String providerName,
int priority,
boolean isActive,
com.sapportals.wcm.repository.manager.entrypoints.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. |
java.lang.String |
getName()
Gets the name of the entry points provider |
java.lang.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(java.lang.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(java.lang.String providerName,
int priority,
boolean isActive,
com.sapportals.wcm.repository.manager.entrypoints.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 java.lang.String getName()
getName in interface IEntryPointsProviderpublic int getPriority()
getPriority in interface IEntryPointsProviderpublic boolean isActive()
isActive in interface IEntryPointsProviderpublic void setOptionalBundleFile(java.lang.String optionalBundleFile)
IEntryPointsProvidersetOptionalBundleFile in interface IEntryPointsProvidercom.sapportals.wcm.repository.manager.entrypoints.IEntryPointsProvideroptionalBundleFile - public java.lang.String getOptionalBundleFile()
IEntryPointsProvidergetOptionalBundleFile in interface IEntryPointsProvidercom.sapportals.wcm.repository.manager.entrypoints.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 requestWcmException -
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 requestWcmException -
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 requestResourceException -
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 requestResourceException -
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 requestedResourceException -
protected final IPropertyMap getPropertiesForInternalLink(RID targetRid,
IResourceContext context,
boolean nameAsFallback)
throws ResourceException
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||