Class TransientFolderInfoResultJson

java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.json.TransientFolderInfoResultJson
All Implemented Interfaces:
Serializable

public class TransientFolderInfoResultJson
extends BaseJson
Result from getting a single folder level
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getFullPath

      public String getFullPath()
      Full path from the workspace root
      Returns:
      Full path from the workspace root
    • setFullPath

      public void setFullPath​(String fullPath)
      Full path from the workspace root
      Parameters:
      fullPath - Full path from the workspace root
    • getFolderRole

      public String getFolderRole()
      Folder role
      Returns:
      Folder role
    • setFolderRole

      public void setFolderRole​(String folderRole)
      Folder role
      Parameters:
      folderRole - Folder role
    • getUpdateDate

      public Date getUpdateDate()
      Folder's update date.
      Returns:
      Folder's update date.
    • setUpdateDate

      public void setUpdateDate​(Date updateDate)
      Folder's update date.
      Parameters:
      updateDate - Folder's update date.
    • getFolderCapabilities

      public Set<WorkspaceCapabilityType> getFolderCapabilities()
      List of folder capabilities
      Returns:
      List of folder capabilities
    • setFolderCapabilities

      public void setFolderCapabilities​(Set<WorkspaceCapabilityType> folderCapabilities)
      List of folder capabilities
      Parameters:
      folderCapabilities - List of folder capabilities
    • getFullPathDisplay

      public String getFullPathDisplay()
      Full path for display. It is same as fullPath except for Box repository, which removes the leading ownerId. Example: "/8221421110/chapter6/FolderTest2222" -> "/chapter6/FolderTest2222"
      Returns:
      Full path for display. It is same as fullPath except for Box repository, which removes the leading ownerId. Example: "/8221421110/chapter6/FolderTest2222" -> "/chapter6/FolderTest2222"
    • setFullPathDisplay

      public void setFullPathDisplay​(String fullPathDisplay)
      Full path for display. It is same as fullPath except for Box repository, which removes the leading ownerId. Example: "/8221421110/chapter6/FolderTest2222" -> "/chapter6/FolderTest2222"
      Parameters:
      fullPathDisplay - Full path for display. It is same as fullPath except for Box repository, which removes the leading ownerId. Example: "/8221421110/chapter6/FolderTest2222" -> "/chapter6/FolderTest2222"
    • getHasSubfolders

      public Boolean getHasSubfolders()
      Whether the folder has sub folders.
      Returns:
      Whether the folder has sub folders.
    • setHasSubfolders

      public void setHasSubfolders​(Boolean hasSubfolders)
      Whether the folder has sub folders.
      Parameters:
      hasSubfolders - Whether the folder has sub folders.
    • getTotalCount

      public Integer getTotalCount()
      # of files in folder, include sub folders
      Returns:
      # of files in folder, include sub folders
    • setTotalCount

      public void setTotalCount​(Integer totalCount)
      # of files in folder, include sub folders
      Parameters:
      totalCount - # of files in folder, include sub folders
    • getTotalFilesSize

      public Long getTotalFilesSize()
      Size in MB for all files in this folder, include sub folders
      Returns:
      Size in MB for all files in this folder, include sub folders
    • setTotalFilesSize

      public void setTotalFilesSize​(Long totalFilesSize)
      Size in MB for all files in this folder, include sub folders
      Parameters:
      totalFilesSize - Size in MB for all files in this folder, include sub folders
    • getUuid

      public String getUuid()
      Uuid
      Returns:
      Uuid
    • setUuid

      public void setUuid​(String uuid)
      Uuid
      Parameters:
      uuid - Uuid
    • getRoom

      public String getRoom()
      Workspace ID of the folder
      Returns:
      Workspace ID of the folder
    • setRoom

      public void setRoom​(String room)
      Workspace ID of the folder
      Parameters:
      room - Workspace ID of the folder
    • getParentId

      public Integer getParentId()
    • setParentId

      public void setParentId​(Integer parentId)
    • getIsPermissionsInherited

      public Boolean getIsPermissionsInherited()
      are permissions inherited from parent
      Returns:
      are permissions inherited from parent
    • isPermissionsInherited

      @Deprecated public Boolean isPermissionsInherited()
      Deprecated.
      are permissions inherited from parent
      Returns:
      are permissions inherited from parent
    • setIsPermissionsInherited

      public void setIsPermissionsInherited​(Boolean isPermissionsInherited)
      are permissions inherited from parent
      Parameters:
      isPermissionsInherited - are permissions inherited from parent
    • setPermissionsInherited

      @Deprecated public void setPermissionsInherited​(Boolean isPermissionsInherited)
      Deprecated.
      are permissions inherited from parent
      Parameters:
      isPermissionsInherited - are permissions inherited from parent
    • getSubFolders

      public List<FolderJson> getSubFolders()
      List of subfolders. None if there are no subfolders.
      Returns:
      List of subfolders. None if there are no subfolders.
    • setSubFolders

      public void setSubFolders​(List<FolderJson> subFolders)
      List of subfolders. None if there are no subfolders.
      Parameters:
      subFolders - List of subfolders. None if there are no subfolders.
    • getFolder

      public String getFolder()
      Parent folder of the folder
      Returns:
      Parent folder of the folder
    • setFolder

      public void setFolder​(String folder)
      Parent folder of the folder
      Parameters:
      folder - Parent folder of the folder
    • getExternalRepositoryData

      public FolderExternalRepositoryDataJson getExternalRepositoryData()
      External repository data
      Returns:
      External repository data
    • setExternalRepositoryData

      public void setExternalRepositoryData​(FolderExternalRepositoryDataJson externalRepositoryData)
      External repository data
      Parameters:
      externalRepositoryData - External repository data
    • getName

      public String getName()
      Name of folder.
      Returns:
      Name of folder.
    • setName

      public void setName​(String name)
      Name of folder.
      Parameters:
      name - Name of folder.
    • getExternalIdentifier

      public ExternalRepositoryIdResultJson getExternalIdentifier()
      External identifier
      Returns:
      External identifier
    • setExternalIdentifier

      public void setExternalIdentifier​(ExternalRepositoryIdResultJson externalIdentifier)
      External identifier
      Parameters:
      externalIdentifier - External identifier
    • getId

      public Integer getId()
      Id
      Returns:
      Id
    • setId

      public void setId​(Integer id)
      Id
      Parameters:
      id - Id
    • getLastFileModifiedDate

      public Date getLastFileModifiedDate()
      max last modified date of files in folder, include sub folders
      Returns:
      max last modified date of files in folder, include sub folders
    • setLastFileModifiedDate

      public void setLastFileModifiedDate​(Date lastFileModifiedDate)
      max last modified date of files in folder, include sub folders
      Parameters:
      lastFileModifiedDate - max last modified date of files in folder, include sub folders