|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.commands.AbstractCommandBase
com.sap.mdm.commands.AbstractCommand
com.sap.mdm.session.AbstractSessionCommand
com.sap.mdm.session.AbstractServerSessionCommand
com.sap.mdm.repository.commands.DuplicateRepositoryCommand
A command for duplicating a repository onto the same DBMS or onto a different DBMS.
Note:
Starting from SP5 Patch 01, this command had been changed to take in a
server session. Originally, it takes in a repository session.
ArchiveRepositoryCommand| Constructor Summary | |
DuplicateRepositoryCommand(ConnectionAccessor connection)
Creates a new instance of this command. |
|
DuplicateRepositoryCommand(ServerSessionContext ctx)
Creates a new instance of this command by context. |
|
| Method Summary | |
String |
getDBMSUserName()
Returns the DBMS user name. |
String |
getDBMSUserPassword()
Returns the DBMS user password. |
String |
getLogFileName()
Returns the operation log for the execution of this command. |
int[] |
getMaskIds()
Retrieves the mask IDs. |
int |
getMaskUse()
Indicates whether masks are used. |
int |
getPartition()
Returns the type of the partition. |
RepositoryIdentifier |
getSourceRepositoryIdentifier()
Returns the specified source repository. |
RepositoryIdentifier |
getTargetRepositoryIdentifier()
Returns the specified target repository. |
boolean |
isOverwrite()
Returns whether to overwrite the existing repository. |
boolean |
isSchemaOnly()
Returns whether to operate only on the schema. |
void |
setDBMSUserName(String name)
Specifies the DBMS user name (required). |
void |
setDBMSUserPassword(String password)
Specifies the DBMS user password (required). |
void |
setMaskIds(int[] maskIds)
Specifies the masks to use (optional). |
void |
setMaskUse(int maskUse)
Specifies whether masks are used (optional). |
void |
setOverwrite(boolean overwrite)
Specifies whether to overwrite the existing repository (optional). |
void |
setPartition(int partition)
Specifies the type of partition to use for the repository (optional). |
void |
setSchemaOnly(boolean schemaOnly)
Specifies whether to operate only on the schema (optional). |
void |
setSourceRepositoryIdentifier(RepositoryIdentifier reposDef)
Specifies the source repository to operate on (required). |
void |
setTargetRepositoryIdentifier(RepositoryIdentifier reposDef)
Specifies the target repository to operate on (required). |
| Methods inherited from class com.sap.mdm.commands.AbstractCommand |
getSession, setSession |
| Methods inherited from class com.sap.mdm.commands.AbstractCommandBase |
execute, getPassport, isCommandComplete, setPassport |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DuplicateRepositoryCommand(ConnectionAccessor connection)
connection - the connections to the server.
public DuplicateRepositoryCommand(ServerSessionContext ctx)
throws ConnectionException,
SessionException
ctx - the repository session context.| Method Detail |
public void setTargetRepositoryIdentifier(RepositoryIdentifier reposDef)
reposDef - the repository.public RepositoryIdentifier getTargetRepositoryIdentifier()
public void setSourceRepositoryIdentifier(RepositoryIdentifier reposDef)
reposDef - the repository.public RepositoryIdentifier getSourceRepositoryIdentifier()
public void setDBMSUserName(String name)
name - the DBMS user name.public String getDBMSUserName()
public void setDBMSUserPassword(String password)
password - public String getDBMSUserPassword()
public void setPartition(int partition)
partition - the partition type.public int getPartition()
public void setSchemaOnly(boolean schemaOnly)
schemaOnly - true to perform the operator for schema only,
otherwise false.public boolean isSchemaOnly()
public boolean isOverwrite()
true to overwrite existing repository, otherwise
false.public void setOverwrite(boolean overwrite)
overwrite - whether to overwrite existing repository.public int[] getMaskIds()
public void setMaskIds(int[] maskIds)
maskIds - the mask IDs.public int getMaskUse()
public void setMaskUse(int maskUse)
maskUse - whether masks are used.public String getLogFileName()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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.