|
|||||||||||
| 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.data.commands.AbstractRetrieveLimitedRecordsCommand
com.sap.mdm.data.commands.AbstractRetrieveHierCommand
com.sap.mdm.data.commands.RetrieveLimitedHierTreeCommand
This command allows for retrieving the limited hierarchy tree based on the search criteria. Note: in case no open node id is set all tree nodes will be loaded.
RetrieveLimitedHierChildrenCommand,
RetrieveHierAncestorsCommand| Constructor Summary | |
RetrieveLimitedHierTreeCommand(ConnectionAccessor connection)
Constructor. |
|
RetrieveLimitedHierTreeCommand(UserSessionContext ctx)
Creates a new instance of this command by context. |
|
| Method Summary | |
RecordId[] |
getExpandedNodes()
Returns the list of expanded nodes. |
RecordId[] |
getOpenNodeIds()
Deprecated. replaced by getExpandedNodes() |
PickList |
getPicklist()
Returns the pick list. |
FieldId[] |
getResultTablePath()
Returns the result table path. |
RecordId |
getRootNode()
Gets the root node for the limited tree. |
Search |
getSearch()
Returns the search criteria. |
int |
getSearchTableMatchCount()
Returns the match count for the search table, based on the search criteria. |
HierNode |
getTree()
Returns limited hierarchy tree. |
boolean |
isRetrieveResultCounts()
Returns true if result counts should be retrieved, otherwise returns false. |
void |
setExpandedNodes(RecordId[] expandedNodes)
Specifies the list of expanded nodes such that other nodes, although valid, won't be included in the result (optional) . |
void |
setOpenNodeIds(RecordId[] openNodeIds)
Deprecated. replaced by setExpandedNodes(RecordId[]) |
void |
setResultTablePath(FieldId[] resultTablePath)
Sets the result table path (optional). |
void |
setRetrieveResultCounts(boolean isRetrieveResultCounts)
Specifies whether to retrieve result counts or not. |
void |
setRootNode(RecordId rootNode)
Sets the root node for the limited tree (optional). |
void |
setSearch(Search search)
Sets the search criteria (required). |
| Methods inherited from class com.sap.mdm.data.commands.AbstractRetrieveLimitedRecordsCommand |
getRegionalLayer, getResultDefinition, getSupportingResultDefinitions, isRetrieveDisplayValue, setRegionalLayer, setResultDefinition, setRetrieveDisplayValue, setSupportingResultDefinitions |
| 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 RetrieveLimitedHierTreeCommand(ConnectionAccessor connection)
connection - the connection to the MDM server
public RetrieveLimitedHierTreeCommand(UserSessionContext ctx)
throws ConnectionException,
SessionException
ctx - the user session context.| Method Detail |
public Search getSearch()
public void setSearch(Search search)
search - the search criteriapublic FieldId[] getResultTablePath()
public void setResultTablePath(FieldId[] resultTablePath)
resultTablePath - the list of field Ids specifying the result tablepublic void setOpenNodeIds(RecordId[] openNodeIds)
setExpandedNodes(RecordId[])
openNodeIds - The ids of records that should be opened.public RecordId[] getOpenNodeIds()
getExpandedNodes()
public void setExpandedNodes(RecordId[] expandedNodes)
For a given node, all ancestor nodes and it's immediate children nodes will be retrieved. To specifies the root
node, provide a record of "RecordId(0)".
expandedNodes - a list of expanded nodespublic RecordId[] getExpandedNodes()
public RecordId getRootNode()
public void setRootNode(RecordId rootNode)
rootNode - the record ID of the root nodepublic HierNode getTree()
public int getSearchTableMatchCount()
public boolean isRetrieveResultCounts()
true if result counts should be retrieved, otherwise returns false.
true if result counts should be retrieved, otherwise returns falsepublic void setRetrieveResultCounts(boolean isRetrieveResultCounts)
isRetrieveResultCounts - true if result counts should be retrieved, otherwise returns falsepublic PickList getPicklist()
|
|||||||||||
| 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.