Package com.logicaldoc.ldap
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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>
void
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.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 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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.logicaldoc.gui.frontend.client.services.LDAPService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
reorder
- Specified by:
reorder
in interfacecom.logicaldoc.gui.frontend.client.services.LDAPService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-