SAP NetWeaver '04

com.sapportals.wcm.repository.manager.entrypoints
Interface IEntryPointsProvider

[contained in: com.sap.km.cm.repository.manager.par - km.shared.rep.util_api.jar]
All Known Implementing Classes:
AbstractEntryPointsProvider

public interface IEntryPointsProvider

Functionalities to handle entry points


Field Summary
static java.lang.String IVIEW_PARAM_CONTEXT_ID
          iView parameter that can be retrieved to get the context ID for internal processing
 
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
 IProperty getProperty(IPropertyName propertyName, IResource resource, IEntryPoint entryPoint, DisplayMode displayMode)
          Gets a property of an entry point represented by a resource
 boolean isActive()
          Checks if the provider is in state active
 void setOptionalBundleFile(java.lang.String optionalBundleFile)
          Sets the optional bundle file.
 

Field Detail

IVIEW_PARAM_CONTEXT_ID

public static final java.lang.String IVIEW_PARAM_CONTEXT_ID
iView parameter that can be retrieved to get the context ID for internal processing
Method Detail

addAndRemoveRootEntryPoints

public void addAndRemoveRootEntryPoints(ICollection parentCollection,
                                        IEntryPointList entryPoints,
                                        DisplayMode displayMode)
                                 throws WcmException
Handles the already existing list of entry points on the first level of the entry points hierarchy. New entry points can be added and entry points of other providers can be removed.
Parameters:
parentCollection - root folder of the entry points repository
entryPoints - entry point list that can be manipulated
displayMode - display mode of the current request
Throws:
WcmException -  

getEntryPointChildren

public IEntryPointList getEntryPointChildren(ICollection parentCollection,
                                             IEntryPoint parentEntryPoint,
                                             DisplayMode displayMode)
                                      throws WcmException
Gets entry points as children for a specific folder inside a entry points hierarchy. Only the provider that provided the first level entry point of this hierarchy is called.
Parameters:
parentCollection - parent folder inside the entry points repository
parentEntryPoint - parent entry point (also repesented as parent folder)
displayMode - display mode of the current request
Returns:
list of entry points as children of the parent entry point
Throws:
WcmException -  

getName

public java.lang.String getName()
Gets the name of the entry points provider
Returns:
provider name

getPriority

public int getPriority()
Gets the priority of the provider
Returns:
provider priority

isActive

public boolean isActive()
Checks if the provider is in state active
Returns:
true if the provider is active

setOptionalBundleFile

public void setOptionalBundleFile(java.lang.String optionalBundleFile)
Sets the optional bundle file.
Parameters:
optionalBundleFile -  

getOptionalBundleFile

public java.lang.String getOptionalBundleFile()
Gets the optional bundle file.
Returns:
optional bundle file name, if existing

getProperties

public IPropertyMap getProperties(IResource resource,
                                  IEntryPoint entryPoint,
                                  DisplayMode displayMode)
                           throws ResourceException
Gets properties of an entry point represented by a resource
Parameters:
resource - entry point resource
entryPoint - entry point (also repesented as resource)
displayMode - display mode of the current request
Returns:
properties of the entry point
Throws:
ResourceException -  

getProperty

public IProperty getProperty(IPropertyName propertyName,
                             IResource resource,
                             IEntryPoint entryPoint,
                             DisplayMode displayMode)
                      throws ResourceException
Gets a property of an entry point represented by a resource
Parameters:
propertyName - name of the property
resource - entry point resource
entryPoint - entry point (also repesented as resource)
displayMode - display mode of the current request
Returns:
property of the entry point
Throws:
ResourceException -  

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.