|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.rendering.collection.SlimCollectionRenderer
public abstract class SlimCollectionRenderer
| Field Summary | |
|---|---|
static String |
BASE_BUNDLE
Deprecated. |
static String |
CM_RND_ACTION
Deprecated. |
static String |
CM_RND_CHILDCOUNT
Deprecated. |
static String |
CM_RND_CHILDCOUNT_BOTH
Deprecated. |
static String |
CM_RND_CHILDCOUNT_FILES
Deprecated. |
static String |
CM_RND_CHILDCOUNT_FOLDERS
Deprecated. |
static String |
CM_RND_CHILDCOUNT_PROPERTY_NAME
Deprecated. |
static String |
CM_RND_CHILDCOUNT_SUM
Deprecated. |
static String |
CM_RND_CHILDCOUNT_WITH_BRACKETS
Deprecated. |
static String |
CM_RND_CHILDCOUNT_WITH_BRACKETS_PROPERTY_NAME
Deprecated. |
static String |
CM_RND_DESCRIPTION
Deprecated. |
static String |
CM_RND_DISPLAYNAME
Deprecated. |
static String |
CM_RND_ICON
Deprecated. |
static String |
CM_RND_IMAGE
Deprecated. |
static String |
CM_RND_LOCK
Deprecated. |
static String |
DEFAULT_PROPERTY_COLUMNS
Deprecated. |
protected int |
linksForPager
Deprecated. |
static String |
NBSP
Deprecated. |
static String |
RES_CONTENTSOF
Deprecated. |
static String |
RES_SORT_ASCENDING
Deprecated. |
static String |
RES_SORT_DESCENDING
Deprecated. |
| 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 | |
|---|---|
SlimCollectionRenderer()
Deprecated. As of NetWeaver 7.1 |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sapportals.wcm.rendering.base.ILayoutObject |
|---|
getNewInstance |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public SlimCollectionRenderer()
| Method Detail |
|---|
protected com.sapportals.wcm.rendering.collection.SlimCollectionRenderer.RenderInformationCollector getRIC()
protected final ICollectionRenderer initNewInstance(ICollectionRenderer cr)
public final String getAlias()
getAlias in interface ILayoutObjectpublic final void setAlias(String alias)
setAlias in interface ILayoutObjectpublic final void setFlavor(IFlavor impFlavor)
ILayoutObjectControl or ILayoutController ,
asking for special instances of the IResourceRenderer used by the implementing class
setFlavor in interface ILayoutObjectpublic final IFlavor getFlavor()
getFlavor in interface ILayoutObjectpublic boolean is508enabled()
is508enabled in interface ILayoutObjectpublic void set508enabled(boolean value)
public final void setSupportedParameters(IParameterName[] impKeys)
public IParameterName[] getSupportedParameters()
ILayoutObject
getSupportedParameters in interface ILayoutObjectILayoutObject.setParameters(com.sapportals.wcm.repository.service.layout.customizing.IParameters)public final String getConfiguration(String format)
ILayoutObject
getConfiguration in interface ILayoutObjectpublic String getParameter(IParameterName key)
IParametersnull if the
parameter is not found.
getParameter in interface ILayoutObjectgetParameter in interface IParameterskey - the parameters key.
null. 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 ILayoutObjectsetParameter in interface IParameterskey - - 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 instance
public 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 method
setParameters in interface ILayoutObjectparameters - - 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
getSupportedParameterspublic 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 ILayoutObjectproxy - 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 IParameterskey - the parameters key to searchcheckValue - the value to compare with
IParameters.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 IParameterskey - the parameters key to searchcheckValue - the value to compare with
IParameters.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 IParameterskey - the parameters key.defaultValue - a default value.
public final String getParameter(IParameterName key,
String defaultValue)
IParameters
getParameter in interface IParameterskey - the parameters key.
public final int getParameter(IParameterName key,
int defaultValue)
IParameters int if possible.
getParameter in interface IParameterskey - 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 IParameterskey - the parameters key.defaultValue - a default value.
public final List getMultiValueParameter(IParameterName key)
IParametersnull 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 IParameterskey - the parameters key.
public IParameters getParameters(IParameterName[] keys)
getParameters in interface IParameterspublic 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 IParameterspublic final IParameterNameSet parameterNames()
IParameters
parameterNames in interface IParametersEnumerationpublic final Object get(String key)
IParameters
get in interface IParameterskey - 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 IParameterskey - The key for the new Parametervalue - The value for the new Parameter
public 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 IParameterskey - The key for the new Parametervalue - The value for the new Parameter
public 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 IParameterskey - The key for the new Parametervalue - The value for the new Parameter
public 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
WcmExceptionpublic 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 Events 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 Parameter
WcmException - Description of the Exception
protected 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 Exception
public final com.sapportals.htmlb.Component renderItemSelectionMode(IResource res)
throws WcmException
WcmExceptionprotected final void writeDebugInformation()
public void setParentCollection(ICollection parent)
ICollectionRenderersetTypedResourceList(ITypedResourceList resourcelist)
method is called, i.e. when a search result has to be rendered.
setParentCollection in interface ICollectionRendererparent - the collection to render (and whose chidren to render)public final void setTypedResourceList(ITypedResourceList typedresourcelist)
ICollectionRenderersetParentCollection(ICollection collection)
method is called, i.e. when a folder has to be rendered
setTypedResourceList in interface ICollectionRenderertypedresourcelist - the resourcelist to render (and whose members to render)
protected final IResourceRenderer getRenderer(IResource res)
throws WcmException
WcmExceptionpublic ICollection getParentCollection()
protected ITypedResourceList getTypedResourceList()
throws WcmException
WcmException
public com.sapportals.htmlb.Component renderAll()
throws WcmException
renderAll in interface ICollectionRendererWcmException
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
WcmExceptionprotected int getElementsPerPage()
protected com.sapportals.htmlb.Component renderUI()
throws WcmException
WcmException
protected final void filterResourceList()
throws WcmException
WcmExceptionpublic void refresh()
ICollectionRendererIResource 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
WcmExceptionpublic String createUniqueID(String idpart)
IUniqueIDSupplier
createUniqueID in interface IUniqueIDSupplier
public void readInputData(com.sapportals.htmlb.page.DynPage page)
throws WcmException
ICollectionRendererComponents rendered by
the implementing class.
readInputData in interface ICollectionRendererWcmExceptionpublic String getID()
getID in interface IResourceListProvidergetID in interface ICollectionRendererIProxy's method register. This ID will be stable
over http-requests.public void setResourceContext(IResourceContext context)
ICollectionRenderernull
setResourceContext in interface ICollectionRendererpublic IResourceContext getResourceContext()
getResourceContext in interface ICollectionRenderernullpublic BundleHandler getBundleHandler()
public IRenderingEvent onEvent(com.sapportals.htmlb.event.Event event)
throws WcmException
onEvent in interface IDelegatedReceiverWcmExceptionpublic void setSortDefinition(SortDefinition sd)
ICollectionRenderer
setSortDefinition in interface ICollectionRendererpublic final IResourceList getSelectedResources()
getSelectedResources in interface IResourceListProvidernullpublic void resetSelection()
IResourceListProvider
resetSelection in interface IResourceListProvider
protected final void sortResourceList(IPropertyNameList list,
SortDefinition sd)
throws WcmException
WcmExceptionpublic 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
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||