Package com.logicaldoc.stamp
Class StampServiceImpl
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.stamp.StampServiceImpl
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService
,com.google.gwt.user.server.rpc.SerializationPolicyProvider
,com.logicaldoc.gui.frontend.client.services.StampService
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class StampServiceImpl
extends com.logicaldoc.web.service.AbstractRemoteService
implements com.logicaldoc.gui.frontend.client.services.StampService
Implementation of the service for handling stamps
- Since:
- 7.3
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.StampService
com.logicaldoc.gui.frontend.client.services.StampService.Instance
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addUsers
(long[] userIds, long stampId) void
applyStamp
(Long[] docIds, com.logicaldoc.gui.common.client.beans.GUIStamp guiStamp) void
changeStatus
(long id, boolean enabled) void
delete
(long id) com.logicaldoc.gui.common.client.beans.GUIStamp
com.logicaldoc.gui.common.client.beans.GUIStamp
getStamp
(long id) com.logicaldoc.gui.common.client.beans.GUIStamp
void
removeUsers
(long[] userIds, long stampId) com.logicaldoc.gui.common.client.beans.GUIStamp
save
(com.logicaldoc.gui.common.client.beans.GUIStamp stamp) void
saveImage
(long stampId) 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
-
StampServiceImpl
public StampServiceImpl()
-
-
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.StampService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
save
public com.logicaldoc.gui.common.client.beans.GUIStamp save(com.logicaldoc.gui.common.client.beans.GUIStamp stamp) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
save
in interfacecom.logicaldoc.gui.frontend.client.services.StampService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
getStamp
public com.logicaldoc.gui.common.client.beans.GUIStamp getStamp(String name) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
getStamp
in interfacecom.logicaldoc.gui.frontend.client.services.StampService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
getStamp
public com.logicaldoc.gui.common.client.beans.GUIStamp getStamp(long id) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
getStamp
in interfacecom.logicaldoc.gui.frontend.client.services.StampService
- 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.StampService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
saveImage
public void saveImage(long stampId) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
saveImage
in interfacecom.logicaldoc.gui.frontend.client.services.StampService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
applyStamp
public void applyStamp(Long[] docIds, com.logicaldoc.gui.common.client.beans.GUIStamp guiStamp) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
applyStamp
in interfacecom.logicaldoc.gui.frontend.client.services.StampService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
removeUsers
public void removeUsers(long[] userIds, long stampId) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
removeUsers
in interfacecom.logicaldoc.gui.frontend.client.services.StampService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
addUsers
public void addUsers(long[] userIds, long stampId) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
addUsers
in interfacecom.logicaldoc.gui.frontend.client.services.StampService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
getSignature
public com.logicaldoc.gui.common.client.beans.GUIStamp getSignature() throws com.logicaldoc.gui.common.client.ServerException- Specified by:
getSignature
in interfacecom.logicaldoc.gui.frontend.client.services.StampService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-