com.sap.mdm.data
Class ExpandedNodes

java.lang.Object
  extended bycom.sap.mdm.data.ExpandedNodes

public class ExpandedNodes
extends Object

A class for specifying the list of expanded nodes such that other nodes, although valid, won't be included in the result. The default is an empty array which is to retrieve all valid nodes. The main use case is when the hierarchy tree to retrieve has thousand of nodes.

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)".

Since:
7.1 SP 3
See Also:
RetrieveLimitedRecordsCompoundCommand

Constructor Summary
ExpandedNodes(SearchDimension dimension, RecordId[] nodeIds)
          Constructor with the specified parameters.
 
Method Summary
 SearchDimension getDimension()
          Returns the dimension
 RecordId[] getNodeIds()
          Returns the expanded nodes.
 void setDimension(SearchDimension dimension)
          Specifies the dimension.
 void setNodeIds(RecordId[] nodeIds)
          Specifies the list of expanded nodes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandedNodes

public ExpandedNodes(SearchDimension dimension,
                     RecordId[] nodeIds)
Constructor with the specified parameters.

Parameters:
dimension - the dimension
nodeIds - a list of expanded nodes
Method Detail

getDimension

public SearchDimension getDimension()
Returns the dimension

Returns:
the dimension

setDimension

public void setDimension(SearchDimension dimension)
Specifies the dimension. Currently only FieldSearchDimension and MaskSearchDimension are supported.

Parameters:
dimension - a dimension

getNodeIds

public RecordId[] getNodeIds()
Returns the expanded nodes.

Returns:
a list of expanded nodes

setNodeIds

public void setNodeIds(RecordId[] nodeIds)
Specifies the list of expanded nodes.

Parameters:
nodeIds - a list of expanded nodes


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.