|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.e_c_group.bwptk.AccessDeviceUser
public class AccessDeviceUser
A user of an access device, such as a dedicated line or a shared call appearance. Note that this object can survive deletion on the server. It doesn't correspond simply to something editable in BroadWorks; it's one of the rows from GroupAccessDeviceGetUserListResponse.
Constructor Summary | |
---|---|
AccessDeviceUser(AccessDevice ad,
User u,
java.lang.String linePort,
java.lang.String endpointType,
boolean isPrimary,
java.lang.String order)
|
Method Summary | |
---|---|
boolean |
assignToGroupAccessDevice()
Assign this to to a device. |
int |
compareTo(java.lang.Object other)
Compare two AccessDeviceUser objects based on the Order. |
AccessDevice |
getAccessDevice()
|
java.lang.String |
getEndpointType()
|
java.lang.String |
getLinePort()
|
int |
getOrder()
|
User |
getUser()
|
boolean |
isPrimary()
|
boolean |
isSharedCallAppearance()
|
boolean |
setIsPrimary(boolean newValue)
|
void |
setNewDeviceName(java.lang.String newDeviceName)
Assigns a new device name. |
boolean |
unassign()
Remove this assignment from the system: For a user's primary line assignment, set the user's endpoint to unassigned; For a Shared Call Appearance, delete the SCA asssignment. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccessDeviceUser(AccessDevice ad, User u, java.lang.String linePort, java.lang.String endpointType, boolean isPrimary, java.lang.String order) throws BwptkException
BwptkException
Method Detail |
---|
public AccessDevice getAccessDevice()
public User getUser()
public java.lang.String getEndpointType()
public java.lang.String getLinePort()
public boolean isPrimary()
public int getOrder()
public boolean isSharedCallAppearance()
public boolean setIsPrimary(boolean newValue) throws BwptkException
BwptkException
public boolean unassign() throws BwptkException
BwptkException
public boolean assignToGroupAccessDevice() throws BwptkException
BwptkException
public void setNewDeviceName(java.lang.String newDeviceName)
newDeviceName
- public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
other
- The AccessDeviceUser to compare to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |