Web Dynpro API Documentation

com.sap.tc.webdynpro.repository.api
Interface IWDRepository


public interface IWDRepository

API of a Runtime Repository

Version:
$Id: //tc/WebDynproRuntime/630_VAL_REL/src/_webdynpro_runtime_repository/java/com/sap/tc/webdynpro/repository/api/IWDRepository.java#1 $

Method Summary
 void close()
          Closes the currently opened repository.
 void commitChanges()
          Writes all changed repository objects to the persistent storage.
 java.util.Locale getDefaultLocale()
          Returns the default locale this repository instance was opened for.
 IWDRepository getPersonalizationRepository()
          Returns the associated repository for personalization.
 IWDRepositoryModel getRepositoryModel(java.lang.Class repositoryModelClass)
          Return is the repository model specified by the class supplied as input parameter.
 boolean isMaintaining()
          Returns true in case the repository runs in maintenance mode.
 

Method Detail

isMaintaining

public boolean isMaintaining()
Returns true in case the repository runs in maintenance mode. If it runs in runtime mode, false is returned.
Returns:
true, iff the repository runs in maintenance mode

getRepositoryModel

public IWDRepositoryModel getRepositoryModel(java.lang.Class repositoryModelClass)
Return is the repository model specified by the class supplied as input parameter.
Parameters:
repositoryModelClass - the concrete repository model class; this class must have been created by the configuration model editor
Returns:
the repository model

close

public void close()
Closes the currently opened repository. This should be called to free ressources when the repository is not needed any longer.

commitChanges

public void commitChanges()
Writes all changed repository objects to the persistent storage. Precondition: isMaintaining()==true

getPersonalizationRepository

public IWDRepository getPersonalizationRepository()
Returns the associated repository for personalization. Returns null if repository is not opened in runtime mode.
Returns:
the associated repository for personalization

getDefaultLocale

public java.util.Locale getDefaultLocale()
Returns the default locale this repository instance was opened for.
Returns:
the default locale this repository instance was opened for

Web Dynpro API Documentation

Copyright © 2004 SAP AG. Automatically generated Thu Mar 3 2005, 22:15