|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Methods for checkpointing state. Use the methods in this interface, in conjunction with the state management methods in the ThinBean interface, when you save thin-bean state in State objects in the BI Beans Catalog.
The following methods initialize state management and retrieve state changes:
ThinBean.setBaseState clears the state string and initializes state management in the thin bean. Call setBaseState whenever you instantiate a thin bean and whenever you load a thin bean from the BI Beans Catalog.ThinBean.getState retrieves state changes since the call to setBaseState. You can store the state string in the URL or in an oracle.cabo.servlet.state.MutableState. If the URL grows large enough that it might overflow the browser limit of the URL size, then save the state string in the MutableState and save the MutableState to the BI Beans Catalog, through the BIStateManager.checkpointState clears the checkpoint state and initializes checkpointing. In checkpointing, the thin bean keeps track of state changes since the call to checkpointState.getCheckpointState retrieves state changes since the last call to checkpointState. You can store this string in the URL or in a MutableState.The following methods set state on a thin bean.
ThinBean.setState to set the state that came from a call to getState. This sets state changes that occur between the call to setBaseState and the call to getState.setCheckpointState to set the state that came from a call to getCheckpointState.For more information about state management, see the BI Beans Help system.
ThinBean.setBaseState(), ThinBean.getState(), ThinBean.setState(java.lang.String), BIStateManager| Method Summary | |
void |
checkpointState()Initiates tracking of checkpoint state. |
java.lang.String |
getCheckpointState()Retrieves state differences since the last call to checkpointState. |
void |
setCheckpointState(java.lang.String state)Sets on this thin bean the state changes since the last call to checkpointState. |
| Method Detail |
public java.lang.String getCheckpointState()
checkpointState.
You normally store the returned String in the URL. The return value from this method, together with the return value from the getState method, describe all of the state changes that have been made to this thin bean since it was initialized (since the last call to setBaseState).
checkpointState was last called.checkpointState(), ThinBean.getState(), ThinBean.setBaseState()
public void setCheckpointState(java.lang.String state)
throws ThinException
checkpointState.state - The state differences from the last call to checkpointState.ThinException - If the state could not be set.ThinBean.setState(java.lang.String)public void checkpointState()
getState method of the thin bean. Save the state string that getState returns in an oracle.cabo.servlet.state.MutableState object. Save the MutableState to the BI Beans Catalog, by calling the saveState method of the BIStateManager. Then, call this method to keep track of changes that occur after you save the state string in the Catalog.ThinBean.getState(), BIStateManager
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||