Class PermittedEntityWithPermissionsFromUserJson
- java.lang.Object
-
- com.blackberry.workspaces.api.sdk.json.BaseJson
-
- com.blackberry.workspaces.api.sdk.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
All Methods Instance Methods Concrete Methods Deprecated Methods 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.api.sdk.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getPermittedEntity
public PermittedEntityFromUserJson getPermittedEntity()
The entity to change- Returns:
- The entity to change
-
setPermittedEntity
public void setPermittedEntity(PermittedEntityFromUserJson permittedEntity)
The entity to change- Parameters:
permittedEntity
- The entity to change
-
getIsDefault
public Boolean getIsDefault()
Will the entity be added to new files by default- Returns:
- Will the entity be added to new files by default
-
setIsDefault
public void setIsDefault(Boolean isDefault)
Will the entity be added to new files by default- Parameters:
isDefault
- Will the entity be added to new files by default
-
getRole
public String 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
public void setRole(String role)
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
public PermissionFromUserJson getPermissions()
New permissions- Returns:
- New permissions
-
setPermissions
public void setPermissions(PermissionFromUserJson permissions)
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 public boolean 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
-
-