com.tonbeller.wcf.bookmarks
Interface Bookmarkable

All Known Implementing Classes:
ComponentSupport, ToolBar

public interface Bookmarkable

State may be saved and restored later

Author:
av

Field Summary
static int EXTENSIONAL
          The bookmark should contain as much detail as possible, even if it may not work after the schema has changed.
static int INTENSIONAL
          The bookmark should contain a generic description which may contain less details but works in all conditions.
 
Method Summary
 java.lang.Object getBookmarkState(int levelOfDetail)
          retrieves the state of this instance
 void setBookmarkState(java.lang.Object state)
          sets the state of this instance
 

Field Detail

EXTENSIONAL

public static final int EXTENSIONAL
The bookmark should contain as much detail as possible, even if it may not work after the schema has changed. See http://www.esgs.org/uk/inex.htm

See Also:
Constant Field Values

INTENSIONAL

public static final int INTENSIONAL
The bookmark should contain a generic description which may contain less details but works in all conditions. See http://www.esgs.org/uk/inex.htm

See Also:
Constant Field Values
Method Detail

getBookmarkState

public java.lang.Object getBookmarkState(int levelOfDetail)
retrieves the state of this instance

Parameters:
levelOfDetail - INTENSIONAL or EXTENSIONAL

setBookmarkState

public void setBookmarkState(java.lang.Object state)
sets the state of this instance

Parameters:
state - the state returned by getBookmarkState