|
|||||||||||
| 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.AbstractUserSessionCommand
com.sap.mdm.dataimport.commands.ImportRecordsCommand
This command is responsible for importing one or more records to repository
| Constructor Summary | |
ImportRecordsCommand(ConnectionAccessor connection)
Constructor. |
|
ImportRecordsCommand(UserSessionContext ctx)
Constructor. |
|
| Method Summary | |
void |
addRecordImportDefinition(RecordImportDefinition recordDefinition)
Adds the record import definition (required*) |
int |
getDuplicateLinkCheckOption()
|
ImportResult |
getImportResult()
Returns the result of import process. |
int |
getImportType()
Returns default import type. |
int |
getKeyReassignmentConfig()
|
int |
getMatchingQualifiedLinkOption()
Returns import option for the matched qualified links |
int |
getNonMatchingQualifiedLinkOption()
Returns import option for the non-matched qualified links |
RecordImportDefinition[] |
getRecordImportDefinitions()
Gets the import definitions for all records |
RemoteSystemId |
getRemoteSystemId()
Returns the remote system ID |
TableId |
getTableId()
Gets the table ID for which records are imported. |
boolean |
isAutoJoinChkOutOption()
Indicates if ... |
boolean |
isAutoLinkUsedAttributes()
Indicates if the used attribute should be automatically linked to the taxonomy category |
boolean |
isImportCheckOutRecord()
|
void |
setAutoJoinChkOutOption(boolean autoJoinChkOutOption)
Specify if ... |
void |
setAutoLinkUsedAttributes(boolean autoLinkUsedAttributes)
Specify if the used attribute should be automatically linked to the taxonomy category (optional) The default value is false |
void |
setDuplicateLinkCheckOption(int duplicateLinkCheckOption)
(optional) The default value is 0 |
void |
setImportCheckOutRecord(boolean importCheckOutRecord)
(optional) The default value is false |
void |
setImportType(int importType)
Sets the default import type of the import process. |
void |
setKeyReassignmentConfig(int keyReassignmentConfig)
(optional) |
void |
setMatchingQualifiedLinkOption(int matchingQualifiedLinkOption)
Sets import option for the matched qualified links. |
void |
setNonMatchingQualifiedLinkOption(int nonMatchingQualifiedLinkOption)
Sets import option for the non-matched qualified links. |
void |
setRemoteSystemId(RemoteSystemId remoteSystemId)
Sets the remote system ... |
void |
setTableId(TableId tableId)
Sets the table ID for which records are imported (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 ImportRecordsCommand(ConnectionAccessor connection)
connection - Connection to the MDM server.
public ImportRecordsCommand(UserSessionContext ctx)
throws ConnectionException,
SessionException
ctx - User session context.| Method Detail |
public boolean isAutoJoinChkOutOption()
public void setAutoJoinChkOutOption(boolean autoJoinChkOutOption)
true
autoJoinChkOutOption - the autoJoinChkOutOption to setpublic boolean isAutoLinkUsedAttributes()
public void setAutoLinkUsedAttributes(boolean autoLinkUsedAttributes)
false
autoLinkUsedAttributes - the autoLinkUsedAttributes to setpublic int getDuplicateLinkCheckOption()
public void setDuplicateLinkCheckOption(int duplicateLinkCheckOption)
duplicateLinkCheckOption - the duplicateLinkCheckOption to setpublic boolean isImportCheckOutRecord()
public void setImportCheckOutRecord(boolean importCheckOutRecord)
false
importCheckOutRecord - the importCheckOutRecord to setpublic int getKeyReassignmentConfig()
public void setKeyReassignmentConfig(int keyReassignmentConfig)
keyReassignmentConfig - the keyReassignmentConfig to setpublic int getMatchingQualifiedLinkOption()
public void setMatchingQualifiedLinkOption(int matchingQualifiedLinkOption)
ImportTypes.NONE
The legal values are:
ImportTypes.SKIP, ImportTypes.UPDATE_MAPPED, ImportTypes.UPDATE_NULL_ONLY, ImportTypes.UPDATE_REPLACE
matchingQualifiedLinkOption - the matching qualified link option to setpublic int getNonMatchingQualifiedLinkOption()
public void setNonMatchingQualifiedLinkOption(int nonMatchingQualifiedLinkOption)
ImportTypes.NONE
The legal values are:
ImportTypes.SKIP, ImportTypes.CREATE
The default value is ImportTypes.NONE
nonMatchingQualifiedLinkOption - the non-matching qualified link option to setpublic RemoteSystemId getRemoteSystemId()
public void setRemoteSystemId(RemoteSystemId remoteSystemId)
remoteSystemId - the remoteSystemId to setpublic TableId getTableId()
public void setTableId(TableId tableId)
tableId - the tableId to setpublic int getImportType()
public void setImportType(int importType)
importType - the import type to setpublic void addRecordImportDefinition(RecordImportDefinition recordDefinition)
recordDefinition - public RecordImportDefinition[] getRecordImportDefinitions()
public ImportResult getImportResult()
|
|||||||||||
| 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.