Interface ImportFolderService

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

    @RemoteServiceRelativePath("importfolder")
    public interface ImportFolderService
    extends com.google.gwt.user.client.rpc.RemoteService
    The client side stub for the ImportFolder Service. This service gives all needed methods to handle import folders.
    • Method Detail

      • delete

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

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

        boolean test​(long id)
              throws ServerException
        Tests the connection to the given import folder
        Parameters:
        id - identifier of the import folder
        Returns:
        if the import folder has been connected and able to work
        Throws:
        ServerException - an error happened in the server application
      • changeStatus

        void changeStatus​(long id,
                          boolean enabled)
                   throws ServerException
        Changes a importFolder enabled/disabled status
        Parameters:
        id - identifier of the import folder
        enabled - flag to enable / disable the import folder
        Throws:
        ServerException - an error happened in the server application
      • resetCache

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