Class TransientFolderInfoResultJson
- java.lang.Object
-
- com.blackberry.workspaces.api.sdk.json.BaseJson
-
- com.blackberry.workspaces.api.sdk.json.TransientFolderInfoResultJson
-
- All Implemented Interfaces:
Serializable
public class TransientFolderInfoResultJson extends BaseJson
Result from getting a single folder level- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransientFolderInfoResultJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ExternalRepositoryIdResultJson
getExternalIdentifier()
External identifierFolderExternalRepositoryDataJson
getExternalRepositoryData()
External repository dataString
getFolder()
Parent folder of the folderSet<WorkspaceCapabilityType>
getFolderCapabilities()
List of folder capabilitiesString
getFolderRole()
Folder roleString
getFullPath()
Full path from the workspace rootString
getFullPathDisplay()
Full path for display.Boolean
getHasSubfolders()
Whether the folder has sub folders.Integer
getId()
IdBoolean
getIsPermissionsInherited()
are permissions inherited from parentDate
getLastFileModifiedDate()
max last modified date of files in folder, include sub foldersString
getName()
Name of folder.Integer
getParentId()
String
getRoom()
Workspace ID of the folderList<FolderJson>
getSubFolders()
List of subfolders.Integer
getTotalCount()
# of files in folder, include sub foldersLong
getTotalFilesSize()
Size in MB for all files in this folder, include sub foldersDate
getUpdateDate()
Folder's update date.String
getUuid()
UuidBoolean
isPermissionsInherited()
Deprecated.void
setExternalIdentifier(ExternalRepositoryIdResultJson externalIdentifier)
External identifiervoid
setExternalRepositoryData(FolderExternalRepositoryDataJson externalRepositoryData)
External repository datavoid
setFolder(String folder)
Parent folder of the foldervoid
setFolderCapabilities(Set<WorkspaceCapabilityType> folderCapabilities)
List of folder capabilitiesvoid
setFolderRole(String folderRole)
Folder rolevoid
setFullPath(String fullPath)
Full path from the workspace rootvoid
setFullPathDisplay(String fullPathDisplay)
Full path for display.void
setHasSubfolders(Boolean hasSubfolders)
Whether the folder has sub folders.void
setId(Integer id)
Idvoid
setIsPermissionsInherited(Boolean isPermissionsInherited)
are permissions inherited from parentvoid
setLastFileModifiedDate(Date lastFileModifiedDate)
max last modified date of files in folder, include sub foldersvoid
setName(String name)
Name of folder.void
setParentId(Integer parentId)
void
setPermissionsInherited(Boolean isPermissionsInherited)
Deprecated.void
setRoom(String room)
Workspace ID of the foldervoid
setSubFolders(List<FolderJson> subFolders)
List of subfolders.void
setTotalCount(Integer totalCount)
# of files in folder, include sub foldersvoid
setTotalFilesSize(Long totalFilesSize)
Size in MB for all files in this folder, include sub foldersvoid
setUpdateDate(Date updateDate)
Folder's update date.void
setUuid(String uuid)
Uuid-
Methods inherited from class com.blackberry.workspaces.api.sdk.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getFolderRole
public String getFolderRole()
Folder role- Returns:
- Folder role
-
setFolderRole
public void setFolderRole(String folderRole)
Folder role- Parameters:
folderRole
- Folder role
-
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
-
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
-
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.
-
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"
-
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
-
getParentId
public Integer getParentId()
-
setParentId
public void setParentId(Integer parentId)
-
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
-
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
-
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
-
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.
-
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
-
-