|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dss.dataSource.common.Query | +--oracle.dss.dataSource.QueryServer
Implements the DataSource API from the server perspective. This object contains the real working implementations of the API
Fields inherited from class oracle.dss.dataSource.common.Query |
NO_EVALUATE_ON_LOAD, QUERY_MANAGER |
Fields inherited from interface oracle.dss.dataSource.common.DrillConstants |
DRILL_EXCLUDE_RANGE, DRILL_EXCLUDE_SELF, DRILL_EXCLUDE_SIBLINGS |
Constructor Summary | |
QueryServer() Construct a QueryServer object | |
QueryServer(QueryManagerServer qm) Construct a QueryServer object |
Method Summary | |
void |
addCubeMeasures(java.lang.String[] measures) Add one or more measures to an existing query. |
void |
applyDataMap(DataMap map) Request that the specified data layers be added to the underlying query These data layers will be included in subsequent cursors. |
void |
applyMetadataMap(int edge, MetadataMap map) Request that the specified metadatadata layers be added to the underlying query These metadata layers will be included in subsequent cursors. |
void |
applyMetadataMap(java.lang.String dimension, MetadataMap map) Request that the specified metadatadata layers be added to the underlying query These metadata layers will be included in subsequent cursors. |
void |
applySelection(Selection selection) Apply the given Selection object to the corresponding Selection object in the Query. |
void |
applySelections(Selection[] sels) Apply the given selections to the corresponding Selection objects in the Query. |
void |
checkpointState() Tells the ThinBean to start tracking state changes. |
java.lang.Object |
clone() Clone this QueryManager |
java.lang.Object |
clone(boolean evaluateCursor) Clone this QueryServer |
boolean |
commit() |
void |
drill(java.lang.String dimension, java.lang.String value, java.lang.String hierarchy, int delta, java.lang.String valueParent, java.lang.String queryParent) Drills to a relative level of the specified hierarchy accepting value's parent for optimization of drill steps later. |
void |
drill(java.lang.String dimension, java.lang.String value, java.lang.String hierarchy, int delta, java.lang.String valueParent, java.lang.String queryParent, int levelDepth, OlapQDR parentQDR) Drills to a relative level of the specified hierarchy accepting a value's parent for optimization of drill steps later. |
void |
drill(java.lang.String dimension, java.lang.String value, java.lang.String hierarchy, int delta, java.lang.String valueParent, java.lang.String queryParent, OlapQDR parentQDR) Drills to a relative level of the specified hierarchy accepting a value's parent for optimization of drill steps later. |
void |
drill(java.lang.String dimension, java.lang.String value, java.lang.String hierarchy, java.lang.String level, int action, java.util.BitSet flags) Drill to specified level of the specified hierarchy. |
com.sun.java.util.collections.List |
findAllSelections() Return a reference to the complete collection of Selection objects for the 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) Return a Selection object corresponding to the specified dimension. |
CalcStep |
getCalcStep(MDObject mdObject) Retrieves the CalcStep that is associated with the specified MDObject . |
java.lang.String |
getCheckpointState() Used to retrieve the state differences from the last time that state was checkpointed. |
java.lang.String |
getDatabaseName() Return the name of the current database this Query's QueryManager is using. |
java.lang.String[][] |
getLayout() Return the current layout of dimensions in the query as a two-dimensional String Note this method may throw a QueryRuntimeException |
java.lang.String[] |
getMeasures() Return the current set of measuresin the query |
interface |
getMetadataManager() Return the current metadata manager set on this query |
QueryManager |
getQueryManager() Get the QueryManager property value |
QueryState |
getQueryState() Grab a state marker (client side momento) for the current Query state |
java.lang.String |
getState() Returns a String that represents the changes in the ThinBean , since the ThinBean was created or since setBaseState() was called. |
Selection |
getUniverseSelection(java.lang.String dimension) Return the selection object being used as the starting "universe" corresponding to the specified dimension. |
java.lang.Object |
getXML( retCons) |
void |
initCubeQuery(java.lang.String[] measures, java.lang.String[][] dimensions) Create a query based on one or more specified measures. |
void |
initQuery(java.lang.String[][] dimensions, java.lang.String[] measures) Create a query based on the specified dimensions; an optional measure can also be specified. |
java.lang.Boolean |
isDependentOn(MDObject object) Checks a given MDObject (measures are the only type of MDObject checked at this time) and determines if the query makes use of the object in its selections or measure list. |
java.lang.Boolean |
layout(java.lang.String[][] dimensions) Arrange the layout of dimensions along the query's edges. |
void |
pivot(java.lang.String source, java.lang.String target, int flags) Perform the specified pivot operation. |
void |
refresh(boolean rebuild) Refreshes all cursors and/or structures of this Query object. |
void |
removeCubeMeasures(java.lang.String[] measures) Remove one or more measures from an existing query. |
void |
removeSelection(Selection selection) Remove the given Selection object from the Query. |
void |
setBaseState() Establishes a base state for the ThinBean from which state changes that go onto the state string are tracked. |
void |
setCheckpointState(java.lang.String state) Used to set state differences from the last time that state was checkpointed. |
void |
setDataMap(DataMap map) Request that the specified data layers be fetched for all clients and all subsequent cursors. |
void |
setDefaultLayoutCounts(int numCol, int numRow) Set the default layout dimension count properties. |
void |
setEvaluateCursor(boolean evalCursor) Turn off actual cursor evaluation |
void |
setMetadataMap(java.lang.String dimension, MetadataMap map) Request that the specified metadatadata layers be fetched for all clients and all subsequent cursors. |
void |
setQueryManager(QueryManager qm) Set the QueryManager property |
void |
setQueryState(QueryState state) Set the Data Source back to a previously given state. |
void |
setState(java.lang.String xml) Sets a state string that represents the changes on the ThinBean , since the ThinBean was created or since setBaseState() was called. |
void |
setUniverseSelection(java.lang.String dimension, Selection selection) Set a selection object for the starting "universe" corresponding to the specified dimension. |
void |
setXML( context, java.lang.Object node) |
boolean |
submit(com.sun.java.util.collections.List qdrCollection) |
void |
swap(java.lang.String source, java.lang.String target) Perform the specified swap operation. |
void |
swapEdges(int source, int target) Perform the specified edge swap operation. |
boolean |
updateCustomMeasures( selectionList, metadataManager) Updates the custom measures, if necessary. |
ValidationObject |
validate(int validationType) Validate the entire Query with OLAPI |
ValidationObject |
validate(int validationType, int edge) Validate the an entire edge with OLAPI |
ValidationObject |
validate(int validationType, Selection selection) Validate a Selection with OLAPI |
ValidationObject |
validate(int validationType, Step step) Validate a specific Step with OLAPI |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.dss.dataSource.common.MainManager |
getDataMap, getMetadataMap, getMetadataMap |
Methods inherited from interface oracle.dss.dataSource.common.BaseManager |
addQueryListener, cancel, getFetchPageEdge, getFetchSize, getSuppressionState, isAsymmetricDrilling, isAutoUpdate, isEvaluateCursor, isHierarchicalDrilling, isUpdatePending, removeQueryListener, setAsymmetricDrilling, setAutoUpdate, setFetchPageEdge, setFetchSize, setHierarchicalDrilling, setSuppressionState, update |
Methods inherited from interface javax.infobus.InfoBusMember |
addInfoBusPropertyListener, addInfoBusVetoableListener, getInfoBus, removeInfoBusPropertyListener, removeInfoBusVetoableListener, setInfoBus |
Methods inherited from interface javax.infobus.InfoBusDataProducer |
dataItemRequested |
Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
Methods inherited from interface oracle.dss.util.persistence.Persistable |
getPersistableAttributes, getPersistableComponents, initialize, setPersistableAttributes, setPersistableComponents |
Methods inherited from interface oracle.dss.util.persistence.StringXMLizable |
getXMLAsString, setXMLAsString |
Constructor Detail |
public QueryServer()
public QueryServer(QueryManagerServer qm) throws java.lang.Exception
java.lang.Exception
- error encountered bringing back query after persistenceMethod Detail |
public void setQueryManager(QueryManager qm) throws java.lang.Exception
setQueryManager
in class Query
qmc
- QueryManager instancejava.lang.Exception
- error encountered bringing back query after persistencepublic QueryManager getQueryManager()
getQueryManager
in class Query
public void setUniverseSelection(java.lang.String dimension, Selection selection) throws InvalidStepArgException, MetadataManagerException, SelectionException, QueryException
setUniverseSelection
in interface SelectionManager
dimension
- dimension for which to set the universeselection
- selection to set as the universeInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic Selection getUniverseSelection(java.lang.String dimension) throws IllegalArgException
null
if none.getUniverseSelection
in interface SelectionManager
dimension
- for which to return the universe selectionIllegalArgException
- if arguments are invalidpublic java.lang.Object clone(boolean evaluateCursor) throws java.lang.CloneNotSupportedException
clone
in class Query
evaluateCursor
- true
if this clone should have cursor evaluation turned onjava.lang.CloneNotSupportedException
- thrown if a Query can not be clonedpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface BaseManager
clone
in class Query
java.lang.CloneNotSupportedException
- thrown if a QueryManager can not be clonedpublic getMetadataManager()
getMetadataManager
in class Query
public void drill(java.lang.String dimension, java.lang.String value, java.lang.String hierarchy, int delta, java.lang.String valueParent, java.lang.String queryParent) throws InvalidStepArgException, SelectionException, QueryException, MetadataManagerException
drill
in interface DrillManager
dimension
- The dimension to drill.value
- The dimension value, also known as the dimension member, to drill.hierarchy
- The target hierarchy for the drill.delta
- The relative number of levels to traverse within the specified hierarchy. Positive numbers drill down, negative numbers drill up.valueParent
- value's parent dimension value. This is used for optimizing later potential drill up requests.queryParent
- the item from the original query members under which this drill occursInvalidStepArgException
- 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 Database bean.public void drill(java.lang.String dimension, java.lang.String value, java.lang.String hierarchy, int delta, java.lang.String valueParent, java.lang.String queryParent, OlapQDR parentQDR) throws InvalidStepArgException, SelectionException, QueryException, MetadataManagerException
drill
in interface DrillManager
dimension
- The dimension to drill.value
- The dimension value, also known as the dimension member, to drill.hierarchy
- The target hierarchy for the drill.delta
- The relative number of levels to traverse within the specified hierarchy. Positive numbers drill down, negative numbers drill up.valueParent
- Value's parent dimension value; used for optimizing later potential drill up requests.queryParent
- The item from the original query members under which this drill occurs.parentQDR
- An optional OlapQDR specifying dimension/member pairs limiting where this drill (down) should take place (parents of the target)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 drill(java.lang.String dimension, java.lang.String value, java.lang.String hierarchy, int delta, java.lang.String valueParent, java.lang.String queryParent, int levelDepth, OlapQDR parentQDR) throws InvalidStepArgException, SelectionException, QueryException, MetadataManagerException
drill
in interface DrillManager
dimension
- The dimension to drill.value
- The dimension value, also known as the dimension member, to drill.hierarchy
- The target hierarchy for the drill.delta
- The relative number of levels to traverse within the specified hierarchy. Positive numbers drill down, negative numbers drill up.valueParent
- Value's parent dimension value; used for optimizing later potential drill up requests.queryParent
- The item from the original query members under which this drill occurs.levelDepth
- Optional performance hint indicating the numeric level at which the drill target sits within its hierarchyparentQDR
- An optional OlapQDR specifying dimension/member pairs limiting where this drill (down) should take place (parents of the target)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 drill(java.lang.String dimension, java.lang.String value, java.lang.String hierarchy, java.lang.String level, int action, java.util.BitSet flags) throws InvalidStepArgException, SelectionException, QueryException, MetadataManagerException
drill
in interface DrillManager
dimension
- dimension to drillvalue
- dimension value to drillhierarchy
- target hierarchylevel
- target level to traverse toaction
- selection step action (e.g., Step.ADD)flags
- optional flagsInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic java.lang.Boolean layout(java.lang.String[][] dimensions) throws InvalidStepArgException, SelectionException, QueryException, MetadataManagerException
layout
in interface LayoutManager
dimensions
- array of dimension layout arraystrue
if layout was acceptable, false
if notInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic java.lang.String[][] getLayout()
getLayout
in interface LayoutManager
public void pivot(java.lang.String source, java.lang.String target, int flags) throws InvalidStepArgException, QueryException, SelectionException, MetadataManagerException
pivot
in interface LayoutManager
source
- source dimensiontarget
- target dimensionflags
- pivot flagsInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic void swap(java.lang.String source, java.lang.String target) throws InvalidStepArgException, QueryException, SelectionException, MetadataManagerException
swap
in interface LayoutManager
source
- source dimensiontarget
- target dimensionInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic void swapEdges(int source, int target) throws InvalidStepArgException, QueryException, SelectionException, MetadataManagerException
swapEdges
in interface LayoutManager
source
- source edgetarget
- target edgeInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic void applySelection(Selection selection) throws InvalidStepArgException, SelectionException, QueryException, MetadataManagerException
applySelection
in interface SelectionManager
selection
- the selection to applyInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic void removeSelection(Selection selection) throws InvalidStepArgException, SelectionException, QueryException, MetadataManagerException
removeSelection
in interface SelectionManager
selection
- the selection to removeInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic void applySelections(Selection[] sels) throws InvalidStepArgException, SelectionException, QueryException, MetadataManagerException
applySelections
in interface SelectionManager
selections
- the selections to applyInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic boolean updateCustomMeasures( selectionList, metadataManager)
selectionList
- a SelectionList
value that represents the selections to process.metadataManager
- a MetadataManager
used to retrieve metadata.boolean
which is true
when the measure dimension has been updated and false
otherwise.public com.sun.java.util.collections.List findAllSelections()
findAllSelections
in interface SelectionManager
public java.lang.Boolean isDependentOn(MDObject object)
isDependentOn
in interface MainManager
object
- MDObject representing the object to checktrue
if the query uses the object, false
otherwisepublic 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.findSelection
in interface SelectionManager
dimension
- The dimensions for which to return the current Selection
object.Selection
object that corresponds to the specified dimensions.public Selection findSelection(java.lang.String dimension)
findSelection
in interface SelectionManager
dimension
- the dimension for which to return the current selection objectpublic void addCubeMeasures(java.lang.String[] measures) throws InvalidStepArgException, SelectionException, QueryException, MetadataManagerException
addCubeMeasures
in interface MainManager
measures
- the measures to addInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic void applyDataMap(DataMap map)
applyDataMap
in interface MainManager
map
- the DataMap containing desired layerspublic void applyMetadataMap(java.lang.String dimension, MetadataMap map) throws QueryException, InvalidStepArgException, MetadataManagerException, SelectionException
applyMetadataMap
in interface MainManager
dimension
- dimension to which this map should be appliedmap
- the MetadataMap containing desired layersInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic void applyMetadataMap(int edge, MetadataMap map) throws QueryException, InvalidStepArgException, MetadataManagerException, SelectionException
applyMetadataMap
in interface MainManager
edge
- edge to which this will be appliedmap
- the MetadataMap containing desired layersInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic void initCubeQuery(java.lang.String[] measures, java.lang.String[][] dimensions) throws QueryException, InvalidStepArgException, SelectionException, java.lang.IllegalArgumentException, MetadataManagerException
initCubeQuery
in interface MainManager
measures
- measures namesdimensions
- optional array of dimension layout arraysQueryException
- thrown if a cursor can't be created for this queryInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdjava.lang.IllegalArgumentException
- thrown if one or more of the arguments is invalidMetadataManagerException
- thrown if an error occurred using the database beanpublic void initQuery(java.lang.String[][] dimensions, java.lang.String[] measures) throws QueryException, InvalidStepArgException, SelectionException, java.lang.IllegalArgumentException, MetadataManagerException
initQuery
in interface MainManager
dimensions
- dimension layout arraysmeasure
- optional measure (may be null--OLAPI value source will be used in that case)QueryException
- thrown if a cursor can't be created for this queryInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdjava.lang.IllegalArgumentException
- thrown if one or more of the arguments is invalidMetadataManagerException
- thrown if an error occurred using the database beanpublic java.lang.String[] getMeasures()
getMeasures
in interface MainManager
getMeasures
in class Query
public ValidationObject validate(int validationType) throws InvalidStepArgException, MetadataManagerException, SelectionException, QueryException
validate
in interface MainManager
validationType
- OR-able constants indicating types of validation to performValidationObject
indicating results of validationInvalidStepArgException
- 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 Database bean.public ValidationObject validate(int validationType, int edge) throws InvalidStepArgException, MetadataManagerException, SelectionException, QueryException
validate
in interface MainManager
validationType
- OR-able constants indicating types of validation to performedge
- edge to validateValidationObject
indicating results of validationInvalidStepArgException
- 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 Database bean.public ValidationObject validate(int validationType, Selection selection) throws InvalidStepArgException, MetadataManagerException, SelectionException, QueryException
validate
in interface MainManager
validationType
- OR-able constants indicating types of validation to performselection
- Selection to validateValidationObject
indicating results of validationInvalidStepArgException
- 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 Database bean.public ValidationObject validate(int validationType, Step step) throws InvalidStepArgException, MetadataManagerException, SelectionException, QueryException
validate
in interface MainManager
validationType
- OR-able constants indicating types of validation to performstep
- Step to validateValidationObject
indicating results of validationInvalidStepArgException
- 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 Database bean.public void removeCubeMeasures(java.lang.String[] measures) throws InvalidStepArgException, SelectionException, QueryException, MetadataManagerException
removeCubeMeasures
in interface MainManager
measures
- list of measures to removeInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic void setDataMap(DataMap map)
setDataMap
in interface MainManager
map
- the DataMap containing desired layerspublic void setMetadataMap(java.lang.String dimension, MetadataMap map) throws QueryException, InvalidStepArgException, MetadataManagerException, SelectionException
setMetadataMap
in interface MainManager
dimension
- dimension whose map to setmap
- the MetadataMap containing desired layersInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic void refresh(boolean rebuild) throws QueryException, InvalidStepArgException, SelectionException, MetadataManagerException
Query
object.refresh
in interface MainManager
rebuild
- if true
, refreshes the structural elements of the query such as calculations. If false, false
a minimal refresh from the database is performedInvalidStepArgException
- If a step in a selection is bad.SelectionException
- If a selection can not be created.QueryException
- If there is a problem fetching data after this operation.MetadataManagerException
- If an error occurred using the MetadataManager bean.public java.lang.String getDatabaseName()
getDatabaseName
in class Query
public QueryState getQueryState() throws CloneException
getQueryState
in interface BaseManager
CloneException
- Thrown if the state cannot be duplicatedpublic void setQueryState(QueryState state) throws QueryException, InvalidStepArgException, SelectionException, MetadataManagerException
setQueryState
in interface BaseManager
state
- state previously givenInvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic void setDefaultLayoutCounts(int numCol, int numRow)
numCol
- number of dimensions to put on the columnnumRow
- number of dimensions to put on the rowpublic CalcStep getCalcStep(MDObject mdObject) throws MetadataManagerException
CalcStep
that is associated with the specified MDObject
.mdObject
- The MDObject
to retrieve the CalcStep
from.CalcStep
that represents the CalcStep
that is associated with the specified MDObject
.MetadataManagerException
- If a CalcStep
object cannot be retrieved from the MDObject
.public java.lang.Object getXML( retCons)
getXML
in class Query
public void setXML( context, java.lang.Object node)
setXML
in class Query
public void setEvaluateCursor(boolean evalCursor) throws QueryException, InvalidStepArgException, SelectionException, MetadataManagerException
setEvaluateCursor
in interface BaseManager
setEvaluateCursor
in class Query
eval
- should cursors be evaluated?InvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic boolean submit(com.sun.java.util.collections.List qdrCollection) throws QueryException
public boolean commit() throws QueryException
public void setBaseState()
ThinBean
from which state changes that go onto the state string are tracked. This call will effectively clear the thin bean's current state string.public void checkpointState()
oracle.dss.thin.beans.CheckpointState
ThinBean.getState()
, BIStateManager
public void setState(java.lang.String xml)
ThinBean
, since the ThinBean
was created or since setBaseState() was called. This string placed onto the URLs/Forms that an application generates, so that the application can re-establish the thin bean's state from a request's URL. This placing of an application's state onto the URL supports the ability for the application to support re-establishing application state from a bookmark. Note that this routine may throw a QueryRuntimeException.a
- ThinBean
statepublic void setCheckpointState(java.lang.String state) throws ThinException
state
- the state differences from the last checkpointThinException
- if the state could not be setpublic java.lang.String getState()
ThinBean
, since the ThinBean
was created or since setBaseState() was called. This string placed onto the URLs/Forms that an application generates, so that the application can re-establish the thin bean's state from a request's URL. This placing of an application's state onto the URL supports the ability for the application to support re-establishing application state from a bookmark. Note this method may throw a QueryRuntimeException.ThinBean
's statepublic java.lang.String getCheckpointState()
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |