Blue Mind
Release 1.0

net.bluemind.core.client.mailshare
Class MailshareClient

java.lang.Object
  extended by net.bluemind.core.client.impl.AbstractClientImpl
      extended by net.bluemind.core.client.mailshare.MailshareClient
All Implemented Interfaces:
IMailshare, ISyncClient

public class MailshareClient
extends AbstractClientImpl
implements IMailshare


Field Summary
 
Fields inherited from class net.bluemind.core.client.impl.AbstractClientImpl
logger
 
Constructor Summary
MailshareClient(java.lang.String syncServicesUrl)
           
 
Method Summary
 Mailshare create(AccessToken token, Mailshare mailshare)
           
 java.lang.String deleteMailshare(AccessToken token, int id)
           
 ResultList<Mailshare> find(AccessToken token, MailshareQuery mailshareQuery)
           
 Mailshare getMailshareFromId(AccessToken token, int id)
           
 AccessToken login(java.lang.String login, java.lang.String password, java.lang.String origin)
           
 void logout(AccessToken at)
           
 Mailshare update(AccessToken token, Mailshare mailshare)
           
 
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

MailshareClient

public MailshareClient(java.lang.String syncServicesUrl)
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 Mailshare create(AccessToken token,
                        Mailshare mailshare)
                 throws AuthFault,
                        ServerFault
Specified by:
create in interface IMailshare
Throws:
AuthFault
ServerFault

deleteMailshare

public java.lang.String deleteMailshare(AccessToken token,
                                        int id)
                                 throws ServerFault
Specified by:
deleteMailshare in interface IMailshare
Throws:
ServerFault

getMailshareFromId

public Mailshare getMailshareFromId(AccessToken token,
                                    int id)
                             throws ServerFault
Specified by:
getMailshareFromId in interface IMailshare
Throws:
ServerFault

update

public Mailshare update(AccessToken token,
                        Mailshare mailshare)
                 throws ServerFault
Specified by:
update in interface IMailshare
Throws:
ServerFault

find

public ResultList<Mailshare> find(AccessToken token,
                                  MailshareQuery mailshareQuery)
                           throws ServerFault
Specified by:
find in interface IMailshare
Throws:
ServerFault

Blue Mind
Release 1.0