Interface DownloadsServiceLocal


  • public interface DownloadsServiceLocal
    Local interface for the Downloads service from the Planner API
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String deleteDownload​(java.lang.String id)
      Deletes the download at the specified ID
      Download getDownload​(java.lang.String id)
      Returns the download at the specified ID for the current user only
      java.util.List<Download> getDownloads​(DownloadsFilter filter)
      Returns downloads for the specified job and in the specified time range for the current user only
      java.util.List<Download> getDownloads​(java.lang.String jobName, java.lang.String createdOnFrom, java.lang.String createdOnTo)
      Returns downloads for the specified job and in the specified time range for the current user only
    • Method Detail

      • getDownloads

        java.util.List<Download> getDownloads​(java.lang.String jobName,
                                              java.lang.String createdOnFrom,
                                              java.lang.String createdOnTo)
                                       throws PubServerException
        Returns downloads for the specified job and in the specified time range for the current user only
        Parameters:
        jobName - name of the job
        createdOnFrom - start date of range
        createdOnTo - end date of range
        Returns:
        the list of downloads
        Throws:
        PubServerException
        See Also:
        Download
      • deleteDownload

        java.lang.String deleteDownload​(java.lang.String id)
                                 throws PubServerException
        Deletes the download at the specified ID
        Parameters:
        id - download ID
        Returns:
        ID of deleted download
        Throws:
        PubServerException