Package com.logicaldoc.retention
Class RetentionPoliciesServiceImpl
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.retention.RetentionPoliciesServiceImpl
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService
,com.google.gwt.user.server.rpc.SerializationPolicyProvider
,com.logicaldoc.gui.frontend.client.services.RetentionPoliciesService
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class RetentionPoliciesServiceImpl
extends com.logicaldoc.web.service.AbstractRemoteService
implements com.logicaldoc.gui.frontend.client.services.RetentionPoliciesService
Implementation of the service for handling retention policies
- Since:
- 7.2
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.RetentionPoliciesService
com.logicaldoc.gui.frontend.client.services.RetentionPoliciesService.Instance
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeStatus
(long id, boolean enabled) void
delete
(long id) com.logicaldoc.gui.common.client.beans.GUIRetentionPolicy
getPolicy
(long id) void
com.logicaldoc.gui.common.client.beans.GUIRetentionPolicy
save
(com.logicaldoc.gui.common.client.beans.GUIRetentionPolicy policy) 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
-
RetentionPoliciesServiceImpl
public RetentionPoliciesServiceImpl()
-
-
Method Details
-
delete
public void delete(long id) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
delete
in interfacecom.logicaldoc.gui.frontend.client.services.RetentionPoliciesService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
save
public com.logicaldoc.gui.common.client.beans.GUIRetentionPolicy save(com.logicaldoc.gui.common.client.beans.GUIRetentionPolicy policy) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
save
in interfacecom.logicaldoc.gui.frontend.client.services.RetentionPoliciesService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
getPolicy
public com.logicaldoc.gui.common.client.beans.GUIRetentionPolicy getPolicy(long id) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
getPolicy
in interfacecom.logicaldoc.gui.frontend.client.services.RetentionPoliciesService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
reorder
- Specified by:
reorder
in interfacecom.logicaldoc.gui.frontend.client.services.RetentionPoliciesService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
changeStatus
public void changeStatus(long id, boolean enabled) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
changeStatus
in interfacecom.logicaldoc.gui.frontend.client.services.RetentionPoliciesService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-