com.e_c_group.bwptk
Class SharedCallAppearance

java.lang.Object
  extended by com.e_c_group.bwptk.SharedCallAppearance

public class SharedCallAppearance
extends java.lang.Object


Constructor Summary
SharedCallAppearance()
           
 
Method Summary
static boolean create(AccessDeviceUser adu)
          Create a shared call appearance.
static boolean unassignFromDevice(AccessDeviceUser adu)
          Delete this shared call appearance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedCallAppearance

public SharedCallAppearance()
Method Detail

create

public static boolean create(AccessDeviceUser adu)
                      throws BwptkException
Create a shared call appearance. Uses a command like this:
 @code {



        E0E6E4D681257F8903D38555893484E1
        
                ECG9822_2
                
                        
                                Group
                                DEVICE_NAME_1
                        
                        ecg9822_2_monitor@vwave.net
                
                true
                true
                true
        


 }
Note that this assumes the assignment should be active, and should allow origination and termination.

Parameters:
adu - The AccessDeviceUser
Throws:
BwptkException

unassignFromDevice

public static boolean unassignFromDevice(AccessDeviceUser adu)
                                  throws BwptkException
Delete this shared call appearance.
 <command xsi:type="UserSharedCallAppearanceDeleteEndpointListRequest14" xmlns="">
                        <userId>ecg9822_1</userId>
                        <accessDeviceEndpoint>
                                <accessDevice>
                                        <deviceLevel>Group</deviceLevel>
                                        <deviceName>0004f20159c9</deviceName>
                                </accessDevice>
                                <linePort>ecg9822_1_sca@vwave.net</linePort>
                        </accessDeviceEndpoint>
                </command>
  

Parameters:
adu - AccessDeviceUser
Throws:
BwptkException