|
|||||||||||
| 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.publishing2.commands.GetFormattedMDSFieldValuesCommand
This command gets string values for a requested collection of fields. NOTE: This command requires connection already established.
ConnectionPool,
ConnectionPoolFactory| Constructor Summary | |
GetFormattedMDSFieldValuesCommand(Repository repository,
String mdsPassword)
Creates a new instance of this command. |
|
| Method Summary | |
void |
addRecordAndField(LiidPivotContextWrapper liidContext)
Adds a field and its records for retrieving their values. |
void |
execute()
Retrieves values from MDS after all the fields and records and provided. |
String |
getValue(LiidPivotContextWrapper qualifiedLiid)
Retrieves values from MDS after all the fields and records and provided. |
RecordResultSet |
getValues()
Gets a very complex structure with all the values This method is for MDS API experts only, otherwise, please, use getValue method instead. |
void |
reset()
Clears all the fields and records from a collection of retrievable values. |
boolean |
validateLiid(LiidPivotContextWrapper liidContext)
Validates is a value can be requested for a particular field type |
| Methods inherited from class com.sap.mdm.commands.AbstractCommand |
getSession, setSession |
| Methods inherited from class com.sap.mdm.commands.AbstractCommandBase |
getPassport, isCommandComplete, setPassport |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GetFormattedMDSFieldValuesCommand(Repository repository,
String mdsPassword)
repository - an instance of a Repository Object, with an established connection and sessionmdsPassword - password to connect to MDS Server.| Method Detail |
public void reset()
public boolean validateLiid(LiidPivotContextWrapper liidContext)
public void addRecordAndField(LiidPivotContextWrapper liidContext)
throws IllegalArgumentException
an - Exception is that field didn't pass a validation (see: validateLiid method)
IllegalArgumentException
public void execute()
throws CommandException
execute in interface Commandexecute in class AbstractCommandBasea - CommandException if the MDS server call didn't succeed
CommandExceptionpublic RecordResultSet getValues()
public String getValue(LiidPivotContextWrapper qualifiedLiid)
throws CommandException,
IllegalArgumentException,
SessionException,
ConnectionException
qualifiedLiid - a LayoutItem in a form of LiidPivotContextWrapper
ConnectionException
SessionException
CommandException
IllegalArgumentException
|
|||||||||||
| 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.