Blue Mind
Release 1.0

net.bluemind.core.server
Class AbstractSyncHandler

java.lang.Object
  extended by net.bluemind.core.server.AbstractSyncHandler
All Implemented Interfaces:
ISyncHandler
Direct Known Subclasses:
AclHandler, AddressBookHandler, DeviceHandler, DirectoryHandler, DistributionListHandler, EventHandler, GroupHandler, InfoHandler, LoginHandler, MailshareHandler, RBACHandler, ResourceHandler, SettingHandler, SieveFilterHandler, SolrHandler, UserHandler

public abstract class AbstractSyncHandler
extends Object
implements ISyncHandler


Field Summary
protected  Logger logger
           
protected  Map<String,IMethod> methods
           
 
Constructor Summary
protected AbstractSyncHandler()
           
 
Method Summary
 Map<String,IMethod> getMethods()
           
 void handle(String methodKey, ParametersSource params, XmlResponder responder)
           
protected  String p(ParametersSource params, String name)
           
protected  void registerMethod(IMethod method)
           
protected
<T extends Query>
T
updateQueryParams(ParametersSource params, T query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.bluemind.core.server.ISyncHandler
getName
 

Field Detail

logger

protected Logger logger

methods

protected Map<String,IMethod> methods
Constructor Detail

AbstractSyncHandler

protected AbstractSyncHandler()
Method Detail

p

protected String p(ParametersSource params,
                   String name)

updateQueryParams

protected <T extends Query> T updateQueryParams(ParametersSource params,
                                                T query)

registerMethod

protected void registerMethod(IMethod method)

handle

public void handle(String methodKey,
                   ParametersSource params,
                   XmlResponder responder)
            throws AuthFault,
                   ServerFault
Specified by:
handle in interface ISyncHandler
Throws:
AuthFault
ServerFault

getMethods

public Map<String,IMethod> getMethods()
Returns:
list of handled methods

Blue Mind
Release 1.0