Blue Mind
Release 1.0

net.bluemind.core.client.distributionlist
Class DistributionListClient

java.lang.Object
  extended by net.bluemind.core.client.impl.AbstractClientImpl
      extended by net.bluemind.core.client.distributionlist.DistributionListClient
All Implemented Interfaces:
IDistributionList, ISyncClient

public class DistributionListClient
extends AbstractClientImpl
implements IDistributionList


Field Summary
 
Fields inherited from class net.bluemind.core.client.impl.AbstractClientImpl
logger
 
Constructor Summary
DistributionListClient(java.lang.String backendUrl)
           
 
Method Summary
 DistributionList create(AccessToken at, DistributionList dl, java.util.List<Contact> lc, java.util.List<DistributionList> ldl)
           
 void deleteDistributionList(AccessToken at, java.lang.Integer id)
           
 DistListChanges doSync(AccessToken at, ClientDistListChanges clientChanges, java.util.HashMap<java.lang.Integer,java.util.Date> folders, boolean expandAll)
           
 ResultList<DistributionList> find(AccessToken at, DistributionListQuery dlq)
           
 DistributionList getFromId(AccessToken at, int id)
           
 ResultList<Member> getMembers(AccessToken at, MemberQuery mq, int id)
           
 AccessToken login(java.lang.String login, java.lang.String password, java.lang.String origin)
           
 void logout(AccessToken at)
           
 void touch(AccessToken token, java.util.List<java.lang.Integer> ids)
           
 DistributionList update(AccessToken at, DistributionList dl, java.util.List<Contact> lc, java.util.List<DistributionList> ldl)
           
 
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

DistributionListClient

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

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

create

public DistributionList create(AccessToken at,
                               DistributionList dl,
                               java.util.List<Contact> lc,
                               java.util.List<DistributionList> ldl)
                        throws AuthFault,
                               ServerFault
Specified by:
create in interface IDistributionList
Throws:
AuthFault
ServerFault

getFromId

public DistributionList getFromId(AccessToken at,
                                  int id)
                           throws AuthFault,
                                  ServerFault
Specified by:
getFromId in interface IDistributionList
Throws:
AuthFault
ServerFault

getMembers

public ResultList<Member> getMembers(AccessToken at,
                                     MemberQuery mq,
                                     int id)
                              throws AuthFault,
                                     ServerFault
Specified by:
getMembers in interface IDistributionList
Throws:
AuthFault
ServerFault

update

public DistributionList update(AccessToken at,
                               DistributionList dl,
                               java.util.List<Contact> lc,
                               java.util.List<DistributionList> ldl)
                        throws AuthFault,
                               ServerFault
Specified by:
update in interface IDistributionList
Throws:
AuthFault
ServerFault

deleteDistributionList

public void deleteDistributionList(AccessToken at,
                                   java.lang.Integer id)
                            throws AuthFault,
                                   ServerFault
Specified by:
deleteDistributionList in interface IDistributionList
Throws:
AuthFault
ServerFault

find

public ResultList<DistributionList> find(AccessToken at,
                                         DistributionListQuery dlq)
                                  throws AuthFault,
                                         ServerFault
Specified by:
find in interface IDistributionList
Throws:
AuthFault
ServerFault

doSync

public DistListChanges doSync(AccessToken at,
                              ClientDistListChanges clientChanges,
                              java.util.HashMap<java.lang.Integer,java.util.Date> folders,
                              boolean expandAll)
                       throws AuthFault,
                              ServerFault
Specified by:
doSync in interface IDistributionList
Throws:
AuthFault
ServerFault

touch

public void touch(AccessToken token,
                  java.util.List<java.lang.Integer> ids)
           throws AuthFault,
                  ServerFault
Specified by:
touch in interface IDistributionList
Throws:
AuthFault
ServerFault

Blue Mind
Release 1.0