Interface TagService

  • All Superinterfaces:
    com.google.gwt.user.client.rpc.RemoteService
    All Known Implementing Classes:
    TagServiceImpl

    @RemoteServiceRelativePath("tag")
    public interface TagService
    extends com.google.gwt.user.client.rpc.RemoteService
    Tag handling service
    Since:
    6.0
    Author:
    Marco Meschieri - LogicalDOC
    • Method Detail

      • getTagCloud

        GUITag[] getTagCloud()
                      throws ServerException
        Loads the tag cloud from the server
        Returns:
        the tag cloud
        Throws:
        ServerException - an error happened in the server application
      • delete

        void delete​(String tag)
             throws ServerException
        Deletes an existing tag
        Parameters:
        tag - the tag to delete
        Throws:
        ServerException - an error happened in the server application
      • rename

        void rename​(String tag,
                    String newTag)
             throws ServerException
        Rename an existing tag to another label
        Parameters:
        tag - the actual tag
        newTag - the new tag
        Throws:
        ServerException - an error happened in the server application
      • addTag

        void addTag​(String tag)
             throws ServerException
        Adds a new tag in the list of available tags
        Parameters:
        tag - the tag to add
        Throws:
        ServerException - an error happened in the server application
      • removeTag

        void removeTag​(String tag)
                throws ServerException
        Removes an available from the list of available tags
        Parameters:
        tag - the tag to remove
        Throws:
        ServerException - an error happened in the server application