Class FolderInfoJson
- java.lang.Object
-
- com.blackberry.workspaces.api.sdk.json.BaseJson
-
- com.blackberry.workspaces.api.sdk.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
All Methods Instance Methods Concrete Methods Deprecated Methods 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.api.sdk.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getFullPath
public String getFullPath()
Full path from the room root- Returns:
- Full path from the room root
-
setFullPath
public void setFullPath(String fullPath)
Full path from the room root- Parameters:
fullPath
- Full path from the room root
-
getFolderRole
public String getFolderRole()
-
setFolderRole
public void setFolderRole(String folderRole)
-
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()
-
setFolderCapabilities
public void setFolderCapabilities(Set<WorkspaceCapabilityType> folderCapabilities)
-
getOriginalReadAckState
public Boolean getOriginalReadAckState()
-
setOriginalReadAckState
public void setOriginalReadAckState(Boolean originalReadAckState)
-
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
-
getUuid
public String getUuid()
UUID of the folder- Returns:
- UUID of the folder
-
setUuid
public void setUuid(String uuid)
UUID of the folder- Parameters:
uuid
- UUID of the folder
-
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
-
getWorkspaceUuid
public String getWorkspaceUuid()
-
setWorkspaceUuid
public void setWorkspaceUuid(String workspaceUuid)
-
getParentId
public Integer getParentId()
Parent folder of the folder- Returns:
- Parent folder of the folder
-
setParentId
public void setParentId(Integer parentId)
Parent folder of the folder- Parameters:
parentId
- Parent folder of the folder
-
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()
-
setFolder
public void setFolder(String 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.
-
getReadConfirmationRequired
public Boolean getReadConfirmationRequired()
is read confirmation required for files in this folder- Returns:
- is read confirmation required for files in this folder
-
setReadConfirmationRequired
public void setReadConfirmationRequired(Boolean readConfirmationRequired)
is read confirmation required for files in this folder- Parameters:
readConfirmationRequired
- is read confirmation required for files in this folder
-
getExternalRepositoryData
public FolderExternalRepositoryDataJson getExternalRepositoryData()
-
setExternalRepositoryData
public void setExternalRepositoryData(FolderExternalRepositoryDataJson externalRepositoryData)
-
getFolderPathToUuidJsons
public Set<FolderPathToUuidJson> getFolderPathToUuidJsons()
-
setFolderPathToUuidJsons
public void setFolderPathToUuidJsons(Set<FolderPathToUuidJson> folderPathToUuidJsons)
-
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()
-
setExternalIdentifier
public void setExternalIdentifier(ExternalRepositoryIdResultJson externalIdentifier)
-
getReadConfirmationIncludeSubfolder
public Boolean getReadConfirmationIncludeSubfolder()
-
setReadConfirmationIncludeSubfolder
public void setReadConfirmationIncludeSubfolder(Boolean readConfirmationIncludeSubfolder)
-
getId
public Integer getId()
Id for the folder- Returns:
- Id for the folder
-
setId
public void setId(Integer id)
Id for the folder- Parameters:
id
- Id for the folder
-
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
-
-