public final class CollectionRendererFactory extends AbstractFactory
ICollectionRenderer
. These instances are ready-to-use, as the
factory takes care of the initialization. This includes the setting of the
member variables of the renderer. See ICollectionRenderer
for
details.
The factory reads out mapping information from the configuration framework.
It uses the mapping entries in the configuration to create in internal HashMap
that holds an instance of each ICollectionRenderer
specified in the configuration. The alias-attribute
of the mapping is used as the key for the HashMap
entries.
The factory reacts on events from the config. If an event is received, the HashMap
is
cleared and all instances are newly created. If an exception occurs while filling the map, the map
is cleared again and only the default-renderer specified in this factory will be usable.IFactoryInfoProvider.MappingInformation
category, classkey, configclass, configplugin, CONFIGURATION_FORMAT_LIST, CONFIGURATION_FORMAT_TABLE, CONFIGURATION_FORMAT_TABLE_NO_HEADER, default_config, default508_config, default508class, defaultclass, descriptiveName, uninitialized
Modifier and Type | Method and Description |
---|---|
ICollectionRenderer |
getCollectionRenderer(IProxy proxy,
ICollection currentFolder,
ICollection customizingCollection,
IFlavor flavor)
Deprecated.
As of NetWeaver 7.1
|
ICollectionRenderer |
getCollectionRenderer(IProxy proxy,
ICollection collection,
IFlavor flavor)
Deprecated.
As of NetWeaver 7.1
|
ICollectionRenderer |
getCollectionRenderer(IProxy proxy,
ITypedResourceList resourcelist,
IFlavor flavor)
Deprecated.
As of NetWeaver 7.1
|
String |
getCollectionRendererConfiguration(String format)
Deprecated.
As of NetWeaver 7.1
|
String |
getFactoryName()
Deprecated.
As of NetWeaver 7.1
|
static CollectionRendererFactory |
getInstance()
Deprecated.
As of NetWeaver 7.1
|
classLoaderAdded, classLoaderReplaced, getConfiguration, getLastReloadTime, getLayoutObject, getLayoutObject, getMappings, getStatus, initialize
public static CollectionRendererFactory getInstance()
HashMap
of ICollectionRenderer
public String getCollectionRendererConfiguration(String format)
ICollectionRenderer
with their attributes and settings.
This is only used for documentation purposes.format
- the format requested. See AbstractFactory
for supported formatspublic ICollectionRenderer getCollectionRenderer(IProxy proxy, ICollection collection, IFlavor flavor) throws WcmException
proxy
- the IProxy that acts as the outer container for the renderingcollection
- the collection that needs a rendererflavor
- description, what kind of ICollectionRenderer
is wanted,
e.g. "Taxonomy" or "ImageMap"ICollectionRenderer
is returnedWcmException
public ICollectionRenderer getCollectionRenderer(IProxy proxy, ICollection currentFolder, ICollection customizingCollection, IFlavor flavor) throws WcmException
proxy
- the IProxy that acts as the outer container for the renderingcurrentFolder
- the collection that needs a renderercustomizingCollection
- the collection that is used to retrieve additional configurationflavor
- description, what kind of ICollectionRenderer
is wanted,
e.g. "Taxonomy" or "ImageMap"ICollectionRenderer
is returnedWcmException
public ICollectionRenderer getCollectionRenderer(IProxy proxy, ITypedResourceList resourcelist, IFlavor flavor) throws WcmException
proxy
- the IProxy that acts as the outer container for the renderingresourcelist
- the resourcelist that needs a rendererflavor
- description, what kind of ICollectionRenderer
is wanted,
e.g. "Taxonomy" or "ImageMap"ICollectionRenderer
is returnedWcmException
public String getFactoryName()
null
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