|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StateHolder
Read-only interface to state. You can get access to the untyped document model or create a URL object based upon this state. Use the state manager to get typed accessors to this state.
Method Summary | |
---|---|
DocumentModel |
getModel()
Accesses the (untyped) document model that this state represents. |
StateHolderController |
newState(Constants.Clone type)
Creates a new state object. |
Methods inherited from interface com.ibm.portal.Disposable |
---|
dispose |
Method Detail |
---|
DocumentModel getModel()
StateHolderController newState(Constants.Clone type) throws InvalidConstantException, CannotCloneDocumentModelException, CannotCreateDocumentException
type
the state object
will be preinitialized with the current state or it will be emtpy. You may modify
the state in the engine URL object without affecting the state in the original state
holder. It is possible to get more than one engine URL object at a time.
type
- Constant that decides about the initial state of the engine URL,
may be null in which case a SMART_COPY will be generated.
InvalidConstantException
- The constant could not be recognized
CannotCloneDocumentModelException
- State could not be copied during the creation process of the engine URL
CannotCreateDocumentException
- Unable to create empty state for the new URL object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |