com.sapportals.wcm.rendering.base

Class PersistenceFactory

java.lang.Object
  extended by com.sapportals.wcm.rendering.base.PersistenceFactory
All Implemented Interfaces:
IFactoryInfoProvider

Deprecated. As of NetWeaver 7.1

public final class PersistenceFactory
extends Object
implements IFactoryInfoProvider


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sapportals.wcm.rendering.base.IFactoryInfoProvider
IFactoryInfoProvider.MappingInformation
 
Method Summary
 String getFactoryName()
          Deprecated. As of NetWeaver 7.1
static PersistenceFactory getInstance()
          Deprecated. As of NetWeaver 7.1
 long getLastReloadTime()
          Deprecated. As of NetWeaver 7.1
 Properties getMapping()
          Deprecated. As of NetWeaver 7.1
 List getMappings(Locale locale)
          Deprecated. As of NetWeaver 7.1
 Status getStatus()
          Deprecated. As of NetWeaver 7.1
 IRenderingEntry getStatusInstance(IRenderingEntry.InitializationData data, com.sap.netweaver.kmc.navigationpersistence.IEntry.Visibility visibility, RetrievalParameters parameters)
          Deprecated. As of NetWeaver 7.1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PersistenceFactory getInstance()
Deprecated. As of NetWeaver 7.1

Returns:
the singleton instance of the LayoutControllerFactory. When this method is first called, the singleton instance reads out the configuration and fills its internal hashtable of LayoutControllers

getStatusInstance

public IRenderingEntry getStatusInstance(IRenderingEntry.InitializationData data,
                                         com.sap.netweaver.kmc.navigationpersistence.IEntry.Visibility visibility,
                                         RetrievalParameters parameters)
                                  throws com.sapportals.wcm.WcmException
Deprecated. As of NetWeaver 7.1

Throws:
com.sapportals.wcm.WcmException

getMappings

public List getMappings(Locale locale)
Deprecated. As of NetWeaver 7.1

Specified by:
getMappings in interface IFactoryInfoProvider
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

getMapping

public Properties getMapping()
Deprecated. As of NetWeaver 7.1


getStatus

public Status getStatus()
Deprecated. As of NetWeaver 7.1

Specified by:
getStatus in interface IFactoryInfoProvider
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

getFactoryName

public String getFactoryName()
Deprecated. As of NetWeaver 7.1

Specified by:
getFactoryName in interface IFactoryInfoProvider
Returns:
a human-readable name of the factory, must not be null

getLastReloadTime

public long getLastReloadTime()
Deprecated. As of NetWeaver 7.1

Specified by:
getLastReloadTime in interface IFactoryInfoProvider
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.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM


Copyright 2011 SAP AG Complete Copyright Notice