Class MultiFolderLoadResponse

All Implemented Interfaces:
Serializable

public class MultiFolderLoadResponse extends StagingResponse<String>
Response containing information about multiple folders.
See Also:
  • Constructor Details

    • MultiFolderLoadResponse

      public MultiFolderLoadResponse()
      Constructor used by JAXB.
    • MultiFolderLoadResponse

      public MultiFolderLoadResponse(List<Folder> folders)
      Convenience constructor. Automatically adds a response info with a response code of OK.
      Parameters:
      folders - The folders the send with the response.
    • MultiFolderLoadResponse

      public MultiFolderLoadResponse(Message message, ResponseInfo responseInfo)
      Response with an empty folder list.
      Parameters:
      message - The message that should be displayed to the user.
      response - ResponseInfo with the status of the response.
  • Method Details

    • getFolders

      public List<Folder> getFolders()
      The list of found folders.
      Returns:
      The list of found folders.
    • setFolders

      public void setFolders(List<Folder> folders)
      Set the list of folders to send with the response.
      Parameters:
      pages - The list of folders to send with the response.