|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines methods for accessing Selection
objects that represent an ordered list of query steps for a particular dimension.
Method Summary | |
void |
applySelection(Selection selection) Applies the specified Selection object to the corresponding Selection object in this Query . |
void |
applySelections(Selection[] selections) Applies the specified Selection objects to the corresponding Selection objects in the Query. |
com.sun.java.util.collections.List |
findAllSelections() Retrieves a reference to the complete collection of Selection objects for this Query . |
Selection |
findSelection(com.sun.java.util.collections.List dimensions) Retrieves a Selection object that corresponds to the specified dimensions. |
Selection |
findSelection(java.lang.String dimension) Retrieves a Selection object that corresponds to the specified dimension. |
Selection |
getUniverseSelection(java.lang.String dimension) Retrieves the Selection object that is currently used as the starting universe for the specified dimension. |
void |
removeSelection(Selection selection) Removes the specified Selection object from this Query . |
void |
setUniverseSelection(java.lang.String dimension, Selection selection) Specifies a Selection object for the starting universe that corresponds to the specified dimension. |
Methods inherited from interface oracle.dss.dataSource.common.BaseManager |
addQueryListener, cancel, clone, getFetchPageEdge, getFetchSize, getQueryState, getSuppressionState, isAsymmetricDrilling, isAutoUpdate, isEvaluateCursor, isHierarchicalDrilling, isUpdatePending, removeQueryListener, setAsymmetricDrilling, setAutoUpdate, setEvaluateCursor, setFetchPageEdge, setFetchSize, setHierarchicalDrilling, setQueryState, setSuppressionState, update |
Method Detail |
public void applySelection(Selection selection) throws InvalidStepArgException, SelectionException, QueryException, MetadataManagerException
Selection
object to the corresponding Selection
object in this Query
.selection
- The Selection
to apply.InvalidStepArgException
- If a step in a selection is bad.SelectionException
- If a selection cannot be created.QueryException
- If there is a problem fetching data after this operation.MetadataManagerException
- If an error occurred using the MetadataManager bean.public void applySelections(Selection[] selections) throws InvalidStepArgException, SelectionException, QueryException, MetadataManagerException
Selection
objects to the corresponding Selection
objects in the Query.selections
- The Selection
objects to apply.InvalidStepArgException
- If a step in a selection is bad.SelectionException
- If a selection cannot be created.QueryException
- If there is a problem fetching data. after this operation.MetadataManagerException
- If an error occurred using the MetadataManager bean.public void removeSelection(Selection selection) throws InvalidStepArgException, SelectionException, QueryException, MetadataManagerException
Selection
object from this Query
.selection
- The Selection
object to remove.InvalidStepArgException
- If a step in a selection is bad.SelectionException
- If a selection cannot be created.QueryException
- If there is a problem fetching data after this operation.MetadataManagerException
- If an error occurred using the MetadataManager bean.public com.sun.java.util.collections.List findAllSelections()
Selection
objects for this Query
. Each Selection
corresponds to an underlying dimension (including the Measure dimension). The Query
is registered as a listener to all the Selection
objects in the collection, such that changes to any one of them are captured as Query
operations.Selection
objects.public Selection findSelection(java.lang.String dimension)
Selection
object that corresponds to the specified dimension.dimension
- The name of the dimension for which the current Selection
object should be returned.Selection
object that corresponds to the specified dimension.public Selection findSelection(com.sun.java.util.collections.List dimensions)
Selection
object that corresponds to the specified dimensions. The Query
is registered as a listener to this object so that changes to the underlying list of Step
objects are captured as Query
operations.dimension
- The dimensions for which to return the current Selection
object.Selection
object that corresponds to the specified dimensions.public void setUniverseSelection(java.lang.String dimension, Selection selection) throws InvalidStepArgException, MetadataManagerException, SelectionException, QueryException
Selection
object for the starting universe that corresponds to the specified dimension. This selection scopes the specified dimension for all future selection work that is applied to that dimension or query. Note that universe Selections may not be set for the measure dimension.dimension
- The dimension for which the universe will be specified.selection
- The Selection
to specify as the universe.InvalidStepArgException
- If a step in a selection is bad.SelectionException
- If a selection cannot be created.QueryException
- If there is a problem fetching data after this operation.MetadataManagerException
- If an error occurred using the MetadataManager bean.public Selection getUniverseSelection(java.lang.String dimension) throws IllegalArgException
Selection
object that is currently used as the starting universe for the specified dimension.The
- dimension for which the universe selection will be retrieved.Selection
object; null
if there is no universe Selection
object.IllegalArgException
- If arguments are invalid.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |