public abstract class SlimCollectionRenderer extends Object implements ICollectionRenderer, ICollectionRendererParameterNameConst, IResourceListProvider, IParameters, IUniqueIDSupplier
ORDERED_COLLECTION, SORTED, UNSORTED
DEF_VALUE, KEY, LINE_BREAK
BACKGROUNDIMAGEPATH, BACKGROUNDIMAGESTYLE, BACKGROUNDIMAGESTYLE_MULTIPLE, BACKGROUNDIMAGESTYLE_SINGLE, BREADCRUMBSTYLE, BREADCRUMBSTYLE_BACK, BREADCRUMBSTYLE_DRPODOWN, BREADCRUMBSTYLE_HORIZONTAL, BREADCRUMBSTYLE_OFF, BREADCRUMBSTYLE_VERTICAL, BREADCRUMBVISIBILITYSTYLE, BREADCRUMBVISIBILITYSTYLE_DISABLEROOT, BREADCRUMBVISIBILITYSTYLE_INVISIBLE, BREADCRUMBVISIBILITYSTYLE_INVISIBLEROOT, BREADCRUMBVISIBILITYSTYLE_NOICON, BREADCRUMBVISIBILITYSTYLE_STANDARD, COLLECTION_ACTIONSTYLE, COLLECTION_ACTIONSTYLE_BUTTON, COLLECTION_ACTIONSTYLE_HOVER, COLLECTION_ACTIONSTYLE_LINK, COLLECTION_ACTIONSTYLE_MENU, COLLECTION_ACTIONSTYLE_OFF, COLLECTION_ACTIONSTYLE_SMALLBUTTON, COLLECTION_ACTIONSTYLE_TOOLBAR_BUTTON, COLUMNS, COLUMNSPACING, COLUMNSPACINGSTYLE, COLUMNSPACINGSTYLE_FIXED, COLUMNSPACINGSTYLE_MINIMUM, COMPONENTS, EMPTY_COLLECTION_FILE, EMPTY_COLLECTION_KEY, EMPTY_COLLECTION_STYLE, EMPTY_COLLECTION_STYLE_MESSAGE, EMPTY_COLLECTION_STYLE_OFF, EMPTY_COLLECTION_STYLE_TEXT, FILESELECTIONMODE_MULTIPLE, FILESELECTIONMODE_SINGLE, FILTEREXTENSION, FILTERMIMETYPE, FILTERRESOURCETYPE, FOLDERSELECTIONMODE_MULTIPLE, FOLDERSELECTIONMODE_SINGLE, GRIDORDERSTYLE, GRIDORDERSTYLE_COLUMN_MAJOR, GRIDORDERSTYLE_ROW_MAJOR, GROUP_STYLE, GROUP_STYLE_OFF, GROUP_STYLE_PRIMARYCOLOR, GROUP_STYLE_SAPCOLOR, GROUP_STYLE_SECONDARYBOX, GROUP_STYLE_SECONDARYBOXCOLOR, GROUP_STYLE_SECONDARYCOLOR, HEADER_TEXT_STYLE, HTML_FILENAME, IMAGEMAP, ITEMSELECTIONMODE, ITEMSELECTIONMODE_MULTIPLE, ITEMSELECTIONMODE_OFF, ITEMSELECTIONMODE_SINGLE, LINKSSTYLE, LINKSSTYLE_ALL, LINKSSTYLE_EXTERNAL, LINKSSTYLE_INTERNAL, LINKSSTYLE_OFF, LINKSSTYLE_VISIBLE, MASSACTIONSTYLE, MASSACTIONSTYLE_BUTTON, MASSACTIONSTYLE_HOVER, MASSACTIONSTYLE_ICON, MASSACTIONSTYLE_LINK, MASSACTIONSTYLE_MENU, MASSACTIONSTYLE_OFF, MASSACTIONSTYLE_SMALLBUTTON, MASSACTIONSTYLE_TOOLBAR_BUTTON, MASSACTIONSTYLE_VERTICAL_LINK, MAX_NUM_OF_TABS, NO_OF_CHILD_FOR_NODE, NO_TAB_CONTENT, OPEN_NODES_STYLE, OPEN_NODES_STYLE_All, OPEN_NODES_STYLE_LAST_SELECTED, OPENTARGETTYPE, OPENTARGETTYPE_FIXED, OPENTARGETTYPE_NEW, OPENTARGETTYPE_OFF, OPENTARGETTYPE_SELF, PAGER_LINK_COUNT, PAGER_SHOW_NUMBER, PROPERTY_COLUMN_HEADER_STYLE, PROPERTY_COLUMN_HEADER_STYLE_LIST, PROPERTY_COLUMN_HEADER_STYLE_MENUE, PROPERTY_COLUMN_HEADER_STYLE_OFF, PROPERTY_COLUMN_HEADER_STYLE_TABLE, PROPERTY_COLUMN_HEADER_STYLE_TRANSPARENT, PROPERTYCOLUMNS, RESIZEHEIGHTSTYLE, RESIZEHEIGHTSTYLE_COMPACT, RESIZEHEIGHTSTYLE_OFF, RESIZEHEIGHTSTYLE_STRETCH, RESIZEWIDHTSTYLE, RESIZEWIDHTSTYLE_COMPACT, RESIZEWIDHTSTYLE_OFF, RESIZEWIDHTSTYLE_STRETCH, RESOURCE_LIST_FILTER, RESOURCE_LIST_FILTER_DEFAULT, ROWBACKGROUNDSTYLE, ROWS, ROWSPACING, ROWSPACINGSTYLE, ROWSPACINGSTYLE_ALTERNATING, ROWSPACINGSTYLE_BACKGROUND, ROWSPACINGSTYLE_COLUMNALTERNATING, ROWSPACINGSTYLE_COLUMNSEPARATED, ROWSPACINGSTYLE_FIXED, ROWSPACINGSTYLE_LINESEPARATED, ROWSPACINGSTYLE_MINIMUM, ROWSPACINGSTYLE_ROWALTERNATING, ROWSPACINGSTYLE_TRANSPARENT, SHOW_HIDDEN, SHOW_TREE_ROOT_NODE, SHOWFILESSTYLE, SHOWFILESSTYLE_ALL, SHOWFILESSTYLE_NOLINK, SHOWFILESSTYLE_OFF, SHOWFILESTYLE_ONLYLINK, SHOWFOLDERSSTYLE, SHOWFOLDERSSTYLE_ALL, SHOWFOLDERSSTYLE_NOLINK, SHOWFOLDERSSTYLE_OFF, SHOWFOLDERSSTYLE_ONLYLINK, SHOWFOLDERTITLE, SHOWUSERID, SHOWUSERNAME, SORT_ENABLED, SORT_ORDER, SORT_ORDER_ASCENDING, SORT_ORDER_DESCENDING, SORT_PROPERTY, TAB_BODY_FLAVOR, TAB_STYLE_SAFE, UI_COLL_RENDERER, UI_GROUP_COLLECTION, UI_GROUP_MASS, USE_SCROLL_CONTAINER, VERTICAL_ALIGNMENT, VERTICAL_ALIGNMENT_BASELINE, VERTICAL_ALIGNMENT_BOTTOM, VERTICAL_ALIGNMENT_MIDDLE, VERTICAL_ALIGNMENT_TOP
Constructor and Description |
---|
SlimCollectionRenderer()
Deprecated.
As of NetWeaver 7.1
|
Modifier and Type | Method and Description |
---|---|
protected void |
createComponentValueMap()
Deprecated.
As of NetWeaver 7.1
|
String |
createUniqueID(String idpart)
Deprecated.
As of NetWeaver 7.1
|
protected void |
filterResourceList()
Deprecated.
As of NetWeaver 7.1
|
Object |
get(String key)
Deprecated.
As of NetWeaver 7.1
|
String |
getAlias()
Deprecated.
As of NetWeaver 7.1
|
BundleHandler |
getBundleHandler()
Deprecated.
As of NetWeaver 7.1
|
String |
getColumnSpacing()
Deprecated.
As of NetWeaver 7.1
|
protected ComponentValueMap |
getComponentValueMap()
Deprecated.
As of NetWeaver 7.1
|
String |
getConfiguration(String format)
Deprecated.
As of NetWeaver 7.1
|
protected int |
getElementsPerPage()
Deprecated.
As of NetWeaver 7.1
|
IFlavor |
getFlavor()
Deprecated.
As of NetWeaver 7.1
|
String |
getID()
Deprecated.
As of NetWeaver 7.1
|
protected int |
getIntValue(IParameterName key,
int defValue)
Deprecated.
As of NetWeaver 7.1
|
protected int |
getIntValue(String key,
int defValue)
Deprecated.
As of NetWeaver 7.1
|
protected IRendererStatus |
getIRS()
Deprecated.
As of NetWeaver 7.1
|
protected LayoutObject |
getLayoutObject()
Deprecated.
As of NetWeaver 7.1
|
IRenderingEntry |
getModel()
Deprecated.
As of NetWeaver 7.1
|
List |
getMultiValueParameter(IParameterName key)
Deprecated.
As of NetWeaver 7.1
|
String |
getParameter(IParameterName key)
Deprecated.
As of NetWeaver 7.1
|
boolean |
getParameter(IParameterName key,
boolean defaultValue)
Deprecated.
As of NetWeaver 7.1
|
int |
getParameter(IParameterName key,
int defaultValue)
Deprecated.
As of NetWeaver 7.1
|
String |
getParameter(IParameterName key,
String defaultValue)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.enums.TextViewDesign |
getParameter(IParameterName key,
com.sapportals.htmlb.enums.TextViewDesign defaultValue)
Deprecated.
As of NetWeaver 7.1
|
IParameters |
getParameters()
Deprecated.
As of NetWeaver 7.1
|
IParameters |
getParameters(IParameterName[] keys)
Deprecated.
As of NetWeaver 7.1
|
ICollection |
getParentCollection()
Deprecated.
As of NetWeaver 7.1
|
IPropertyNameList |
getPropertyNames()
Deprecated.
As of NetWeaver 7.1
|
protected IProxy |
getProxy()
Deprecated.
As of NetWeaver 7.1
|
protected IResourceRenderer |
getRenderer(IResource res)
Deprecated.
As of NetWeaver 7.1
|
IResourceContext |
getResourceContext()
Deprecated.
As of NetWeaver 7.1
|
protected com.sapportals.wcm.rendering.collection.SlimCollectionRenderer.RenderInformationCollector |
getRIC()
Deprecated.
As of NetWeaver 7.1
|
String |
getRowSpacing()
Deprecated.
As of NetWeaver 7.1
|
IResourceList |
getSelectedResources()
Deprecated.
As of NetWeaver 7.1
|
int |
getStartRow()
Deprecated.
As of NetWeaver 7.1
|
IParameterName[] |
getSupportedParameters()
Deprecated.
As of NetWeaver 7.1
|
protected ITypedResourceList |
getTypedResourceList()
Deprecated.
As of NetWeaver 7.1
|
protected ICollectionRenderer |
initNewInstance(ICollectionRenderer cr)
Deprecated.
As of NetWeaver 7.1
|
boolean |
is508enabled()
Deprecated.
As of NetWeaver 7.1
|
boolean |
isExactlyValue(IParameterName key,
Object checkValue)
Deprecated.
As of NetWeaver 7.1
|
boolean |
isNoOtherValue(IParameterName key,
Object checkValue)
Deprecated.
As of NetWeaver 7.1
|
boolean |
isVisible()
Deprecated.
As of NetWeaver 7.1
|
IRenderingEvent |
onEvent(com.sapportals.htmlb.event.Event event)
Deprecated.
As of NetWeaver 7.1
|
IParameterNameSet |
parameterNames()
Deprecated.
As of NetWeaver 7.1
|
Set |
parameters()
Deprecated.
As of NetWeaver 7.1
|
void |
readInputData(com.sapportals.htmlb.page.DynPage page)
Deprecated.
As of NetWeaver 7.1
|
void |
refresh()
Deprecated.
As of NetWeaver 7.1
|
void |
removeParameter(IParameterName key)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.Component |
renderAll()
Deprecated.
As of NetWeaver 7.1
|
protected com.sapportals.htmlb.Component |
renderBreadcrumb()
Deprecated.
As of NetWeaver 7.1
|
protected com.sapportals.htmlb.Component |
renderDecorations(com.sapportals.htmlb.Component comp)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.Component |
renderFolderTitle()
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.Component |
renderItemSelectionMode(IResource res)
Deprecated.
As of NetWeaver 7.1
|
protected com.sapportals.htmlb.Component |
renderPager(boolean hasMore,
int pageInterval,
int linkCount)
Deprecated.
As of NetWeaver 7.1
|
protected com.sapportals.htmlb.Component |
renderSearchHeader()
Deprecated.
As of NetWeaver 7.1
|
protected com.sapportals.htmlb.Component |
renderUI()
Deprecated.
As of NetWeaver 7.1
|
void |
resetSelection()
Deprecated.
As of NetWeaver 7.1
|
void |
set508enabled(boolean value)
Deprecated.
As of NetWeaver 7.1
|
void |
setAlias(String alias)
Deprecated.
As of NetWeaver 7.1
|
void |
setFlavor(IFlavor impFlavor)
Deprecated.
As of NetWeaver 7.1
|
Boolean |
setParameter(IParameterName key,
boolean value)
Deprecated.
As of NetWeaver 7.1
|
Integer |
setParameter(IParameterName key,
int value)
Deprecated.
As of NetWeaver 7.1
|
Object |
setParameter(IParameterName key,
Object value)
Deprecated.
As of NetWeaver 7.1
|
String |
setParameter(IParameterName key,
String value)
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.enums.TextViewDesign |
setParameter(IParameterName key,
com.sapportals.htmlb.enums.TextViewDesign value)
Deprecated.
As of NetWeaver 7.1
|
void |
setParameters(IParameters parameters)
Deprecated.
As of NetWeaver 7.1
|
void |
setParentCollection(ICollection parent)
Deprecated.
As of NetWeaver 7.1
|
void |
setPropertyNames(IPropertyNameList nameList)
Deprecated.
As of NetWeaver 7.1
|
void |
setProxy(IProxy proxy)
Deprecated.
As of NetWeaver 7.1
|
void |
setResourceContext(IResourceContext context)
Deprecated.
As of NetWeaver 7.1
|
void |
setSortDefinition(SortDefinition sd)
Deprecated.
As of NetWeaver 7.1
|
void |
setStartRow(int value)
Deprecated.
As of NetWeaver 7.1
|
void |
setSupportedParameters(IParameterName[] impKeys)
Deprecated.
As of NetWeaver 7.1
|
void |
setTypedResourceList(ITypedResourceList typedresourcelist)
Deprecated.
As of NetWeaver 7.1
|
protected void |
sortResourceList(IPropertyNameList list,
SortDefinition sd)
Deprecated.
As of NetWeaver 7.1
|
protected void |
writeDebugInformation()
Deprecated.
As of NetWeaver 7.1
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNewInstance
public static final String NBSP
public static final String RES_SORT_ASCENDING
public static final String RES_SORT_DESCENDING
public static final String RES_CONTENTSOF
public static final String BASE_BUNDLE
public static final String CM_RND_ACTION
public static final String CM_RND_DISPLAYNAME
public static final String CM_RND_ICON
public static final String CM_RND_IMAGE
public static final String CM_RND_DESCRIPTION
public static final String CM_RND_LOCK
public static final String CM_RND_CHILDCOUNT
public static final String CM_RND_CHILDCOUNT_WITH_BRACKETS
public static final String CM_RND_CHILDCOUNT_BOTH
public static final String CM_RND_CHILDCOUNT_SUM
public static final String CM_RND_CHILDCOUNT_FOLDERS
public static final String CM_RND_CHILDCOUNT_FILES
public static final String CM_RND_CHILDCOUNT_PROPERTY_NAME
public static final String CM_RND_CHILDCOUNT_WITH_BRACKETS_PROPERTY_NAME
public static final String DEFAULT_PROPERTY_COLUMNS
protected int linksForPager
public SlimCollectionRenderer()
protected com.sapportals.wcm.rendering.collection.SlimCollectionRenderer.RenderInformationCollector getRIC()
protected final ICollectionRenderer initNewInstance(ICollectionRenderer cr)
public final String getAlias()
getAlias
in interface ILayoutObject
public final void setAlias(String alias)
setAlias
in interface ILayoutObject
alias
- aliaspublic final void setFlavor(IFlavor impFlavor)
ILayoutObject
Control
or ILayoutController
,
asking for special instances of the IResourceRenderer
used by the implementing classsetFlavor
in interface ILayoutObject
impFlavor
- flavorpublic final IFlavor getFlavor()
getFlavor
in interface ILayoutObject
public boolean is508enabled()
is508enabled
in interface ILayoutObject
public void set508enabled(boolean value)
public final void setSupportedParameters(IParameterName[] impKeys)
public IParameterName[] getSupportedParameters()
ILayoutObject
getSupportedParameters
in interface ILayoutObject
ILayoutObject.setParameters(com.sapportals.wcm.repository.service.layout.customizing.IParameters)
public final String getConfiguration(String format)
ILayoutObject
getConfiguration
in interface ILayoutObject
format
- formatpublic String getParameter(IParameterName key)
IParameters
null
if the
parameter is not found.getParameter
in interface ILayoutObject
getParameter
in interface IParameters
key
- keynull
. Note: a
returned null
does not indicate, that the ILayoutObject
does not support this parameter!public IParameters getParameters()
ILayoutObject
getParameters
in interface ILayoutObject
public String setParameter(IParameterName key, String value)
IParameters
map.put(key, value)
method. This method is parrallel to the String
getParameter(IParameterName key)
method.setParameter
in interface ILayoutObject
setParameter
in interface IParameters
key
- - the key of the parametervalue
- - 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
instancepublic void setParameters(IParameters parameters)
ILayoutObject
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 methodsetParameters
in interface ILayoutObject
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:
k: "A" v: a
k: "B" v: b
This method is called, with the following hashtable entries:
k: "A" v: aa
k: "C" v: cc
After the method is called, the class holds following key-vlaue pairs:
k: "A" v: aa (overwritten by passed hashtable values)
k: "B" v: b (not overwritten, because the hashtable returned null
for this key
The key-value pair k: "C" v: cc is not used in the class, because the key was not found in its
getSupportedParameters
public final void setProxy(IProxy proxy)
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.setProxy
in interface ILayoutObject
proxy
- The new proxy valueprotected final IProxy getProxy()
public final boolean isExactlyValue(IParameterName key, Object checkValue)
IParameters
Object get(String key)
method an true is returned
when a value is found which equals the specified value.isExactlyValue
in interface IParameters
key
- the parameters key to searchcheckValue
- the value to compare withIParameters.get(String key)
public final boolean isNoOtherValue(IParameterName key, Object checkValue)
IParameters
Object get(String key)
method an true is returned
when no value is not found or the found value equals the specified value.isNoOtherValue
in interface IParameters
key
- the parameters key to searchcheckValue
- the value to compare withIParameters.get(String key)
public final com.sapportals.htmlb.enums.TextViewDesign getParameter(IParameterName key, com.sapportals.htmlb.enums.TextViewDesign defaultValue)
IParameters
TextViewDesign
. If the stored String
can not be converted into a TextViewDesign
null is returned.getParameter
in interface IParameters
key
- the parameters key.defaultValue
- a default value.public final String getParameter(IParameterName key, String defaultValue)
IParameters
getParameter
in interface IParameters
key
- the parameters key.public final int getParameter(IParameterName key, int defaultValue)
IParameters
int
if possible.getParameter
in interface IParameters
key
- the parameters key.defaultValue
- a default value.public final boolean getParameter(IParameterName key, boolean defaultValue)
IParameters
boolean
. The boolean
returned
represents the value true
if the parameters value is equal, ignoring case, to the string "true"
.
Example: Boolean.valueOf("True") returns true .
Example: Boolean.valueOf("yes") returns false .
getParameter
in interface IParameters
key
- the parameters key.defaultValue
- a default value.public final List getMultiValueParameter(IParameterName key)
IParameters
null
if the
parameter is not found.
The parameter is returned as java.util.List
, even if it is
a single Value Parameter. The class of the returned objects in the list
can be asked via
key.getMetaDate().getParameterClass()
getMultiValueParameter
in interface IParameters
key
- the parameters key.public IParameters getParameters(IParameterName[] keys)
getParameters
in interface IParameters
public final Set parameters()
IParameters
entrySet()
this set is not backed up by the map, but it contains all paramters accessible via this Paramters
map, this means, all paramters contained in the map, in the default map and in all included parameter sets.parameters
in interface IParameters
public final IParameterNameSet parameterNames()
IParameters
parameterNames
in interface IParameters
Enumeration
public final Object get(String key)
IParameters
get
in interface IParameters
key
- a key of the parameter.null
if the key is not mapped
to any value in this parameters set or in the default.public void removeParameter(IParameterName key)
IParameters
removeParameter
in interface IParameters
public final Boolean setParameter(IParameterName key, boolean value)
IParameters
map.put(key, value)
method. This method is parrallel to the String
getParameter(IParameterName key)
method. Here an int
can be provided. The value will be
stored as String
.setParameter
in interface IParameters
key
- The key for the new Parametervalue
- The value for the new Parameterpublic final Integer setParameter(IParameterName key, int value)
IParameters
map.put(key, value)
method. This method is parrallel to the String
getParameter(IParameterName key)
method. Here an int
can be provided. The value will be
stored as String
.setParameter
in interface IParameters
key
- The key for the new Parametervalue
- The value for the new Parameterpublic final com.sapportals.htmlb.enums.TextViewDesign setParameter(IParameterName key, com.sapportals.htmlb.enums.TextViewDesign value)
IParameters
map.put(key, value)
method. This method is parrallel to the String
getParameter(IParameterName key)
method. Here an TextViewDesign
can be provided. The value
will be stored as String
.setParameter
in interface IParameters
key
- The key for the new Parametervalue
- The value for the new Parameterpublic final Object setParameter(IParameterName key, Object value)
setParameter
in interface IParameters
protected final int getIntValue(String key, int defValue)
protected final int getIntValue(IParameterName key, int defValue)
public final void setStartRow(int value) throws WcmException
WcmException
public final int getStartRow() throws WcmException
WcmException
public final IPropertyNameList getPropertyNames()
public void setPropertyNames(IPropertyNameList nameList)
protected LayoutObject getLayoutObject()
public String getColumnSpacing()
public String getRowSpacing()
protected final com.sapportals.htmlb.Component renderPager(boolean hasMore, int pageInterval, int linkCount) throws WcmException
Pager
and returns its results of the
render
method. The current IProxy
object of the renderer
is used as target for any Event
s created by the pager. The pager
class is used again in the onEvent
method of the renderer.hasMore
- Description of the ParameterpageInterval
- Description of the ParameterlinkCount
- Description of the ParameterWcmException
- Description of the Exceptionprotected final com.sapportals.htmlb.Component renderSearchHeader() throws WcmException
WcmException
public com.sapportals.htmlb.Component renderFolderTitle() throws WcmException
WcmException
protected final com.sapportals.htmlb.Component renderBreadcrumb() throws WcmException
WcmException
- Description of the Exceptionpublic final com.sapportals.htmlb.Component renderItemSelectionMode(IResource res) throws WcmException
WcmException
protected final void writeDebugInformation()
public void setParentCollection(ICollection parent)
ICollectionRenderer
setTypedResourceList(ITypedResourceList resourcelist)
method is called, i.e. when a search result has to be rendered.setParentCollection
in interface ICollectionRenderer
parent
- the collection to render (and whose chidren to render)public final void setTypedResourceList(ITypedResourceList typedresourcelist)
ICollectionRenderer
setParentCollection(ICollection collection)
method is called, i.e. when a folder has to be renderedsetTypedResourceList
in interface ICollectionRenderer
typedresourcelist
- the resourcelist to render (and whose members to render)protected final IResourceRenderer getRenderer(IResource res) throws WcmException
WcmException
public ICollection getParentCollection()
protected ITypedResourceList getTypedResourceList() throws WcmException
WcmException
public com.sapportals.htmlb.Component renderAll() throws WcmException
renderAll
in interface ICollectionRenderer
WcmException
protected com.sapportals.htmlb.Component renderDecorations(com.sapportals.htmlb.Component comp) throws WcmException
WcmException
protected void createComponentValueMap() throws WcmException
WcmException
protected ComponentValueMap getComponentValueMap() throws WcmException
WcmException
protected int getElementsPerPage()
protected com.sapportals.htmlb.Component renderUI() throws WcmException
WcmException
protected final void filterResourceList() throws WcmException
WcmException
public void refresh()
ICollectionRenderer
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.refresh
in interface ICollectionRenderer
protected IRendererStatus getIRS() throws WcmException
WcmException
public IRenderingEntry getModel() throws WcmException
WcmException
public String createUniqueID(String idpart)
IUniqueIDSupplier
createUniqueID
in interface IUniqueIDSupplier
public void readInputData(com.sapportals.htmlb.page.DynPage page) throws WcmException
ICollectionRenderer
Component
s rendered by
the implementing class.readInputData
in interface ICollectionRenderer
WcmException
public String getID()
getID
in interface IResourceListProvider
getID
in interface ICollectionRenderer
IProxy
's method register
. This ID will be stable
over http-requests.public void setResourceContext(IResourceContext context)
ICollectionRenderer
null
setResourceContext
in interface ICollectionRenderer
public IResourceContext getResourceContext()
getResourceContext
in interface ICollectionRenderer
null
public BundleHandler getBundleHandler()
public IRenderingEvent onEvent(com.sapportals.htmlb.event.Event event) throws WcmException
onEvent
in interface IDelegatedReceiver
WcmException
public void setSortDefinition(SortDefinition sd)
ICollectionRenderer
setSortDefinition
in interface ICollectionRenderer
public final IResourceList getSelectedResources()
getSelectedResources
in interface IResourceListProvider
null
public void resetSelection()
IResourceListProvider
resetSelection
in interface IResourceListProvider
protected final void sortResourceList(IPropertyNameList list, SortDefinition sd) throws WcmException
WcmException
public boolean isVisible()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice