com.sas.entities.edit.models.providers
Class BusinessQueryDynamicValuesTagGenerator
com.sas.entities.edit.models.providers.BusinessQueryDynamicValuesTagGenerator
public class BusinessQueryDynamicValuesTagGenerator
This class defines a utility method for creating a DynamicValues Node for
an InformationMap query.
RB_KEY
public static final java.lang.String RB_KEY
- See Also:
- Constant Field Values
BusinessQueryDynamicValuesTagGenerator
public BusinessQueryDynamicValuesTagGenerator()
createDynamicValuesTag
public static org.w3c.dom.Node createDynamicValuesTag(java.lang.String tagType,
java.lang.Object attributes)
- Create a <DynamicValues> node for an InformationMap query. The XML
will look as follows:
<DynamicValues>
<InformationMapQuery location="sbip://hope/BipTree/blah/blah/foo.map"
valueDataItemId="dataItem1" sort=DataItemActionType.SORT_ASCENDING/>
</DynamicValues>
- Parameters:
tagType
- query type of InformationMap (DynamicValuesHandlerInterface.INFORMATION_MAP_QUERY)Map
- parameter containing information needed to access the data (location, dataItem id, and optional sort
direction)
HashMap attributeMap = new HashMap();
attributeMap.put(DynamicValuesHandlerInterface.LOCATION, "sbip://hope/Biptree/foo.map");
attributeMap.put(DynamicValuesHandlerInterface.VALUE_DATAITEM_ID, "dataItem1");
attributeMap.put(DynamicValuesHandlerInterface.SORT, DataItemActionType.SORT_ASCENDING);
- Returns:
- Node containing information for creating a map of values by running a query
Copyright © 2009 SAS Institute Inc. All Rights Reserved.