|
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 | |
---|---|
java.lang.Object |
getBookmarkData(java.lang.Object bookmarkID)
A list (has an eis entry name) passed in to get the real application list |
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 |
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 |
java.lang.String[] |
getUsers(long documentID,
boolean all)
Get all the users who have registered bookmarks for a given document. |
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. |
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 |
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 serverjava.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 userNamevoid 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 userjava.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 |