|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.rendering.base.AbstractFactory
com.sapportals.wcm.rendering.collection.CollectionRendererFactory
public final class CollectionRendererFactory
This class is a singleton factory, creating new instances of
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.sapportals.wcm.rendering.base.IFactoryInfoProvider |
|---|
IFactoryInfoProvider.MappingInformation |
| Field Summary |
|---|
| Fields inherited from class com.sapportals.wcm.rendering.base.AbstractFactory |
|---|
category, classkey, configclass, configplugin, CONFIGURATION_FORMAT_LIST, CONFIGURATION_FORMAT_TABLE, CONFIGURATION_FORMAT_TABLE_NO_HEADER, default_config, default508_config, default508class, defaultclass, descriptiveName, uninitialized |
| Method Summary | |
|---|---|
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 |
| Methods inherited from class com.sapportals.wcm.rendering.base.AbstractFactory |
|---|
classLoaderAdded, classLoaderReplaced, getConfiguration, getLastReloadTime, getLayoutObject, getLayoutObject, getMappings, getStatus, initialize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CollectionRendererFactory getInstance()
HashMap of ICollectionRendererpublic 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 formats
public ICollectionRenderer getCollectionRenderer(IProxy proxy,
ICollection collection,
IFlavor flavor)
throws com.sapportals.wcm.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 returned
com.sapportals.wcm.WcmException
public ICollectionRenderer getCollectionRenderer(IProxy proxy,
ICollection currentFolder,
ICollection customizingCollection,
IFlavor flavor)
throws com.sapportals.wcm.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 returned
com.sapportals.wcm.WcmException
public ICollectionRenderer getCollectionRenderer(IProxy proxy,
ITypedResourceList resourcelist,
IFlavor flavor)
throws com.sapportals.wcm.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 returned
com.sapportals.wcm.WcmExceptionpublic 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
|
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||