Class PermittedEntityWithPermissionsFromUserJson
java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.json.PermittedEntityWithPermissionsFromUserJson
- All Implemented Interfaces:
Serializable
public class PermittedEntityWithPermissionsFromUserJson extends BaseJson
Permitted entity with permissions from a user
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PermittedEntityWithPermissionsFromUserJson()
-
Method Summary
Modifier and Type Method Description Boolean
getIsDefault()
Will the entity be added to new files by defaultPermissionFromUserJson
getPermissions()
New permissionsPermittedEntityFromUserJson
getPermittedEntity()
The entity to changeboolean
getRevokePermissions()
Deprecated.String
getRole()
For backwards compatibility - can be left null and this will leave the role unchanged.boolean
isRevokePermissions()
Whether to revoke entity's permissions from existing files in the foldervoid
setIsDefault(Boolean isDefault)
Will the entity be added to new files by defaultvoid
setPermissions(PermissionFromUserJson permissions)
New permissionsvoid
setPermittedEntity(PermittedEntityFromUserJson permittedEntity)
The entity to changevoid
setRevokePermissions(boolean revokePermissions)
Whether to revoke entity's permissions from existing files in the foldervoid
setRole(String role)
For backwards compatibility - can be left null and this will leave the role unchanged.Methods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
Constructor Details
-
PermittedEntityWithPermissionsFromUserJson
public PermittedEntityWithPermissionsFromUserJson()
-
-
Method Details
-
getPermittedEntity
The entity to change- Returns:
- The entity to change
-
setPermittedEntity
The entity to change- Parameters:
permittedEntity
- The entity to change
-
getIsDefault
Will the entity be added to new files by default- Returns:
- Will the entity be added to new files by default
-
setIsDefault
Will the entity be added to new files by default- Parameters:
isDefault
- Will the entity be added to new files by default
-
getRole
For backwards compatibility - can be left null and this will leave the role unchanged.- Returns:
- For backwards compatibility - can be left null and this will leave the role unchanged.
-
setRole
For backwards compatibility - can be left null and this will leave the role unchanged.- Parameters:
role
- For backwards compatibility - can be left null and this will leave the role unchanged.
-
getPermissions
New permissions- Returns:
- New permissions
-
setPermissions
New permissions- Parameters:
permissions
- New permissions
-
isRevokePermissions
public boolean isRevokePermissions()Whether to revoke entity's permissions from existing files in the folder- Returns:
- Whether to revoke entity's permissions from existing files in the folder
-
getRevokePermissions
Deprecated.Whether to revoke entity's permissions from existing files in the folder- Returns:
- Whether to revoke entity's permissions from existing files in the folder
-
setRevokePermissions
public void setRevokePermissions(boolean revokePermissions)Whether to revoke entity's permissions from existing files in the folder- Parameters:
revokePermissions
- Whether to revoke entity's permissions from existing files in the folder
-