public class UserMigrationEncumbrances extends Object
User
to be eligible for migration. These are distinct from
Requirements in that although a user passes all encumbrance checks they can
still be prohibited from migration due to destination requirement issues.User
Constructor and Description |
---|
UserMigrationEncumbrances(User user,
UserServices services)
Creates a UserMigrationEncumbrances class for the specified User
|
Modifier and Type | Method and Description |
---|---|
List<EncumbranceError> |
checkAllUserEncumbrances()
Method to check a User for all possible encumbrances that prevent
migration
|
List<EncumbranceError> |
checkAttendantConsoleEncumbrance()
Method to check the Attendant Console encumbrance
From specification document - If the User is monitoring any users, then
the User will not be moved.
|
List<EncumbranceError> |
checkCallPickupGroupEncumbrance()
Method to check the Call Pickup Group encumbrance
From specification document - If the User is a member of a Call Pickup
Group, the User is not moved.
|
List<EncumbranceError> |
checkChargeNumberEncumbrance()
Method to check the Charge Number encumbrance
From specification document - If the User is using a Charge Number, the
User is not moved.
|
List<EncumbranceError> |
checkHuntGroupEncumbrance()
Method to check the Hunt Group encumbrance
From specification document - If the User is a member of a Hunt Group
they cannot be moved.
|
List<EncumbranceError> |
checkHuntGroupEncumbrance(List<HuntGroup.GroupHuntGroupGetInstanceResponse20> huntGroupInformation)
Method to check the Hunt Group encumbrance with provided Hunt Group
Information
From specification document - If the User is a member of a Hunt Group
they cannot be moved.
|
List<EncumbranceError> |
checkMeetMeConferenceBridgeEncumbrance()
Method to check the Meet-Me Conference Bridge encumbrance
From specification document - If the User has a Meet-Me Conferencing
Bridge assigned, the User will not be moved.
|
List<EncumbranceError> |
checkMultiUserDeviceEncumbrance()
Method to check the Single User Device Encumbrance
From specification document - If the User is assigned to an
Identity/Device Profile, and this is a group-level resource, then the
Identity/Device Profile must have only this one user assigned to it.
|
List<EncumbranceError> |
checkSharedCallAppearanceEncumbrance()
Method to check the Shared Call Appearance Encumbrance
From specification document - If the User has a Shared Call Appearance
assignment on a Identity/Device Profile, and the Identity/Device Profile
is a Group-Level resource, and if the Identity/Device Profile has any
other User or Shared Call Appearance assigned to it, the User is not
moved.
|
void |
setBroadWorksServer(BroadWorksServer bws)
Method to set the BroadWorksServer to be used.
|
void |
setHuntGroupInformation(List<HuntGroup.GroupHuntGroupGetInstanceResponse20> huntGroupInformation)
Method to set the HuntGroupInformation for use in the encumbrance check
|
public UserMigrationEncumbrances(User user, UserServices services) throws HelperException
user
- The User to checkHelperException
public List<EncumbranceError> checkAllUserEncumbrances() throws HelperException
HelperException
public List<EncumbranceError> checkAttendantConsoleEncumbrance()
public List<EncumbranceError> checkCallPickupGroupEncumbrance()
public List<EncumbranceError> checkChargeNumberEncumbrance()
public List<EncumbranceError> checkHuntGroupEncumbrance()
public List<EncumbranceError> checkHuntGroupEncumbrance(List<HuntGroup.GroupHuntGroupGetInstanceResponse20> huntGroupInformation)
public List<EncumbranceError> checkMeetMeConferenceBridgeEncumbrance()
public List<EncumbranceError> checkMultiUserDeviceEncumbrance()
public List<EncumbranceError> checkSharedCallAppearanceEncumbrance()
public void setBroadWorksServer(BroadWorksServer bws)
bws
- The BroadWorksServerpublic void setHuntGroupInformation(List<HuntGroup.GroupHuntGroupGetInstanceResponse20> huntGroupInformation)
huntGroupInformation
- A list of GroupHuntGroupGetInstanceResponse20Copyright © 2016 ECG, Inc. All rights reserved.