public interface LayoutAccess2 extends LayoutAccess
oracle.dss.util.gui.layout.Layout
MEASURE, TIME_DIMENSION
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getDataItems(java.lang.String type)
Retrieves the list of data items the user has chosen for the query.
|
int |
getItemEdge(java.lang.String item)
Return the edge on which the given item is found.
|
int |
getItemLayer(java.lang.String item,
int edge)
Return the layer on which the given item is found within a given edge.
|
java.lang.String[] |
getItems(java.lang.String type)
Retrieves the list of items the user has chosen for the query.
|
java.lang.String[][] |
getLayout()
Return the current item layout.
|
int |
getMaxEdge()
Return the current maximum (used as the layer hiding edge) by the Query Builder,
if supported by the DataDirector/DataAccess implementation in use by the current Query.
|
void |
resetItems(java.lang.String[] dataItems,
java.lang.String[] items)
Reinitialize the copy of the Query tracked by the LayoutAccess implementation with a new set of data items.
|
void |
setItems(java.lang.String[] dataItems,
java.lang.String[] items)
Specifies the list of dataItems and items that should be considered in the layout of
the query.
|
getDataSource, getMeasureEdge, getMeasureLayer, getMeasures, isSpecialDimension, release, setCursorEvaluation, setLayout, setMeasures
int getItemEdge(java.lang.String item)
item
- Item to find in the current layout.int getItemLayer(java.lang.String item, int edge)
item
- Item to find in the current layout.void setItems(java.lang.String[] dataItems, java.lang.String[] items) throws java.lang.Exception
dataItems
- The data items to use in the query.items
- The items to use in the query. Optional and ignored if dataItems are measures.java.lang.Exception
- if an error occurs.java.lang.String[] getItems(java.lang.String type)
type
- A MetadataMap constant indicating the type of data item names desired.
If null
return the default MetadataMap.METADATA_VALUE IDs.java.lang.String[] getDataItems(java.lang.String type)
type
- A MetadataMap constant indicating the type of data item names desired.
If null
return the default MetadataMap.METADATA_VALUE IDs.int getMaxEdge()
java.lang.String[][] getLayout()
void resetItems(java.lang.String[] dataItems, java.lang.String[] items) throws java.lang.Exception
dataItems
- The data items to use in the query.items
- The item IDs to use to reinitialize the Query. Optional and ignored for measures.java.lang.Exception
- if an error occurs.