Class LegacyFolderListResponse

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FolderUsageListResponse

public class LegacyFolderListResponse extends StagingResponse<String>
Author:
norbert
See Also:
  • Constructor Details

    • LegacyFolderListResponse

      public LegacyFolderListResponse()
      Empty constructor
    • LegacyFolderListResponse

      public LegacyFolderListResponse(Message message, ResponseInfo responseInfo)
  • Method Details

    • getFolders

      public List<Folder> getFolders()
      Get the list of folders
      Returns:
      list of folders
    • isHasMoreItems

      public Boolean isHasMoreItems()
      True if more items are available (paging)
      Returns:
      true if more items are present
    • getNumItems

      public Integer getNumItems()
      Get total number of items present
      Returns:
      total number of items present
    • setFolders

      public void setFolders(List<Folder> folders)
      Set the list of folders
      Parameters:
      folders - list of folders
    • setHasMoreItems

      public void setHasMoreItems(Boolean hasMoreItems)
      Set true when more items are available
      Parameters:
      hasMoreItems - true if more items are available
    • setNumItems

      public void setNumItems(Integer numItems)
      Set the total number of items present
      Parameters:
      numItems - total number of items present
    • getDeleted

      public List<String> getDeleted()
      List of folderIds (or [nodeId/folderId]s), which were requested to be opened (when getting folder structures), but do not exist in the backend (at least not visible for the user)
      Returns:
      list of folder ids
    • setDeleted

      public void setDeleted(List<String> deleted)
      Set the list of folder ids, that do not exist in the backend
      Parameters:
      deleted - list of folder ids