|
|||||||||||
| 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.matching.commands.ExecuteMatchingStrategyCommand
A command to execute a matching strategy for internal source records. Executing a matching strategy involves a matching strategy, the source records and the target records.
The source records are specified as a list of records or as a search criteria. The same applies to target records.
TerminateMatchingStrategyCommand should be used when the results of
the matching strategy is no longer need. It will free up resources needed
to maintain the results of the matching strategy.
com.sap.mdm.matching.commands,
TerminateMatchingStrategyCommand| Constructor Summary | |
ExecuteMatchingStrategyCommand(ConnectionAccessor connection)
Creates a new instance of this command. |
|
ExecuteMatchingStrategyCommand(UserSessionContext ctx)
Creates a new instance of this command by context. |
|
| Method Summary | |
MatchingTaskId |
getMatchingTaskId()
Returns the matching task Id. |
int |
getSourceRecordCount()
Returns the source records count. |
MatchingStrategyId |
getStrategyId()
Returns the matching strategy Id. |
TableId |
getTableId()
Returns the table Id. |
boolean |
isBlocking()
Indicates whether the matching is execute as synchronous or not. |
void |
setBlocking(boolean isBlocking)
Indicates whether the matching is execute as synchronous or not (optional). |
void |
setSource(RecordId[] recordIds)
Sets the source records (required*). |
void |
setSource(Search search)
Sets the source records in a form of a search object (required*). |
void |
setStrategyId(MatchingStrategyId strategId)
Sets the matching strategy Id (required). |
void |
setTableId(TableId tableId)
Sets the table Id (required) for which the matching strategy is defined. |
void |
setTarget(RecordId[] recordIds)
Sets the target records (required*). |
void |
setTarget(Search search)
Sets the target records in a form of a search object (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 ExecuteMatchingStrategyCommand(ConnectionAccessor connection)
connection - the connections to the server.
public ExecuteMatchingStrategyCommand(UserSessionContext ctx)
throws ConnectionException,
SessionException
ctx - the user session context.| Method Detail |
public void setSource(RecordId[] recordIds)
recordIds - a list of record Idspublic void setSource(Search search)
search - the search objectpublic void setTarget(RecordId[] recordIds)
recordIds - a list of record Idspublic void setTarget(Search search)
search - the search objectpublic MatchingStrategyId getStrategyId()
public void setStrategyId(MatchingStrategyId strategId)
strategId - a matching strategy IdRetrieveMatchingStrategiesCommandpublic MatchingTaskId getMatchingTaskId()
public int getSourceRecordCount()
public TableId getTableId()
public void setTableId(TableId tableId)
tableId - a table Idpublic boolean isBlocking()
true for synchronous, otherwise falsepublic void setBlocking(boolean isBlocking)
true. If set to true, the API is blocked until the MDS has completed the matching. If set to false,
the API is returned immediately while MDS is still running the matching. The only way to determine the progress
of the matching is to use the command RetrieveMatchingRecordsProcessedCommand.
isBlocking - true for synchronous, otherwise falseRetrieveMatchingRecordsProcessedCommand
|
|||||||||||
| 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.