Class EditFolderSettingsJson
- java.lang.Object
-
- com.blackberry.workspaces.api.sdk.json.BaseJson
-
- com.blackberry.workspaces.api.sdk.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
All Methods Instance Methods Concrete Methods 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 is-
Methods inherited from class com.blackberry.workspaces.api.sdk.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getRoomGuid
public String getRoomGuid()
-
setRoomGuid
public void setRoomGuid(String roomGuid)
-
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
public PathOrFolderIdJson getFolderPathOrId()
Path or id for the folder to be changed- Returns:
- Path or id for the folder to be changed
-
setFolderPathOrId
public void setFolderPathOrId(PathOrFolderIdJson folderPathOrId)
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
public Integer getRoomId()
Id of the workspace where the folder is- Returns:
- Id of the workspace where the folder is
-
setRoomId
public void setRoomId(Integer roomId)
Id of the workspace where the folder is- Parameters:
roomId
- Id of the workspace where the folder is
-
-