SAP NetWeaver '04

com.sapportals.wcm.rendering.base
Interface IFactoryInfoProvider

[contained in: com.sap.km.cm.ui.flex.par - km.shared.ui.flex.base_api.jar]
All Known Implementing Classes:
AbstractFactory, StatusFactory, ComponentFactory, LayoutControllerFactory, PropertyRendererFactory, UICommandFactory

public interface IFactoryInfoProvider

Since:
EP6, SP2 CP Factories used in the FlexUI-process should implement this interface, so the "Rendering Information" can show the current configuration of the factory.

Inner Class Summary
static class IFactoryInfoProvider.MappingInformation
           
 
Method Summary
 java.lang.String getFactoryName()
           
 long getLastReloadTime()
           
 java.util.List getMappings(java.util.Locale locale)
           
 Status getStatus()
           
 

Method Detail

getFactoryName

public java.lang.String getFactoryName()
Returns:
a human-readable name of the factory, must not be null

getMappings

public java.util.List getMappings(java.util.Locale locale)
Parameters:
locale - defines the language to use, if the factory offers translated information, must not be null
Returns:
a list that must only contain IFactoryInfoProvider.MappingInformation, must not be null

getStatus

public Status getStatus()
Returns:
the aggregated status of the factory. If, e.g., there have been errors creating a class defined in the config, the factory should return Status.ERROR

getLastReloadTime

public long getLastReloadTime()
Returns:
the time of the last reload of the config by this factory. Expects a format such as returned by System.currentTimeMillis(). An implementing class might also return -1 to indicate, that no information is available.

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.