Class LDAPServiceImpl

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
com.logicaldoc.web.service.AbstractRemoteService
com.logicaldoc.ldap.LDAPServiceImpl
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, com.logicaldoc.gui.frontend.client.services.LDAPService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class LDAPServiceImpl extends com.logicaldoc.web.service.AbstractRemoteService implements com.logicaldoc.gui.frontend.client.services.LDAPService
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.LDAPService

    com.logicaldoc.gui.frontend.client.services.LDAPService.Instance
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(long id)
     
    com.logicaldoc.gui.common.client.beans.GUILDAPServer
    get(long serverId)
     
    List<com.logicaldoc.gui.common.client.beans.GUIValue>
    importUsers(List<String> usernames, long serverId)
     
    List<com.logicaldoc.gui.common.client.beans.GUIUser>
    listUsers(String login, long serverId)
     
    void
    reorder(List<Long> serverIds)
     
    com.logicaldoc.gui.common.client.beans.GUILDAPServer
    save(com.logicaldoc.gui.common.client.beans.GUILDAPServer guiLdapServer)
     
    boolean
    testConnection(com.logicaldoc.gui.common.client.beans.GUILDAPServer ldapServer)
     

    Methods inherited from class com.logicaldoc.web.service.AbstractRemoteService

    setThreadRequest

    Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet

    getSerializationPolicy, init, processCall, processCall, processPost

    Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet

    doPost

    Methods inherited from class javax.servlet.http.HttpServlet

    service

    Methods inherited from class javax.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LDAPServiceImpl

      public LDAPServiceImpl()
  • Method Details

    • get

      public com.logicaldoc.gui.common.client.beans.GUILDAPServer get(long serverId) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      get in interface com.logicaldoc.gui.frontend.client.services.LDAPService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • save

      public com.logicaldoc.gui.common.client.beans.GUILDAPServer save(com.logicaldoc.gui.common.client.beans.GUILDAPServer guiLdapServer) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      save in interface com.logicaldoc.gui.frontend.client.services.LDAPService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • testConnection

      public boolean testConnection(com.logicaldoc.gui.common.client.beans.GUILDAPServer ldapServer) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      testConnection in interface com.logicaldoc.gui.frontend.client.services.LDAPService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • listUsers

      public List<com.logicaldoc.gui.common.client.beans.GUIUser> listUsers(String login, long serverId) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      listUsers in interface com.logicaldoc.gui.frontend.client.services.LDAPService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • importUsers

      public List<com.logicaldoc.gui.common.client.beans.GUIValue> importUsers(List<String> usernames, long serverId) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      importUsers in interface com.logicaldoc.gui.frontend.client.services.LDAPService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • delete

      public void delete(long id) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      delete in interface com.logicaldoc.gui.frontend.client.services.LDAPService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • reorder

      public void reorder(List<Long> serverIds) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      reorder in interface com.logicaldoc.gui.frontend.client.services.LDAPService
      Throws:
      com.logicaldoc.gui.common.client.ServerException