|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jurismarches.vradi.services.managers.ClientManager
public class ClientManager
Class that contains the methods to retrieve the information related to the clients
| Field Summary | |
|---|---|
protected org.nuiton.wikitty.WikittyProxy |
wikittyProxy
|
| Constructor Summary | |
|---|---|
ClientManager(org.nuiton.wikitty.WikittyProxy wikittyProxy)
|
|
| Method Summary | |
|---|---|
void |
archiveQueries(QueryMaker queryMaker)
Archives the queries of a user, client or group in a RSS file. |
void |
deleteClient(java.lang.String clientId)
Delete client, users associated and user groups association |
void |
deleteGroup(java.lang.String groupId)
Delete group |
void |
deleteUser(java.lang.String userId)
Delete users, and groups association |
java.util.List<Client> |
getAllClients()
|
java.util.List<Group> |
getAllGroups()
|
java.util.List<User> |
getAllUsers()
|
Client |
getClient(java.lang.String clientId)
|
Client |
getClientByUserId(java.lang.String userId)
|
Group |
getGroup(java.lang.String groupId)
|
java.util.List<Group> |
getGroupsForUser(java.lang.String userId)
|
java.util.List<User> |
getGroupUsers(java.lang.String groupId)
|
java.lang.String |
getQueryHistoryFile(java.lang.String id)
|
User |
getUser(java.lang.String userId)
|
java.util.List<User> |
getUsersByClient(java.lang.String clientId)
Find all users for a client. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.nuiton.wikitty.WikittyProxy wikittyProxy
| Constructor Detail |
|---|
public ClientManager(org.nuiton.wikitty.WikittyProxy wikittyProxy)
| Method Detail |
|---|
public void deleteClient(java.lang.String clientId)
throws VradiException
clientId - to delete
VradiException - throw vradiException if exception is occured
public void deleteUser(java.lang.String userId)
throws VradiException
userId - to delete
VradiException - throw vradiException if exception is occured
public void deleteGroup(java.lang.String groupId)
throws VradiException
groupId - to delete
VradiException - throw vradiException if exception is occured
public User getUser(java.lang.String userId)
throws VradiException
VradiException
public Client getClient(java.lang.String clientId)
throws VradiException
VradiException
public Group getGroup(java.lang.String groupId)
throws VradiException
VradiException
public java.util.List<User> getGroupUsers(java.lang.String groupId)
throws VradiException
VradiExceptionpublic java.util.List<User> getUsersByClient(java.lang.String clientId)
clientId - client wikitty id
public java.util.List<Group> getGroupsForUser(java.lang.String userId)
throws VradiException
VradiException
public Client getClientByUserId(java.lang.String userId)
throws VradiException
VradiException
public java.util.List<Client> getAllClients()
throws VradiException
VradiException
public java.util.List<User> getAllUsers()
throws VradiException
VradiException
public java.util.List<Group> getAllGroups()
throws VradiException
VradiException
public void archiveQueries(QueryMaker queryMaker)
throws VradiException
queryMaker - the query maker whose queries are archived
VradiException - throw vradiException if exception is occuredpublic java.lang.String getQueryHistoryFile(java.lang.String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||