|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The implementing class renders the given ICollection or
TypedResourceList. Classes should not be directly accessible but
only through the CollectionRendererFactory.
Implementing classes can - but do not have to - react on the parameters that
are available for the given resource.
| Field Summary | |
static String |
ORDERED_COLLECTION
ordered list behavior - entries and keys for Cache |
static String |
SORTED
|
static String |
UNSORTED
|
| Fields inherited from interface com.sapportals.wcm.rendering.base.ILayoutObject |
DEF_VALUE, KEY, LINE_BREAK |
| Method Summary | |
String |
getID()
|
IResourceContext |
getResourceContext()
|
void |
readInputData(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.
|
Component |
renderAll()
|
void |
setParentCollection(ICollection collection)
is called from the factory after instantiating a new collection renderer to set the collection which has to be rendered. |
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 |
setTypedResourceList(ITypedResourceList resourcelist)
is called from the factory after instantiating a new collection renderer to set the resourceList which has to be rendered. |
| Methods inherited from interface com.sapportals.wcm.rendering.base.ILayoutObject |
getAlias, getConfiguration, getFlavor, getNewInstance, getParameter, getParameters, getSupportedParameters, is508enabled, setAlias, setFlavor, setParameter, setParameters, setProxy |
| Methods inherited from interface com.sapportals.wcm.rendering.base.IDelegatedReceiver |
onEvent |
| Field Detail |
public static final String ORDERED_COLLECTION
public static final String UNSORTED
public static final String SORTED
| Method Detail |
public Component renderAll()
throws WcmException
WcmExceptionpublic void setParentCollection(ICollection collection)
setTypedResourceList(ITypedResourceList resourcelist)
method is called, i.e. when a search result has to be rendered.
collection - the collection to render (and whose chidren to render)public void setTypedResourceList(ITypedResourceList resourcelist)
setParentCollection(ICollection collection)
method is called, i.e. when a folder has to be rendered
resourcelist - the resourcelist to render (and whose members to render)public void setResourceContext(IResourceContext context)
null
public IResourceContext getResourceContext()
nullpublic String getID()
IProxy's method register. This ID will be stable
over http-requests.
public void readInputData(DynPage page)
throws WcmException
Components rendered by
the implementing class.
WcmExceptionpublic void setSortDefinition(SortDefinition sd)
public void refresh()
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.
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||