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:
- Serialized Form
-
-
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
-
-
-
-
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 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 ldapServer) 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 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 com.logicaldoc.gui.common.client.beans.GUIValue[] importUsers(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
public void reorder(Long[] serverIds) throws com.logicaldoc.gui.common.client.ServerException
- Specified by:
reorder
in interfacecom.logicaldoc.gui.frontend.client.services.LDAPService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
-