Interface BarcodeService
- All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("barcode")
public interface BarcodeService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the Barcode Engine Service.
- Since:
- 6.1
- Author:
- Marco Meschieri - LogicalDOC
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(long templateId) Deletes a given templategetTemplate
(long templateId) Loads a given template from the databasevoid
markUnprocessable
(long[] ids) Marks a set of documents as not processableprocess
(long docId) Processes the given documentvoid
Reschedule all documents for processingsave
(GUIBarcodeTemplate template) Creates or updates a templateupdateZone
(GUIBarcodeZone zone) Updates a single zone, if the zone does not exist it will be created
-
Method Details
-
rescheduleAll
Reschedule all documents for processing- Throws:
ServerException
- an error happened in the server application
-
markUnprocessable
Marks a set of documents as not processable- Parameters:
ids
- document identifiers- Throws:
ServerException
- an error happened in the server application
-
delete
Deletes a given template- Parameters:
templateId
- identifier of the template- Throws:
ServerException
- an error happened in the server application
-
save
Creates or updates a template- Parameters:
template
- the template to save- Returns:
- the saved template
- Throws:
ServerException
- an error happened in the server application
-
getTemplate
Loads a given template from the database- Parameters:
templateId
- identifier of the template- Returns:
- the template retrieved by the server application
- Throws:
ServerException
- an error happened in the server application
-
process
Processes the given document- Parameters:
docId
- identifier of the document to process- Returns:
- the processed document's representation
- Throws:
ServerException
- an error happened during the barcode processing
-
updateZone
Updates a single zone, if the zone does not exist it will be created- Parameters:
zone
- the zone to update- Returns:
- the newly added zone
- Throws:
ServerException
- an error happened in the server application
-