Class FolderInfoJson
java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.json.FolderInfoJson
- All Implemented Interfaces:
Serializable
public class FolderInfoJson extends BaseJson
Details about a single folder
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description FolderInfoJson()
-
Method Summary
Modifier and Type Method Description ExternalRepositoryIdResultJson
getExternalIdentifier()
FolderExternalRepositoryDataJson
getExternalRepositoryData()
String
getFolder()
Set<WorkspaceCapabilityType>
getFolderCapabilities()
Set<FolderPathToUuidJson>
getFolderPathToUuidJsons()
String
getFolderRole()
String
getFullPath()
Full path from the room rootBoolean
getHasSubfolders()
Whether the folder has sub folders.Integer
getId()
Id for the folderBoolean
getIsPermissionsInherited()
are permissions inherited from parentDate
getLastFileModifiedDate()
max last modified date of files in folder, include sub foldersString
getName()
Name of folder.Boolean
getOriginalReadAckState()
Integer
getParentId()
Parent folder of the folderBoolean
getReadConfirmationIncludeSubfolder()
Boolean
getReadConfirmationRequired()
is read confirmation required for files in this folderString
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()
UUID of the folderString
getWorkspaceUuid()
Boolean
isPermissionsInherited()
Deprecated.void
setExternalIdentifier(ExternalRepositoryIdResultJson externalIdentifier)
void
setExternalRepositoryData(FolderExternalRepositoryDataJson externalRepositoryData)
void
setFolder(String folder)
void
setFolderCapabilities(Set<WorkspaceCapabilityType> folderCapabilities)
void
setFolderPathToUuidJsons(Set<FolderPathToUuidJson> folderPathToUuidJsons)
void
setFolderRole(String folderRole)
void
setFullPath(String fullPath)
Full path from the room rootvoid
setHasSubfolders(Boolean hasSubfolders)
Whether the folder has sub folders.void
setId(Integer id)
Id for the foldervoid
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
setOriginalReadAckState(Boolean originalReadAckState)
void
setParentId(Integer parentId)
Parent folder of the foldervoid
setPermissionsInherited(Boolean isPermissionsInherited)
Deprecated.void
setReadConfirmationIncludeSubfolder(Boolean readConfirmationIncludeSubfolder)
void
setReadConfirmationRequired(Boolean readConfirmationRequired)
is read confirmation required for files in this foldervoid
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 of the foldervoid
setWorkspaceUuid(String workspaceUuid)
Methods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
Constructor Details
-
FolderInfoJson
public FolderInfoJson()
-
-
Method Details
-
getFullPath
Full path from the room root- Returns:
- Full path from the room root
-
setFullPath
Full path from the room root- Parameters:
fullPath
- Full path from the room root
-
getFolderRole
-
setFolderRole
-
getUpdateDate
Folder's update date.- Returns:
- Folder's update date.
-
setUpdateDate
Folder's update date.- Parameters:
updateDate
- Folder's update date.
-
getFolderCapabilities
-
setFolderCapabilities
-
getOriginalReadAckState
-
setOriginalReadAckState
-
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
-
getUuid
UUID of the folder- Returns:
- UUID of the folder
-
setUuid
UUID of the folder- Parameters:
uuid
- UUID of the folder
-
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
-
getParentId
Parent folder of the folder- Returns:
- Parent folder of the folder
-
setParentId
Parent folder of the folder- Parameters:
parentId
- Parent folder of the folder
-
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
-
getWorkspaceUuid
-
setWorkspaceUuid
-
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
-
setFolder
-
getReadConfirmationRequired
is read confirmation required for files in this folder- Returns:
- is read confirmation required for files in this folder
-
setReadConfirmationRequired
is read confirmation required for files in this folder- Parameters:
readConfirmationRequired
- is read confirmation required for files in this folder
-
getExternalRepositoryData
-
setExternalRepositoryData
-
getName
Name of folder.- Returns:
- Name of folder.
-
setName
Name of folder.- Parameters:
name
- Name of folder.
-
getFolderPathToUuidJsons
-
setFolderPathToUuidJsons
-
getExternalIdentifier
-
setExternalIdentifier
-
getReadConfirmationIncludeSubfolder
-
setReadConfirmationIncludeSubfolder
-
getId
Id for the folder- Returns:
- Id for the folder
-
setId
Id for the folder- Parameters:
id
- Id for the folder
-
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
-