Interface SchemeService
- All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("scheme")
public interface SchemeService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the SchemeService Service. This service gives all
needed methods to handle custom id /auto naming / auto folding
configurations.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deletes a templatevoid
deleteSequence
(long sequenceId) Deletes the given sequenceLoads a given configuration from the databaseload()
Load all Custom Identifiers rulesvoid
resetSequence
(long sequenceId, long value) Reset the numbering of a given sequencevoid
Creates or updates a configuration
-
Method Details
-
delete
Deletes a template- Parameters:
templateId
- identifier of the templatetype
- type of the template- Throws:
ServerException
- an error happened in the server application
-
save
Creates or updates a configuration- Parameters:
scheme
- the scheme definition- Throws:
ServerException
- an error happened in the server application
-
get
Loads a given configuration from the database- Parameters:
templateId
- identifier of the templatetype
- type of the template- Returns:
- the scheme retrieved by the server application
- Throws:
ServerException
- an error happened in the server application
-
load
Load all Custom Identifiers rules- Returns:
- the scheme definitions
- Throws:
ServerException
- an error happened in the server application
-
resetSequence
Reset the numbering of a given sequence- Parameters:
sequenceId
- identifier of the sequencevalue
- the new sequence's value- Throws:
ServerException
- an error happened in the server application
-
deleteSequence
Deletes the given sequence- Parameters:
sequenceId
- identifiers- Throws:
ServerException
- an error happened in the server application
-