com.sap.mdm.publishing2.objects
Class Repository
java.lang.Object
com.sap.mdm.publishing2.objects.Repository
- All Implemented Interfaces:
- PassportSupport
- public class Repository
- extends Object
- implements PassportSupport
|
Method Summary |
boolean |
createSession(String userName,
String password,
String serverName,
String repositoryName,
String dbmsServerName,
String dbName,
DBMSType dbmsType)
|
boolean |
createSessionWithRecordLimitInNodeGeneration(String userName,
String Password,
String ServerName,
String repositoryName,
String dbmsServerName,
String dbName,
DBMSType dbmsType,
int maxRowsInFamilyGeneration)
|
ConnectionAccessor |
getConnectionAccessor()
|
String |
getDefaultItemNodePropertiesXml()
|
String |
getDefaultStyleWorkspacePropertiesXml()
|
String |
getItemSchemaDefaultPropertiesXml()
|
Passport |
getPassport()
Returns the passport use for tracing. |
boolean |
getPublicationByName(String name,
Publication publication)
|
boolean |
getPublicationByOrderNumber(int number,
Publication publication)
|
Vector |
getPublicationNames()
Makes a list of all publication names under this repository
represented as a java.util.Vector
each element in the vector is a StringWrapper |
int |
getPublicationsCount()
|
RepositorySchema |
getRepositorySchema(String password)
|
String |
getSessionIdString()
|
SessionParameters |
getSessionParameters()
|
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)
|
DO_NOT_OVERRIDE_MAX_RECORDS_PER_FAMILY
public static final int DO_NOT_OVERRIDE_MAX_RECORDS_PER_FAMILY
- See Also:
- Constant Field Values
UNILIMTED_MAX_RECORDS_PER_FAMILY
public static final int UNILIMTED_MAX_RECORDS_PER_FAMILY
- See Also:
- Constant Field Values
Repository
public Repository(ConnectionAccessor connectionAccessor)
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
createSessionWithRecordLimitInNodeGeneration
public boolean createSessionWithRecordLimitInNodeGeneration(String userName,
String Password,
String ServerName,
String repositoryName,
String dbmsServerName,
String dbName,
DBMSType dbmsType,
int maxRowsInFamilyGeneration)
throws CommandException
- Throws:
CommandException
getPassport
public Passport getPassport()
- Description copied from interface:
PassportSupport
- Returns the passport use for tracing.
- Specified by:
getPassport in interface PassportSupport
- Returns:
- a passport
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)
getPublicationNames
public Vector getPublicationNames()
throws CommandException
- Makes a list of all publication names under this repository
represented as a java.util.Vector
each element in the vector is a StringWrapper
- Returns:
- A vector containing all publication names.
- Throws:
CommandException
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
getSessionParameters
public SessionParameters getSessionParameters()
getRepositorySchema
public RepositorySchema getRepositorySchema(String password)
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.