Class EditFolderSettingsJson
java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.json.EditFolderSettingsJson
- All Implemented Interfaces:
Serializable
public class EditFolderSettingsJson extends BaseJson
Used when editing folder permissions
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description EditFolderSettingsJson()
-
Method Summary
Modifier and Type Method Description PathOrFolderIdJson
getFolderPathOrId()
Path or id for the folder to be changedString
getRoomGuid()
Integer
getRoomId()
Id of the workspace where the folder isboolean
isInheritFromParent()
Make this folder inherit permissions from its parentboolean
isMakeDescendantsInherit()
Make all descendants inherit permissions from this foldervoid
setFolderPathOrId(PathOrFolderIdJson folderPathOrId)
Path or id for the folder to be changedvoid
setInheritFromParent(boolean inheritFromParent)
Make this folder inherit permissions from its parentvoid
setMakeDescendantsInherit(boolean makeDescendantsInherit)
Make all descendants inherit permissions from this foldervoid
setRoomGuid(String roomGuid)
void
setRoomId(Integer roomId)
Id of the workspace where the folder isMethods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
Constructor Details
-
EditFolderSettingsJson
public EditFolderSettingsJson()
-
-
Method Details
-
getRoomGuid
-
setRoomGuid
-
isInheritFromParent
public boolean isInheritFromParent()Make this folder inherit permissions from its parent- Returns:
- Make this folder inherit permissions from its parent
-
setInheritFromParent
public void setInheritFromParent(boolean inheritFromParent)Make this folder inherit permissions from its parent- Parameters:
inheritFromParent
- Make this folder inherit permissions from its parent
-
getFolderPathOrId
Path or id for the folder to be changed- Returns:
- Path or id for the folder to be changed
-
setFolderPathOrId
Path or id for the folder to be changed- Parameters:
folderPathOrId
- Path or id for the folder to be changed
-
isMakeDescendantsInherit
public boolean isMakeDescendantsInherit()Make all descendants inherit permissions from this folder- Returns:
- Make all descendants inherit permissions from this folder
-
setMakeDescendantsInherit
public void setMakeDescendantsInherit(boolean makeDescendantsInherit)Make all descendants inherit permissions from this folder- Parameters:
makeDescendantsInherit
- Make all descendants inherit permissions from this folder
-
getRoomId
Id of the workspace where the folder is- Returns:
- Id of the workspace where the folder is
-
setRoomId
Id of the workspace where the folder is- Parameters:
roomId
- Id of the workspace where the folder is
-