com.sap.mdm.extension
Class MetadataManager

java.lang.Object
  extended bycom.sap.mdm.session.AbstractManagerWithPasswordStorage
      extended bycom.sap.mdm.extension.MetadataManager

public class MetadataManager
extends AbstractManagerWithPasswordStorage

This class is memory cache for MDM metadata (repository schemas and attribute data). It supply users with convenient interface for retrieving metadata information that is loaded by demand. This class is wrapper class for internal class InternalMetadataManager that includes the actual implementation.


Method Summary
 AttributeSchema getAttributeSchema(UserSessionContext ctx)
           
static MetadataManager getInstance()
          Returns single instance of this class
 DimensionsManager getRepositoryDimensions(UserSessionContext ctx)
           
 RepositorySchemaEx getRepositorySchema(RepositorySessionContext ctx)
           
static void refreshInstance()
          Deprecated.  
 void registerAttributeNotifications(UserSessionContext ctx, String repositoryPassword)
          Register for attribute notification.
 void registerDataNotifications(UserSessionContext ctx, String repositoryPassword)
          Deprecated. replaced by registerAttributeNotifications(UserSessionContext, String)
 void registerRepositoryNotifications(RepositorySessionContext ctx, String serverPassword, String repositoryPassword)
          Register for global and repository notification.
 void startServerTracing(int tracingLevel)
          Deprecated.  
 void stopServerTracing()
          Deprecated.  
 
Methods inherited from class com.sap.mdm.session.AbstractManagerWithPasswordStorage
setPasswordStorage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static MetadataManager getInstance()
Returns single instance of this class

Returns:
instance of MetadataManager

refreshInstance

public static void refreshInstance()
Deprecated.  

Refresh instance of MetadataManager


registerRepositoryNotifications

public void registerRepositoryNotifications(RepositorySessionContext ctx,
                                            String serverPassword,
                                            String repositoryPassword)
                                     throws MetadataException
Register for global and repository notification.

Parameters:
ctx - repository session context
serverPassword - server password. Null if connection is trusted.
repositoryPassword - repository password. Null if connection is trusted.
Throws:
MetadataException

registerDataNotifications

public void registerDataNotifications(UserSessionContext ctx,
                                      String repositoryPassword)
                               throws MetadataException
Deprecated. replaced by registerAttributeNotifications(UserSessionContext, String)

Register for attribute notification.

Parameters:
ctx - user session context
repositoryPassword - repository password. Null if connection is trusted.
Throws:
MetadataException

registerAttributeNotifications

public void registerAttributeNotifications(UserSessionContext ctx,
                                           String repositoryPassword)
                                    throws MetadataException
Register for attribute notification.

Parameters:
ctx - user session context
repositoryPassword - repository password. Null if connection is trusted.
Throws:
MetadataException

getRepositorySchema

public RepositorySchemaEx getRepositorySchema(RepositorySessionContext ctx)
                                       throws MetadataException
Throws:
MetadataException

getAttributeSchema

public AttributeSchema getAttributeSchema(UserSessionContext ctx)
                                   throws MetadataException
Throws:
MetadataException

getRepositoryDimensions

public DimensionsManager getRepositoryDimensions(UserSessionContext ctx)
                                          throws MetadataException
Throws:
MetadataException

startServerTracing

public void startServerTracing(int tracingLevel)
Deprecated.  

Starts server tracing to MDS log file with specified trace level and passport identifier equals to "MetadataManager"

Parameters:
tracingLevel - tracing level

stopServerTracing

public void stopServerTracing()
Deprecated.  

Stops server tracing to MDS log file



Copyright 2004-2007 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.