Class FolderJson
- java.lang.Object
-
- com.blackberry.workspaces.api.sdk.json.BaseJson
-
- com.blackberry.workspaces.api.sdk.json.FolderJson
-
- All Implemented Interfaces:
Serializable
public class FolderJson extends BaseJson
Details about a single folder- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FolderJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalRepositoryIdResultJson
getExternalIdentifier()
String
getFolder()
Parent folder of the folderSet<WorkspaceCapabilityType>
getFolderCapabilities()
String
getFolderRole()
String
getFullPath()
Full path from the workspace rootBoolean
getHasSubfolders()
Whether the folder has sub folders.Integer
getId()
Boolean
getIsPermsInherited()
String
getName()
Name of folder.Boolean
getOriginalReadAckState()
String
getParentGuid()
Integer
getParentId()
Parent folder ID.Boolean
getReadConfirmationIncludeSubfolder()
Boolean
getReadConfirmationRequired()
String
getRoom()
Workspace ID of the folderString
getRoomUUID()
Workspace ID of the folderBoolean
getStarred()
Will be true if the folder was marked as starred (favorite).Date
getStarredDate()
List<FolderJson>
getSubFolders()
List of subfolders.Date
getUpdateDate()
Folder's update date.String
getUuid()
void
setExternalIdentifier(ExternalRepositoryIdResultJson externalIdentifier)
void
setFolder(String folder)
Parent folder of the foldervoid
setFolderCapabilities(Set<WorkspaceCapabilityType> folderCapabilities)
void
setFolderRole(String folderRole)
void
setFullPath(String fullPath)
Full path from the workspace rootvoid
setHasSubfolders(Boolean hasSubfolders)
Whether the folder has sub folders.void
setId(Integer id)
void
setIsPermsInherited(Boolean isPermsInherited)
void
setName(String name)
Name of folder.void
setOriginalReadAckState(Boolean originalReadAckState)
void
setParentGuid(String parentGuid)
void
setParentId(Integer parentId)
Parent folder ID.void
setReadConfirmationIncludeSubfolder(Boolean readConfirmationIncludeSubfolder)
void
setReadConfirmationRequired(Boolean readConfirmationRequired)
void
setRoom(String room)
Workspace ID of the foldervoid
setRoomUUID(String roomUUID)
Workspace ID of the foldervoid
setStarred(Boolean starred)
Will be true if the folder was marked as starred (favorite).void
setStarredDate(Date starredDate)
void
setSubFolders(List<FolderJson> subFolders)
List of subfolders.void
setUpdateDate(Date updateDate)
Folder's update date.void
setUuid(String uuid)
-
Methods inherited from class com.blackberry.workspaces.api.sdk.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
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()
-
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.
-
getUuid
public String getUuid()
-
setUuid
public void setUuid(String uuid)
-
getParentId
public Integer getParentId()
Parent folder ID.- Returns:
- Parent folder ID.
-
setParentId
public void setParentId(Integer parentId)
Parent folder ID.- Parameters:
parentId
- Parent folder ID.
-
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
-
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.
-
getStarred
public Boolean getStarred()
Will be true if the folder was marked as starred (favorite).- Returns:
- Will be true if the folder was marked as starred (favorite).
-
setStarred
public void setStarred(Boolean starred)
Will be true if the folder was marked as starred (favorite).- Parameters:
starred
- Will be true if the folder was marked as starred (favorite).
-
getStarredDate
public Date getStarredDate()
-
setStarredDate
public void setStarredDate(Date starredDate)
-
getReadConfirmationRequired
public Boolean getReadConfirmationRequired()
-
setReadConfirmationRequired
public void setReadConfirmationRequired(Boolean readConfirmationRequired)
-
getParentGuid
public String getParentGuid()
-
setParentGuid
public void setParentGuid(String parentGuid)
-
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()
-
setId
public void setId(Integer id)
-
getIsPermsInherited
public Boolean getIsPermsInherited()
-
setIsPermsInherited
public void setIsPermsInherited(Boolean isPermsInherited)
-
getRoomUUID
public String getRoomUUID()
Workspace ID of the folder- Returns:
- Workspace ID of the folder
-
setRoomUUID
public void setRoomUUID(String roomUUID)
Workspace ID of the folder- Parameters:
roomUUID
- Workspace ID of the folder
-
-