Interface SyndicationService

  • All Superinterfaces:
    com.google.gwt.user.client.rpc.RemoteService

    @RemoteServiceRelativePath("syndication")
    public interface SyndicationService
    extends com.google.gwt.user.client.rpc.RemoteService
    The client side stub for the Syndication Service. This service gives all needed methods to handle the syndications.
    • Method Detail

      • delete

        void delete​(long id)
             throws ServerException
        Deletes a given syndication
        Parameters:
        id - the syndication identifier
        Throws:
        ServerException - an error happened in the server application
      • getSyndication

        GUISyndication getSyndication​(long id)
                               throws ServerException
        Loads a given syndication from the database
        Parameters:
        id - identifier of the syndication
        Returns:
        the syndication retrieved by the server application
        Throws:
        ServerException - an error happened in the server application
      • test

        boolean test​(long id)
              throws ServerException
        Test the connection to the given syndication
        Parameters:
        id - identifier of the syndication
        Returns:
        if the remote server has been connected
        Throws:
        ServerException - an error happened in the server application
      • changeStatus

        void changeStatus​(long id,
                          boolean enabled)
                   throws ServerException
        Changes a syndication enabled/disabled status
        Parameters:
        id - identifier of the syndication
        enabled - the new status of the syndication
        Throws:
        ServerException - an error happened in the server application
      • resetCache

        void resetCache​(long id)
                 throws ServerException
        Cleans the cache
        Parameters:
        id - identifier of the syndication
        Throws:
        ServerException - an error happened in the server application