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
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 usersMethods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
Constructor Details
-
RemoveUsersJson
public RemoveUsersJson()
-
-
Method Details
-
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
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.
-
getUserUuids
An alternative key field for deleting users- Returns:
- An alternative key field for deleting users
-
setUserUuids
An alternative key field for deleting users- Parameters:
userUuids
- An alternative key field for deleting users
-
getUsers
List of users to remove- Returns:
- List of users to remove
-
setUsers
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.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
-