Blue Mind
Release 1.0

net.bluemind.core.client.sievefilter
Class SieveFilterClient

java.lang.Object
  extended by net.bluemind.core.client.impl.AbstractClientImpl
      extended by net.bluemind.core.client.sievefilter.SieveFilterClient
All Implemented Interfaces:
ISieveFilter, ISyncClient

public class SieveFilterClient
extends AbstractClientImpl
implements ISieveFilter


Field Summary
 
Fields inherited from class net.bluemind.core.client.impl.AbstractClientImpl
logger
 
Constructor Summary
SieveFilterClient(java.lang.String backendUrl)
           
 
Method Summary
 java.util.List<SieveFilter> getFilters(AccessToken at, int userId)
          Get user sieve filters
 AccessToken login(java.lang.String login, java.lang.String password, java.lang.String origin)
           
 void logout(AccessToken at)
           
 void setFilters(AccessToken at, java.util.List<SieveFilter> filters, int userId)
          Set user sieve filters
 
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

SieveFilterClient

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

getFilters

public java.util.List<SieveFilter> getFilters(AccessToken at,
                                              int userId)
                                       throws AuthFault,
                                              ServerFault
Description copied from interface: ISieveFilter
Get user sieve filters

Specified by:
getFilters in interface ISieveFilter
Parameters:
at - AccessToken
userId - user ID
Returns:
SieveFilter list
Throws:
AuthFault
ServerFault

setFilters

public void setFilters(AccessToken at,
                       java.util.List<SieveFilter> filters,
                       int userId)
                throws AuthFault,
                       ServerFault
Description copied from interface: ISieveFilter
Set user sieve filters

Specified by:
setFilters in interface ISieveFilter
Parameters:
at - AccessToken
filters - SieveFilter list
userId - user ID
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

Blue Mind
Release 1.0