|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface BookmarkManagerInterface
| Field Summary | |
|---|---|
static java.lang.String |
contextClasspath
|
static int |
INVALID_PASSWORD
|
static int |
NEW_USER
|
static int |
VALIDATED
|
| Method Summary | |
|---|---|
abstract java.lang.Object |
getBookmarkData(java.lang.Object bookmarkID)
A list (has an eis entry name) passed in to get the real application list |
abstract java.lang.Object |
getBookmarks(long documentID,
java.lang.String userName)
Get the list of bookmarks and folders (public only) for a given document and username |
abstract java.lang.Object |
getBookmarks(long documentID,
java.lang.String userName,
java.lang.String password)
Get the list of bookmarks and folders (public and private) for a given document and username only if the password is valid |
abstract java.lang.String[] |
getUsers(long documentID,
boolean all)
Get all the users who have registered bookmarks for a given document. |
abstract void |
setBookmarks(java.lang.String documentName,
long documentID,
java.lang.String userName,
java.lang.String password,
java.lang.Object bookmarks)
Set the bookmarks for a given user. |
abstract int |
validateUser(java.lang.String userName,
java.lang.String password)
Validate the password for a given username. |
| Methods inherited from interface com.sas.sasserver.RemoteBookmarkManagerInterface |
|---|
_getBookmarkData, _getBookmarks, _getBookmarks, _getMessage, _getUsers, _setBookmarks, _validateUser |
| Methods inherited from interface com.sas.ViewInterface |
|---|
attachModel, detachModel, getModelInterface, getRequiredInterfaces, getViewInterfaceSupportInfo, refresh, removeInterfaceTraps, setModelInterface, setRequiredInterfaces, setViewInterfaceSupportInfo, supportsRequiredInterfaces, trapInterfaceEvents |
| Methods inherited from interface com.sas.ModelInterface |
|---|
attachView, detachView |
| Methods inherited from interface com.sas.LinkPropertiesInterface |
|---|
addLink, getLinkInfo, isLinked, queryLinks, queryLinks, removeAllLinks, removeLink, setLinkInfo |
| Field Detail |
|---|
static final java.lang.String contextClasspath
static final int VALIDATED
static final int NEW_USER
static final int INVALID_PASSWORD
| Method Detail |
|---|
java.lang.Object getBookmarks(long documentID,
java.lang.String userName)
throws BookmarkException
documentID - of the document associated with the bookmarkuserName - of the user for the document
BookmarkException - if unable to get list of bookmarks from server
java.lang.Object getBookmarks(long documentID,
java.lang.String userName,
java.lang.String password)
throws BookmarkException
documentID - of the document associated with the bookmarkuserName - of the user for the documentpassword - for the user
BookmarkException - if the password is invalid for the userName
void setBookmarks(java.lang.String documentName,
long documentID,
java.lang.String userName,
java.lang.String password,
java.lang.Object bookmarks)
throws BookmarkException
documentID - associated with the bookmarkdocumentName - associated with the bookmarkuserName - of the user for the documentpassword - for the userHList - containing lists of Bookmark information
BookmarkExcpetion - if the password is invalid for an existing user
BookmarkException
java.lang.String[] getUsers(long documentID,
boolean all)
throws BookmarkException
documentID - for the users listall - the users registered for a given document. If false, only
return those users who have registered "public" bookmarks.
BookmarkExcpetion - if unable to get list of users from server
BookmarkException
int validateUser(java.lang.String userName,
java.lang.String password)
throws BookmarkException
userName - to validate the password for.password - to validate for a given username.
BookmarkException - if error validating user
java.lang.Object getBookmarkData(java.lang.Object bookmarkID)
throws BookmarkException
bookmarkId - a list with entry name
BookmarkException
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||