Class 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.google.gwt.user.server.rpc.RemoteServiceServlet
    implements com.logicaldoc.gui.frontend.client.services.LDAPService
    See Also:
    Serialized Form
    • 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
      LDAPServiceImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(long id)  
      com.logicaldoc.gui.common.client.beans.GUILDAPServer get​(long serverId)  
      com.logicaldoc.gui.common.client.beans.GUIValue[] importUsers​(String[] usernames, long serverId)  
      com.logicaldoc.gui.common.client.beans.GUIUser[] listUsers​(String login, long serverId)  
      void reorder​(Long[] serverIds)  
      com.logicaldoc.gui.common.client.beans.GUILDAPServer save​(com.logicaldoc.gui.common.client.beans.GUILDAPServer ldapServer)  
      boolean testConnection​(com.logicaldoc.gui.common.client.beans.GUILDAPServer ldapServer)  
      • 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
    • Constructor Detail

      • LDAPServiceImpl

        public LDAPServiceImpl()
    • Method Detail

      • 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 ldapServer)
                                                                  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 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 com.logicaldoc.gui.common.client.beans.GUIValue[] importUsers​(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​(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