SAP NetWeaver '04

com.sapportals.wcm.rendering.collection
Class LightCollectionRenderer

[contained in: com.sap.km.cm.ui.flex.par - km.shared.ui.flex.collection_api.jar]
com.sapportals.wcm.rendering.collection.LightCollectionRenderer
All Implemented Interfaces:
ICollectionRenderer, IDelegatedReceiver, ILayoutObject, IResourceListProvider

public abstract class LightCollectionRenderer
implements ICollectionRenderer, IResourceListProvider


Field Summary
static java.lang.String BASE_BUNDLE
           
static java.lang.String CM_RND_ACTION
           
static java.lang.String CM_RND_CHILDCOUNT
           
static java.lang.String CM_RND_CHILDCOUNT_BOTH
           
static java.lang.String CM_RND_CHILDCOUNT_FILES
           
static java.lang.String CM_RND_CHILDCOUNT_FOLDERS
           
static java.lang.String CM_RND_CHILDCOUNT_PROPERTY_NAME
           
static java.lang.String CM_RND_CHILDCOUNT_SUM
           
static java.lang.String CM_RND_CHILDCOUNT_WITH_BRACKETS
           
static java.lang.String CM_RND_CHILDCOUNT_WITH_BRACKETS_PROPERTY_NAME
           
static java.lang.String CM_RND_DESCRIPTION
           
static java.lang.String CM_RND_DISPLAYNAME
           
static java.lang.String CM_RND_ICON
           
static java.lang.String CM_RND_IMAGE
           
static java.lang.String CM_RND_LOCK
           
static java.lang.String DEFAULT_PROPERTY_COLUMNS
           
protected  int linksForPager
           
static java.lang.String NBSP
           
static java.lang.String RES_CONTENTSOF
           
static java.lang.String RES_SORT_ASCENDING
           
static java.lang.String RES_SORT_DESCENDING
           
 
Fields inherited from interface com.sapportals.wcm.rendering.collection.ICollectionRenderer
ORDERED_COLLECTION, SORTED, UNSORTED
 
Fields inherited from interface com.sapportals.wcm.rendering.base.ILayoutObject
DEF_VALUE, KEY, LINE_BREAK
 
Constructor Summary
LightCollectionRenderer()
           
 
Method Summary
protected  void createComponentValueMap()
           
 java.lang.String createUniqueID(java.lang.String idpart)
           
protected  void filterResourceList()
           
 java.lang.Object get(java.lang.String key)
           
 java.lang.String getAlias()
           
 com.sapportals.wcm.rendering.collection.BundleHandler getBundleHandler()
           
 java.lang.String getColumnSpacing()
           
protected  ComponentValueMap getComponentValueMap()
           
 java.lang.String getConfiguration(java.lang.String format)
          returns the supported parameters and the default values the class uses
protected  int getElementsPerPage()
           
 com.sapportals.wcm.repository.service.layout.customizing.flavor.IFlavor getFlavor()
           
 java.lang.String getID()
           
protected  int getIntValue(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key, int defValue)
           
protected  int getIntValue(java.lang.String key, int defValue)
           
protected  IRendererStatus getIRS()
           
protected  LayoutObject getLayoutObject()
           
 java.util.List getMultiValueParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key)
           
 java.lang.String getParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key)
           
 boolean getParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key, boolean defaultValue)
           
 int getParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key, int defaultValue)
           
 java.lang.String getParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key, java.lang.String defaultValue)
           
 com.sapportals.htmlb.enum.TextViewDesign getParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key, com.sapportals.htmlb.enum.TextViewDesign defaultValue)
           
 com.sapportals.wcm.repository.service.layout.customizing.IParameters getParameters()
          returns all parameters used in this layout object.
 com.sapportals.wcm.repository.service.layout.customizing.IParameters getParameters(com.sapportals.wcm.repository.service.layout.customizing.IParameterName[] keys)
           
 ICollection getParentCollection()
           
 IPropertyNameList getPropertyNames()
           
protected  IProxy getProxy()
           
protected  IResourceRenderer getRenderer(IResource res)
           
 IResourceContext getResourceContext()
           
protected  IResourceList getResourceList()
           
protected  com.sapportals.wcm.rendering.collection.LightCollectionRenderer.RenderInformationCollector getRIC()
           
 java.lang.String getRowSpacing()
           
 IResourceList getSelectedResources()
           
 int getStartRow()
           
 com.sapportals.wcm.repository.service.layout.customizing.IParameterName[] getSupportedParameters()
          returns all parameters which are used in this layout object.
protected  ITypedResourceList getTypedResourceList()
           
protected  ICollectionRenderer initNewInstance(ICollectionRenderer cr)
           
 boolean is508enabled()
           
 boolean isExactlyValue(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key, java.lang.Object checkValue)
           
 boolean isNoOtherValue(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key, java.lang.Object checkValue)
           
 boolean isVisible()
           
 IRenderingEvent onEvent(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wcm.rendering.collection.IParameterNameSet parameterNames()
           
 java.util.Set parameters()
           
 void readInputData(com.sapportals.htmlb.page.DynPage page)
          reads out the input of the modifiable Components rendered by the implementing class.
 void refresh()
          asks the implementing class to refresh its list of IResource objects.
 void removeParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key)
           
 com.sapportals.htmlb.Component renderAll()
           
protected  com.sapportals.htmlb.Component renderBreadcrumb()
           
protected  com.sapportals.htmlb.Component renderDecorations(com.sapportals.htmlb.Component comp)
           
 com.sapportals.htmlb.Component renderFolderTitle()
           
 com.sapportals.htmlb.Component renderItemSelectionMode(IResource res)
           
protected  com.sapportals.htmlb.Component renderPager(boolean hasMore, int pageInterval, int linkCount)
          creates a new instance of a Pager and returns its results of the render method.
protected  com.sapportals.htmlb.Component renderSearchHeader()
           
protected  com.sapportals.htmlb.Component renderUI()
           
 void resetSelection()
          clears the list of selected resources
 void set508enabled(boolean value)
           
 void setAlias(java.lang.String alias)
           
 void setFlavor(com.sapportals.wcm.repository.service.layout.customizing.flavor.IFlavor impFlavor)
          is called from the factory after instantiating a new layout object to set the flavor information coming from the Control or ILayoutController , asking for special instances of the IResourceRenderer used by the implementing class
 java.lang.Boolean setParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key, boolean value)
           
 java.lang.Integer setParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key, int value)
           
 java.lang.Object setParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key, java.lang.Object value)
           
 java.lang.String setParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key, java.lang.String value)
           
 com.sapportals.htmlb.enum.TextViewDesign setParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key, com.sapportals.htmlb.enum.TextViewDesign value)
           
 void setParameters(com.sapportals.wcm.repository.service.layout.customizing.IParameters parameters)
          is called from the factory after initializing this layout object.
 void setParentCollection(ICollection parent)
          is called from the factory after instantiating a new collection renderer to set the collection which has to be rendered.
 void setPropertyNames(IPropertyNameList nameList)
           
 void setProxy(IProxy proxy)
          it is the renderers responsibility to make itself known to the proxy.
 void setResourceContext(IResourceContext context)
          sets the context-attribute for the renderer.
 void setSortDefinition(SortDefinition sd)
          sets the sort-definition attribute for the implementing class.
 void setStartRow(int value)
           
 void setSupportedParameters(com.sapportals.wcm.repository.service.layout.customizing.IParameterName[] impKeys)
           
 void setTypedResourceList(ITypedResourceList typedresourcelist)
          is called from the factory after instantiating a new collection renderer to set the resourceList which has to be rendered.
protected  void sortResourceList(IPropertyNameList list, SortDefinition sd)
           
protected  void writeDebugInformation()
           
 
Methods inherited from interface com.sapportals.wcm.rendering.base.ILayoutObject
getNewInstance
 

Field Detail

NBSP

public static final java.lang.String NBSP

RES_SORT_ASCENDING

public static final java.lang.String RES_SORT_ASCENDING

RES_SORT_DESCENDING

public static final java.lang.String RES_SORT_DESCENDING

RES_CONTENTSOF

public static final java.lang.String RES_CONTENTSOF

BASE_BUNDLE

public static final java.lang.String BASE_BUNDLE

CM_RND_ACTION

public static final java.lang.String CM_RND_ACTION

CM_RND_DISPLAYNAME

public static final java.lang.String CM_RND_DISPLAYNAME

CM_RND_ICON

public static final java.lang.String CM_RND_ICON

CM_RND_IMAGE

public static final java.lang.String CM_RND_IMAGE

CM_RND_DESCRIPTION

public static final java.lang.String CM_RND_DESCRIPTION

CM_RND_LOCK

public static final java.lang.String CM_RND_LOCK

CM_RND_CHILDCOUNT

public static final java.lang.String CM_RND_CHILDCOUNT

CM_RND_CHILDCOUNT_WITH_BRACKETS

public static final java.lang.String CM_RND_CHILDCOUNT_WITH_BRACKETS

CM_RND_CHILDCOUNT_BOTH

public static final java.lang.String CM_RND_CHILDCOUNT_BOTH

CM_RND_CHILDCOUNT_SUM

public static final java.lang.String CM_RND_CHILDCOUNT_SUM

CM_RND_CHILDCOUNT_FOLDERS

public static final java.lang.String CM_RND_CHILDCOUNT_FOLDERS

CM_RND_CHILDCOUNT_FILES

public static final java.lang.String CM_RND_CHILDCOUNT_FILES

CM_RND_CHILDCOUNT_PROPERTY_NAME

public static final java.lang.String CM_RND_CHILDCOUNT_PROPERTY_NAME

CM_RND_CHILDCOUNT_WITH_BRACKETS_PROPERTY_NAME

public static final java.lang.String CM_RND_CHILDCOUNT_WITH_BRACKETS_PROPERTY_NAME

DEFAULT_PROPERTY_COLUMNS

public static final java.lang.String DEFAULT_PROPERTY_COLUMNS

linksForPager

protected int linksForPager
Constructor Detail

LightCollectionRenderer

public LightCollectionRenderer()
Method Detail

getRIC

protected com.sapportals.wcm.rendering.collection.LightCollectionRenderer.RenderInformationCollector getRIC()

initNewInstance

protected final ICollectionRenderer initNewInstance(ICollectionRenderer cr)

getAlias

public final java.lang.String getAlias()
Specified by:
getAlias in interface ILayoutObject

setAlias

public final void setAlias(java.lang.String alias)
Specified by:
setAlias in interface ILayoutObject

setFlavor

public final void setFlavor(com.sapportals.wcm.repository.service.layout.customizing.flavor.IFlavor impFlavor)
Description copied from interface: ILayoutObject
is called from the factory after instantiating a new layout object to set the flavor information coming from the Control or ILayoutController , asking for special instances of the IResourceRenderer used by the implementing class
Specified by:
setFlavor in interface ILayoutObject

getFlavor

public final com.sapportals.wcm.repository.service.layout.customizing.flavor.IFlavor getFlavor()
Specified by:
getFlavor in interface ILayoutObject
Following copied from interface: com.sapportals.wcm.rendering.base.ILayoutObject
Returns:
the flavor set for the implementing class

is508enabled

public boolean is508enabled()
Specified by:
is508enabled in interface ILayoutObject
Following copied from interface: com.sapportals.wcm.rendering.base.ILayoutObject
Returns:
flag, if this class renders its output in a way that is suited for blind people of people with viewing disabilities

set508enabled

public void set508enabled(boolean value)

setSupportedParameters

public final void setSupportedParameters(com.sapportals.wcm.repository.service.layout.customizing.IParameterName[] impKeys)

getSupportedParameters

public com.sapportals.wcm.repository.service.layout.customizing.IParameterName[] getSupportedParameters()
Description copied from interface: ILayoutObject
returns all parameters which are used in this layout object. Only parameters listed here will be set from the factory.
Specified by:
getSupportedParameters in interface ILayoutObject
Following copied from interface: com.sapportals.wcm.rendering.base.ILayoutObject
Returns:
a collection of all parameters that are used in the instance of the implementing class to modify the rendered output.
See Also:
ILayoutObject.setParameters(com.sapportals.wcm.repository.service.layout.customizing.IParameters)

getConfiguration

public final java.lang.String getConfiguration(java.lang.String format)
Description copied from interface: ILayoutObject
returns the supported parameters and the default values the class uses
Specified by:
getConfiguration in interface ILayoutObject

getParameter

public java.lang.String getParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key)
Specified by:
getParameter in interface ILayoutObject
Following copied from interface: com.sapportals.wcm.rendering.base.ILayoutObject
Returns:
the current entry for the given key or null. Note: a returned null does not indicate, that the ILayoutObject does not support this parameter!

getParameters

public com.sapportals.wcm.repository.service.layout.customizing.IParameters getParameters()
Description copied from interface: ILayoutObject
returns all parameters used in this layout object.
Specified by:
getParameters in interface ILayoutObject
Following copied from interface: com.sapportals.wcm.rendering.base.ILayoutObject
Returns:
the hashtable of all parameters that are supported and set by the implementing class

setParameter

public java.lang.String setParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key,
                                     java.lang.String value)
Specified by:
setParameter in interface ILayoutObject
Following copied from interface: com.sapportals.wcm.rendering.base.ILayoutObject
Parameters:
key - - the key of the parameter
value - - the value of the parameter Overwrites an existing entry of the parameters or adds it, if it is not set. Note: The Layout Object may not act on this parameter. To retrieve a list of supported parameters from an ILayoutObject instance

setParameters

public void setParameters(com.sapportals.wcm.repository.service.layout.customizing.IParameters parameters)
Description copied from interface: ILayoutObject
is called from the factory after initializing this layout object. Only parameters listed in the IParameterName[] getSupportedParameters() are set by the factory. With this method the rendering of the implementing class can be influenced. Classes can - but do not have to - react on the parameters supplied in this method
Specified by:
setParameters in interface ILayoutObject
Following copied from interface: com.sapportals.wcm.rendering.base.ILayoutObject
Parameters:
parameters - - the parameters retrieved from different sources (iView, OTH...) that influence the way the implementing class renders its output. If the parameter is not found in the class' getSupportedParameters, the value will not be set as parameter for this class. If for a certain key, no value is found in the given IParameters, the default value set in the class will not be overwritten. Example: The class returns as supported parameters the keys "A", "B". It has set the default parameters, so we find the key-value pairs: "A" -> a "B" -> b This method is called, with the following hashtable entries: "A" -> aa "C" -> cc After the method is called, the class holds following key-vlaue pairs: "A" -> aa (overwritten by passed hashtable values) "B" -> b (not overwritten, because the hashtable returned null for this key The key-value pair "C" -> cc is not used in the class, because the key was not found in its getSupportedParameters

setProxy

public final void setProxy(IProxy proxy)
it is the renderers responsibility to make itself known to the proxy. This method must be called only once per instantication of the renderer. The uniqueID set within this method will be used, when the renderer stores its IRendererStatus object within the proxy. When problems with persistence (lost selected resources or exception when reading out the user input) occur, this method and getIRS() should be closely evaluated.
Specified by:
setProxy in interface ILayoutObject
Parameters:
proxy - The new proxy value

getProxy

protected final IProxy getProxy()

isExactlyValue

public final boolean isExactlyValue(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key,
                                    java.lang.Object checkValue)

isNoOtherValue

public final boolean isNoOtherValue(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key,
                                    java.lang.Object checkValue)

getParameter

public final com.sapportals.htmlb.enum.TextViewDesign getParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key,
                                                                   com.sapportals.htmlb.enum.TextViewDesign defaultValue)

getParameter

public final java.lang.String getParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key,
                                           java.lang.String defaultValue)

getParameter

public final int getParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key,
                              int defaultValue)

getParameter

public final boolean getParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key,
                                  boolean defaultValue)

getMultiValueParameter

public final java.util.List getMultiValueParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key)

getParameters

public com.sapportals.wcm.repository.service.layout.customizing.IParameters getParameters(com.sapportals.wcm.repository.service.layout.customizing.IParameterName[] keys)

parameters

public final java.util.Set parameters()

parameterNames

public final com.sapportals.wcm.rendering.collection.IParameterNameSet parameterNames()

get

public final java.lang.Object get(java.lang.String key)

removeParameter

public void removeParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key)

setParameter

public final java.lang.Boolean setParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key,
                                            boolean value)

setParameter

public final java.lang.Integer setParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key,
                                            int value)

setParameter

public final com.sapportals.htmlb.enum.TextViewDesign setParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key,
                                                                   com.sapportals.htmlb.enum.TextViewDesign value)

setParameter

public final java.lang.Object setParameter(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key,
                                           java.lang.Object value)

getIntValue

protected final int getIntValue(java.lang.String key,
                                int defValue)

getIntValue

protected final int getIntValue(com.sapportals.wcm.repository.service.layout.customizing.IParameterName key,
                                int defValue)

setStartRow

public final void setStartRow(int value)
                       throws WcmException

getStartRow

public final int getStartRow()
                      throws WcmException

getPropertyNames

public final IPropertyNameList getPropertyNames()

setPropertyNames

public void setPropertyNames(IPropertyNameList nameList)

getLayoutObject

protected LayoutObject getLayoutObject()

getColumnSpacing

public java.lang.String getColumnSpacing()
Returns:
The columnSpacing value

getRowSpacing

public java.lang.String getRowSpacing()
Returns:
The rowSpacing value

renderPager

protected final com.sapportals.htmlb.Component renderPager(boolean hasMore,
                                                           int pageInterval,
                                                           int linkCount)
                                                    throws WcmException
creates a new instance of a Pager and returns its results of the render method. The current IProxy object of the renderer is used as target for any Events created by the pager. The pager class is used again in the onEvent method of the renderer.
Parameters:
hasMore - Description of the Parameter
pageInterval - Description of the Parameter
linkCount - Description of the Parameter
Returns:
Description of the Return Value
Throws:
WcmException - Description of the Exception

renderSearchHeader

protected final com.sapportals.htmlb.Component renderSearchHeader()
                                                           throws WcmException

renderFolderTitle

public com.sapportals.htmlb.Component renderFolderTitle()
                                                 throws WcmException

renderBreadcrumb

protected final com.sapportals.htmlb.Component renderBreadcrumb()
                                                         throws WcmException
Returns:
Description of the Return Value
Throws:
WcmException - Description of the Exception

renderItemSelectionMode

public final com.sapportals.htmlb.Component renderItemSelectionMode(IResource res)
                                                             throws WcmException

writeDebugInformation

protected final void writeDebugInformation()

setParentCollection

public void setParentCollection(ICollection parent)
Description copied from interface: ICollectionRenderer
is called from the factory after instantiating a new collection renderer to set the collection which has to be rendered. Instead of this method, the setTypedResourceList(ITypedResourceList resourcelist) method is called, i.e. when a search result has to be rendered.
Specified by:
setParentCollection in interface ICollectionRenderer
Following copied from interface: com.sapportals.wcm.rendering.collection.ICollectionRenderer
Parameters:
collection - the collection to render (and whose chidren to render)

setTypedResourceList

public final void setTypedResourceList(ITypedResourceList typedresourcelist)
Description copied from interface: ICollectionRenderer
is called from the factory after instantiating a new collection renderer to set the resourceList which has to be rendered. Instead of this method, the setParentCollection(ICollection collection) method is called, i.e. when a folder has to be rendered
Specified by:
setTypedResourceList in interface ICollectionRenderer
Following copied from interface: com.sapportals.wcm.rendering.collection.ICollectionRenderer
Parameters:
resourcelist - the resourcelist to render (and whose members to render)

getRenderer

protected final IResourceRenderer getRenderer(IResource res)
                                       throws WcmException

getParentCollection

public ICollection getParentCollection()

getTypedResourceList

protected ITypedResourceList getTypedResourceList()

renderAll

public com.sapportals.htmlb.Component renderAll()
                                         throws WcmException
Specified by:
renderAll in interface ICollectionRenderer
Following copied from interface: com.sapportals.wcm.rendering.collection.ICollectionRenderer
Returns:
Component an htmlb-Component that will be displayed. The calling class can include this component in another htmlb-Component.

renderDecorations

protected com.sapportals.htmlb.Component renderDecorations(com.sapportals.htmlb.Component comp)
                                                    throws WcmException

createComponentValueMap

protected void createComponentValueMap()
                                throws WcmException

getComponentValueMap

protected ComponentValueMap getComponentValueMap()
                                          throws WcmException

getElementsPerPage

protected int getElementsPerPage()

renderUI

protected com.sapportals.htmlb.Component renderUI()
                                           throws WcmException

filterResourceList

protected final void filterResourceList()
                                 throws WcmException

refresh

public void refresh()
Description copied from interface: ICollectionRenderer
asks the implementing class to refresh its list of IResource objects. This is needed, if a list that is displayed by this is modified after this has created its internal representation of these resources. This call is only useful, if the setParentCollection or setTypedResourceList method has been invoked in advance. This method can be very expensive, depending on the size of the resource list and the ordering and filtering calls that have to be carried out. In a standard scenario, this call is not needed, as the IProxyControl will refresh automatically all resource-list representations that use the proxy as persistence-layer. Implementations such as the AbstractCollectionRenderer may not react on this method at all, as they do not persist their resource list representations and therefore always have an up-to-date representation.
Specified by:
refresh in interface ICollectionRenderer

getIRS

protected IRendererStatus getIRS()
                          throws WcmException

createUniqueID

public java.lang.String createUniqueID(java.lang.String idpart)

readInputData

public void readInputData(com.sapportals.htmlb.page.DynPage page)
                   throws WcmException
Description copied from interface: ICollectionRenderer
reads out the input of the modifiable Components rendered by the implementing class.
Specified by:
readInputData in interface ICollectionRenderer

getID

public java.lang.String getID()
Specified by:
getID in interface ICollectionRenderer
Following copied from interface: com.sapportals.wcm.rendering.collection.ICollectionRenderer
Returns:
the ID of the renderer. The renderer can obtain an ID that will be unique within one browser window by using the return value of IProxy's method register. This ID will be stable over http-requests.

setResourceContext

public void setResourceContext(IResourceContext context)
Description copied from interface: ICollectionRenderer
sets the context-attribute for the renderer. Must not be null
Specified by:
setResourceContext in interface ICollectionRenderer

getResourceContext

public IResourceContext getResourceContext()
Specified by:
getResourceContext in interface ICollectionRenderer
Following copied from interface: com.sapportals.wcm.rendering.collection.ICollectionRenderer
Returns:
the context-attribute of the renderer. Does not return null

getBundleHandler

public com.sapportals.wcm.rendering.collection.BundleHandler getBundleHandler()

onEvent

public IRenderingEvent onEvent(com.sapportals.htmlb.event.Event event)
                        throws WcmException
Specified by:
onEvent in interface IDelegatedReceiver

setSortDefinition

public void setSortDefinition(SortDefinition sd)
Description copied from interface: ICollectionRenderer
sets the sort-definition attribute for the implementing class. This definition is used to specify the property the list is sorted by as well as the direction (top-down vs. bottom-up) of the sorting.
Specified by:
setSortDefinition in interface ICollectionRenderer

getSelectedResources

public final IResourceList getSelectedResources()
Specified by:
getSelectedResources in interface IResourceListProvider
Following copied from interface: com.sapportals.wcm.rendering.base.IResourceListProvider
Returns:
the list of resources that have been selected (e.g. by marking check boxes on a control) - must not return null

resetSelection

public void resetSelection()
Description copied from interface: IResourceListProvider
clears the list of selected resources
Specified by:
resetSelection in interface IResourceListProvider

getResourceList

protected IResourceList getResourceList()
                                 throws WcmException

sortResourceList

protected final void sortResourceList(IPropertyNameList list,
                                      SortDefinition sd)
                               throws WcmException

isVisible

public boolean isVisible()

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.