|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.rendering.layout.LayoutControllerFactory
| Nested Class Summary |
| Nested classes inherited from class com.sapportals.wcm.rendering.base.IFactoryInfoProvider |
IFactoryInfoProvider.MappingInformation |
| Method Summary | |
void |
configEvent(ConfigEvent event)
Calles by the ConfigurationFramework when changes are made the configuration |
String |
getConfigListenerId()
Implementation for the IConfigEventListener Gets the configListenerId attribute of the UICommandFactory object |
String |
getFactoryName()
|
static LayoutControllerFactory |
getInstance()
|
long |
getLastReloadTime()
|
ILayoutController |
getLayoutController(IProxy proxy,
IResource resource)
Returns a new instance of a ILayoutController
If no configuration for the set of parameters can be retrieved or the
mapping entry is faulty, the default LayoutController of the factory is
returned. |
ILayoutController |
getLayoutController(IProxy proxy,
ITypedResourceList resourcelist)
Returns a new instance of a ILayoutController
If no configuration for the set of parameters can be retrieved or the
mapping entry is faulty, the default LayoutController of the factory is
returned. |
Properties |
getMapping()
|
List |
getMappings(Locale locale)
|
Status |
getStatus()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public String getConfigListenerId()
public void configEvent(ConfigEvent event)
event - the event describing which changes occures in the config.
The factory will reload its configuration when the event is of type
ConfigEvent.CONFIGURABLE_LOADED or ConfigEvent.CONFIGMANAGER_TERMINATED.public static LayoutControllerFactory getInstance()
public ILayoutController getLayoutController(IProxy proxy,
IResource resource)
throws WcmException
ILayoutController
If no configuration for the set of parameters can be retrieved or the
mapping entry is faulty, the default LayoutController of the factory is
returned. The method uses the CustomizingControllerFactory
to retrieve the mapped name for the given set of parameters.
proxy - the IProxy that called this method. It is set as
parameter for the retrieved instance. The proxy's hashtable, that holds
the iView/ URL-Parameter is used by the CustomizingControllerFactory
to retrieve the matching mapping name.resource - the resource that acts as the "root"-resource in the given
IProxy
null. The instance
is ready-to-use (no set-methods have to be called afterwards)
WcmException
public ILayoutController getLayoutController(IProxy proxy,
ITypedResourceList resourcelist)
throws WcmException
ILayoutController
If no configuration for the set of parameters can be retrieved or the
mapping entry is faulty, the default LayoutController of the factory is
returned. The method uses the CustomizingControllerFactory
to retrieve the mapped name for the given set of parameters.
proxy - the IProxy that called this method. It is set as
parameter for the retrieved instance. The proxy's hashtable, that holds
the iView/ URL-Parameter is used by the CustomizingControllerFactory
to retrieve the matching mapping name.resourcelist - the list of resources displayed in the IProxy.
null. The instance
is ready-to-use (no set-methods have to be called afterwards)
WcmExceptionpublic List getMappings(Locale locale)
getMappings in interface IFactoryInfoProviderlocale - defines the language to use, if the factory offers translated information,
must not be null
IFactoryInfoProvider.MappingInformation,
must not be nullpublic Properties getMapping()
public Status getStatus()
getStatus in interface IFactoryInfoProviderStatus.ERRORpublic String getFactoryName()
getFactoryName in interface IFactoryInfoProvidernullpublic long getLastReloadTime()
getLastReloadTime in interface IFactoryInfoProviderSystem.currentTimeMillis().
An implementing class might also return -1 to indicate, that
no information is available.
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||