com.sap.mdm.publishing.objects
Class Repository

java.lang.Object
  extended bycom.sap.mdm.publishing.objects.Repository

public class Repository
extends Object


Constructor Summary
Repository(ConnectionAccessor connectionAccessor)
           
 
Method Summary
 boolean createSession(String userName, String Password, String ServerName, String repositoryName, String dbmsServerName, String dbName, DBMSType dbmsType)
           
 ConnectionAccessor getConnectionAccessor()
           
 String getDefaultItemNodePropertiesXml()
           
 String getDefaultStyleWorkspacePropertiesXml()
           
 String getItemSchemaDefaultPropertiesXml()
           
 boolean getPublicationByName(String name, Publication publication)
           
 boolean getPublicationByOrderNumber(int number, Publication publication)
           
 int getPublicationsCount()
           
 String getSessionIdString()
           
 Publication loadPublication(com.sap.mdm.internal.protocol.UniqueId id)
           
 void loadPublicationList()
           
 void setDefaultItemNodePropertiesXml(String xmlString)
           
 void setDefaultStyleWorkspacePropertiesXml(String xmlString)
           
 void setRegionProperties(String name, Locale currentLocale, String regionCode)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Repository

public Repository(ConnectionAccessor connectionAccessor)
Method Detail

setRegionProperties

public void setRegionProperties(String name,
                                Locale currentLocale,
                                String regionCode)

createSession

public boolean createSession(String userName,
                             String Password,
                             String ServerName,
                             String repositoryName,
                             String dbmsServerName,
                             String dbName,
                             DBMSType dbmsType)
                      throws CommandException
Throws:
CommandException

getSessionIdString

public String getSessionIdString()

getConnectionAccessor

public ConnectionAccessor getConnectionAccessor()

loadPublicationList

public void loadPublicationList()
                         throws CommandException
Throws:
CommandException

getPublicationsCount

public int getPublicationsCount()
                         throws CommandException
Throws:
CommandException

getPublicationByOrderNumber

public boolean getPublicationByOrderNumber(int number,
                                           Publication publication)
                                    throws CommandException
Throws:
CommandException

getPublicationByName

public boolean getPublicationByName(String name,
                                    Publication publication)
                             throws CommandException
Throws:
CommandException

loadPublication

public Publication loadPublication(com.sap.mdm.internal.protocol.UniqueId id)

getDefaultItemNodePropertiesXml

public String getDefaultItemNodePropertiesXml()
                                       throws CommandException,
                                              SAXException,
                                              IOException
Throws:
CommandException
SAXException
IOException

setDefaultItemNodePropertiesXml

public void setDefaultItemNodePropertiesXml(String xmlString)
                                     throws CommandException
Throws:
CommandException

getDefaultStyleWorkspacePropertiesXml

public String getDefaultStyleWorkspacePropertiesXml()
                                             throws CommandException
Throws:
CommandException

setDefaultStyleWorkspacePropertiesXml

public void setDefaultStyleWorkspacePropertiesXml(String xmlString)
                                           throws CommandException
Throws:
CommandException

getItemSchemaDefaultPropertiesXml

public String getItemSchemaDefaultPropertiesXml()
                                         throws CommandException
Throws:
CommandException


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.