com.sas.util
Interface BookmarkableInterface


public interface BookmarkableInterface

Defines an interface for objects that can be bookmarked. An object that can be bookmarked is one that can encapsulate an aspect of its current state into something that can be saved and returned to later. For example, a particular url in a web browser or a drill path in a multidimensional table.

Consumers of this interface will usually associate a name with the data returned by getBookmark() and package both as a BookmarkInterface.

See Also:
BookmarkInterface

Method Summary
 java.lang.Object getBookmark()
          Returns a bookmark for this object's current state.
 void gotoBookmark(java.lang.Object bookmark)
          Goes to, or restores, the state implied by the specified bookmark.
 

Method Detail

getBookmark

java.lang.Object getBookmark()
Returns a bookmark for this object's current state.

Returns:
data that encapsulates the current state

gotoBookmark

void gotoBookmark(java.lang.Object bookmark)
Goes to, or restores, the state implied by the specified bookmark.

Parameters:
bookmark - data returned from a call to getBookmark()



Copyright © 2009 SAS Institute Inc. All Rights Reserved.