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 Summary
Constructors Constructor Description TransientFolderInfoResultJson()
-
Method Summary
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)
UuidMethods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
Constructor Details
-
TransientFolderInfoResultJson
public TransientFolderInfoResultJson()
-
-
Method Details
-
getFullPath
Full path from the workspace root- Returns:
- Full path from the workspace root
-
setFullPath
Full path from the workspace root- Parameters:
fullPath
- Full path from the workspace root
-
getFolderRole
Folder role- Returns:
- Folder role
-
setFolderRole
Folder role- Parameters:
folderRole
- Folder role
-
getUpdateDate
Folder's update date.- Returns:
- Folder's update date.
-
setUpdateDate
Folder's update date.- Parameters:
updateDate
- Folder's update date.
-
getFolderCapabilities
List of folder capabilities- Returns:
- List of folder capabilities
-
setFolderCapabilities
List of folder capabilities- Parameters:
folderCapabilities
- List of folder capabilities
-
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
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
Whether the folder has sub folders.- Returns:
- Whether the folder has sub folders.
-
setHasSubfolders
Whether the folder has sub folders.- Parameters:
hasSubfolders
- Whether the folder has sub folders.
-
getTotalCount
# of files in folder, include sub folders- Returns:
- # of files in folder, include sub folders
-
setTotalCount
# of files in folder, include sub folders- Parameters:
totalCount
- # of files in folder, include sub folders
-
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
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
Uuid- Returns:
- Uuid
-
setUuid
Uuid- Parameters:
uuid
- Uuid
-
getRoom
Workspace ID of the folder- Returns:
- Workspace ID of the folder
-
setRoom
Workspace ID of the folder- Parameters:
room
- Workspace ID of the folder
-
getParentId
-
setParentId
-
getIsPermissionsInherited
are permissions inherited from parent- Returns:
- are permissions inherited from parent
-
isPermissionsInherited
Deprecated.are permissions inherited from parent- Returns:
- are permissions inherited from parent
-
setIsPermissionsInherited
are permissions inherited from parent- Parameters:
isPermissionsInherited
- are permissions inherited from parent
-
setPermissionsInherited
Deprecated.are permissions inherited from parent- Parameters:
isPermissionsInherited
- are permissions inherited from parent
-
getSubFolders
List of subfolders. None if there are no subfolders.- Returns:
- List of subfolders. None if there are no subfolders.
-
setSubFolders
List of subfolders. None if there are no subfolders.- Parameters:
subFolders
- List of subfolders. None if there are no subfolders.
-
getFolder
Parent folder of the folder- Returns:
- Parent folder of the folder
-
setFolder
Parent folder of the folder- Parameters:
folder
- Parent folder of the folder
-
getExternalRepositoryData
External repository data- Returns:
- External repository data
-
setExternalRepositoryData
External repository data- Parameters:
externalRepositoryData
- External repository data
-
getName
Name of folder.- Returns:
- Name of folder.
-
setName
Name of folder.- Parameters:
name
- Name of folder.
-
getExternalIdentifier
External identifier- Returns:
- External identifier
-
setExternalIdentifier
External identifier- Parameters:
externalIdentifier
- External identifier
-
getId
Id- Returns:
- Id
-
setId
Id- Parameters:
id
- Id
-
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
max last modified date of files in folder, include sub folders- Parameters:
lastFileModifiedDate
- max last modified date of files in folder, include sub folders
-