|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.webapp.user.UserManagerService
public class UserManagerService
Remote interface for UserManager (and other stuff) Provides selected functionality to remote components.
| Constructor Summary | |
|---|---|
UserManagerService(UserManager manager)
|
|
| Method Summary | |
|---|---|
int |
deleteNote(String userId,
int noteId)
|
String |
getBook(String userId,
String bookId)
Get a user book. |
Hashtable |
getNote(String userId,
int noteId)
|
Vector |
getNotes(String userId,
String itemId)
|
int |
getNumNotes(String userId,
String itemId)
|
String |
getTocSection(String userId,
String bookId,
String tocId)
Return the |
Hashtable |
getUserData(String userId)
|
int |
saveNote(String userId,
Hashtable props)
|
int |
uploadUserBook(String userId,
String bookTitle,
String bookDescription,
String omdocXml)
Create a user book. |
int |
uploadUserBook(String userId,
String bookTitle,
String bookDescription,
String omdocXml,
String bookId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserManagerService(UserManager manager)
| Method Detail |
|---|
public Hashtable getUserData(String userId)
userId -
public int uploadUserBook(String userId,
String bookTitle,
String bookDescription,
String omdocXml)
throws Exception
userId - - id of user to create book forbookTitle - - title of the bookbookDescription - - short summary of the bookomdocXml - - the XLM defining the book.
1 if everything was okay, 0 else.
- Throws:
Exception - - any occuring exceptions are forwarded to the caller
public int uploadUserBook(String userId,
String bookTitle,
String bookDescription,
String omdocXml,
String bookId)
throws Exception
Exception
public String getBook(String userId,
String bookId)
throws Exception
userId - bookId -
Exception
public String getTocSection(String userId,
String bookId,
String tocId)
throws Exception
userId - bookId - tocId - - toc id of section (eg. "5-2" for subsection 2 of section 5)
Exception
public int getNumNotes(String userId,
String itemId)
public Vector getNotes(String userId,
String itemId)
public Hashtable getNote(String userId,
int noteId)
public int deleteNote(String userId,
int noteId)
public int saveNote(String userId,
Hashtable props)
-1.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||