com.jurismarches.vradi.services.managers
Class ClientManager

java.lang.Object
  extended by com.jurismarches.vradi.services.managers.ClientManager

public class ClientManager
extends Object

Class that contains the methods to retrieve the information related to the clients

Version:
$Revision: 866 $ $Date: 2010-05-07 11:38:12 +0200 (ven., 07 mai 2010) $
Author:
schorlet

Constructor Summary
ClientManager()
           
ClientManager(org.sharengo.wikitty.WikittyProxy proxy)
           
 
Method Summary
 void archiveQueries(QueryMaker queryMaker)
          Archives the queries of a user, client or group in a RSS file.
static QueryMaker castAsRealQueryMaker(QueryMakerImpl queryMakerImpl)
           
 List<Client> getAllClients()
           
 List<Group> getAllGroups()
           
 List<VradiUserDTO> getAllUserDTOs()
           
 List<User> getAllUsers()
           
 Client getClient(String clientId)
           
 Client getClientByUserId(String userId)
           
 List<User> getClientUsers(String clientId)
          Deprecated. since 20100507 unused
 Group getGroup(String groupId)
           
 List<Client> getGroupClients(String groupId)
           
 List<User> getGroupUsers(String groupId)
           
 String getQueryHistoryFile(String id)
           
 User getUser(String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientManager

public ClientManager(org.sharengo.wikitty.WikittyProxy proxy)

ClientManager

public ClientManager()
Method Detail

getUser

public User getUser(String userId)
             throws VradiException
Throws:
VradiException

getClient

public Client getClient(String clientId)
                 throws VradiException
Throws:
VradiException

getGroup

public Group getGroup(String groupId)
               throws VradiException
Throws:
VradiException

getGroupUsers

public List<User> getGroupUsers(String groupId)
                         throws VradiException
Throws:
VradiException

getClientUsers

@Deprecated
public List<User> getClientUsers(String clientId)
                          throws VradiException
Deprecated. since 20100507 unused

Throws:
VradiException

getGroupClients

public List<Client> getGroupClients(String groupId)
                             throws VradiException
Throws:
VradiException

getClientByUserId

public Client getClientByUserId(String userId)
                         throws VradiException
Throws:
VradiException

getAllClients

public List<Client> getAllClients()
                           throws VradiException
Throws:
VradiException

getAllUsers

public List<User> getAllUsers()
                       throws VradiException
Throws:
VradiException

getAllUserDTOs

public List<VradiUserDTO> getAllUserDTOs()
                                  throws VradiException
Throws:
VradiException

getAllGroups

public List<Group> getAllGroups()
                         throws VradiException
Throws:
VradiException

archiveQueries

public void archiveQueries(QueryMaker queryMaker)
                    throws VradiException
Archives the queries of a user, client or group in a RSS file.

Parameters:
queryMaker - the query maker whose queries are archived
Throws:
VradiException

castAsRealQueryMaker

public static QueryMaker castAsRealQueryMaker(QueryMakerImpl queryMakerImpl)

getQueryHistoryFile

public String getQueryHistoryFile(String id)


Copyright © 2009-2010 JurisMarches. All Rights Reserved.