Blue Mind
Release 1.0

net.bluemind.core.client.directory
Class DirectoryClient

java.lang.Object
  extended by net.bluemind.core.client.impl.AbstractClientImpl
      extended by net.bluemind.core.client.directory.DirectoryClient
All Implemented Interfaces:
IDirectory, ISyncClient

public class DirectoryClient
extends AbstractClientImpl
implements IDirectory


Field Summary
 
Fields inherited from class net.bluemind.core.client.impl.AbstractClientImpl
logger
 
Constructor Summary
DirectoryClient(java.lang.String backendUrl)
           
 
Method Summary
 void delete(AccessToken token, java.util.Collection<DirectoryEntry> list)
           
 ResultList<DirectoryEntry> find(AccessToken token, DirectoryQuery dq)
          Find entries matching the given query
 boolean isMailboxAvailable(AccessToken token, java.lang.String email)
           
 AccessToken login(java.lang.String login, java.lang.String password, java.lang.String origin)
           
 void logout(AccessToken at)
           
 
Methods inherited from class net.bluemind.core.client.impl.AbstractClientImpl
checkServerError, execute, executeStream, executeVoid, initParams, setToken, sudo, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryClient

public DirectoryClient(java.lang.String backendUrl)
Method Detail

find

public ResultList<DirectoryEntry> find(AccessToken token,
                                       DirectoryQuery dq)
                                throws AuthFault,
                                       ServerFault
Description copied from interface: IDirectory
Find entries matching the given query

Specified by:
find in interface IDirectory
dq - the Directory query
Returns:
Throws:
AuthFault
ServerFault

delete

public void delete(AccessToken token,
                   java.util.Collection<DirectoryEntry> list)
            throws AuthFault,
                   ServerFault
Specified by:
delete in interface IDirectory
Throws:
AuthFault
ServerFault

login

public AccessToken login(java.lang.String login,
                         java.lang.String password,
                         java.lang.String origin)
Specified by:
login in interface ISyncClient
Overrides:
login in class AbstractClientImpl

logout

public void logout(AccessToken at)
Specified by:
logout in interface ISyncClient
Overrides:
logout in class AbstractClientImpl

isMailboxAvailable

public boolean isMailboxAvailable(AccessToken token,
                                  java.lang.String email)
                           throws AuthFault,
                                  ServerFault
Specified by:
isMailboxAvailable in interface IDirectory
Throws:
AuthFault
ServerFault

Blue Mind
Release 1.0