Interface StampService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("stamp")
public interface StampService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the Stamp Service. This service gives all needed
 methods to handle the stamps.
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionvoidapplyStamp(List<Long> docIds, GUIStamp stamp) Applies a stamp to the given documentvoidchangeStatus(long stampId, boolean enabled) Changes a stamp enabled/disabled statusvoiddelete(long id) Deletes a given stampLoads the stamp that represents the signature of the customer.getStamp(long stampId) Loads a given stamp from the databaseLoads a given stamp from the databaseCreates or updates a stampvoidsaveImage(long stampId) Saves the stamp's image already uploaded
- 
Method Details- 
deleteDeletes a given stamp- Parameters:
- id- identifier of the stamp to delete
- Throws:
- ServerException- an error happened in the server application
 
- 
saveCreates or updates a stamp- Parameters:
- stamp- the stamp to save
- Returns:
- the saved stamp
- Throws:
- ServerException- an error happened in the server application
 
- 
saveImageSaves the stamp's image already uploaded- Parameters:
- stampId- identifier of the stamp
- Throws:
- ServerException- an error happened in the server application
 
- 
getSignatureLoads the stamp that represents the signature of the customer. If it does not exist a default one is created and returned.- Returns:
- the stamp retrieved by the server application
- Throws:
- ServerException- an error happened in the server application
 
- 
getStampLoads a given stamp from the database- Parameters:
- name- unique name of the stamp
- Returns:
- the stamp retrieved by the server application
- Throws:
- ServerException- an error happened in the server application
 
- 
getStampLoads a given stamp from the database- Parameters:
- stampId- identifier of the stamp
- Returns:
- the stamp retrieved by the server application
- Throws:
- ServerException- an error happened in the server application
 
- 
changeStatusChanges a stamp enabled/disabled status- Parameters:
- stampId- identifier of the stamp
- enabled- the enabled status of the stamp
- Throws:
- ServerException- an error happened in the server application
 
- 
applyStampApplies a stamp to the given document- Parameters:
- docIds- identifiers of the documents
- stamp- the stamp to apply
- Throws:
- ServerException- an error happened in the server application
 
 
-