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.
    • Method Detail

      • delete

        void delete​(long templateId,
                    String type)
             throws ServerException
        Deletes a template
        Parameters:
        templateId - identifier of the template
        type - type of the template
        Throws:
        ServerException - an error happened in the server application
      • save

        void save​(GUIScheme scheme)
           throws ServerException
        Creates or updates a configuration
        Parameters:
        scheme - the scheme definition
        Throws:
        ServerException - an error happened in the server application
      • get

        GUIScheme get​(long templateId,
                      String type)
               throws ServerException
        Loads a given configuration from the database
        Parameters:
        templateId - identifier of the template
        type - type of the template
        Returns:
        the scheme retrieved by the server application
        Throws:
        ServerException - an error happened in the server application
      • resetSequence

        void resetSequence​(long sequenceId,
                           long value)
                    throws ServerException
        Reset the numbering of a given sequence
        Parameters:
        sequenceId - identifier of the sequence
        value - the new sequence's value
        Throws:
        ServerException - an error happened in the server application
      • deleteSequence

        void deleteSequence​(long sequenceId)
                     throws ServerException
        Deletes the given sequence
        Parameters:
        sequenceId - identifiers
        Throws:
        ServerException - an error happened in the server application