Class RemoveUsersJson
- java.lang.Object
-
- com.blackberry.workspaces.sdk.api.json.BaseJson
-
- com.blackberry.workspaces.sdk.api.json.RemoveUsersJson
-
- All Implemented Interfaces:
Serializable
public class RemoveUsersJson extends BaseJson
Users to remove from an organization- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoveUsersJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
getForceAction()
Deprecated.String
getTargetUser()
The user to transfer the deleted users rights and files to if given, otherwise files will be deleted.List<String>
getUsers()
List of users to removeSet<String>
getUserUuids()
An alternative key field for deleting usersboolean
isForceAction()
If to continue removing after first failurevoid
setForceAction(boolean forceAction)
If to continue removing after first failurevoid
setTargetUser(String targetUser)
The user to transfer the deleted users rights and files to if given, otherwise files will be deleted.void
setUsers(List<String> users)
List of users to removevoid
setUserUuids(Set<String> userUuids)
An alternative key field for deleting users-
Methods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getUserUuids
public Set<String> getUserUuids()
An alternative key field for deleting users- Returns:
- An alternative key field for deleting users
-
setUserUuids
public void setUserUuids(Set<String> userUuids)
An alternative key field for deleting users- Parameters:
userUuids
- An alternative key field for deleting users
-
getTargetUser
public String getTargetUser()
The user to transfer the deleted users rights and files to if given, otherwise files will be deleted. This will move all files in workspaces and exchanges to be owned by this user, and will also copy all the groups and distribution lists memberships from the deleted users to this user.- Returns:
- The user to transfer the deleted users rights and files to if given, otherwise files will be deleted. This will move all files in workspaces and exchanges to be owned by this user, and will also copy all the groups and distribution lists memberships from the deleted users to this user.
-
setTargetUser
public void setTargetUser(String targetUser)
The user to transfer the deleted users rights and files to if given, otherwise files will be deleted. This will move all files in workspaces and exchanges to be owned by this user, and will also copy all the groups and distribution lists memberships from the deleted users to this user.- Parameters:
targetUser
- The user to transfer the deleted users rights and files to if given, otherwise files will be deleted. This will move all files in workspaces and exchanges to be owned by this user, and will also copy all the groups and distribution lists memberships from the deleted users to this user.
-
setUsers
public void setUsers(List<String> users)
List of users to remove- Parameters:
users
- List of users to remove
-
isForceAction
public boolean isForceAction()
If to continue removing after first failure- Returns:
- If to continue removing after first failure
-
getForceAction
@Deprecated public boolean getForceAction()
Deprecated.If to continue removing after first failure- Returns:
- If to continue removing after first failure
-
setForceAction
public void setForceAction(boolean forceAction)
If to continue removing after first failure- Parameters:
forceAction
- If to continue removing after first failure
-
-