|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.e_c_group.bwptk.AccessDevice com.e_c_group.bwptk.GroupAccessDevice
public class GroupAccessDevice
Method Summary | |
---|---|
static GroupAccessDevice |
create(Group g,
java.lang.String deviceName,
java.lang.String deviceType,
java.lang.String macAddress)
Create a new device. |
boolean |
delete()
Delete this access device and everything attached to it. |
java.lang.String |
getAccessDeviceProtocol()
|
java.util.List<AccessDeviceUser> |
getAccessDeviceUsers()
Method to return a list of the Users of the Access Device |
java.lang.String |
getConfigurationFileName()
|
java.lang.String |
getConfigurationMode()
|
java.lang.String |
getDescription()
|
java.lang.String |
getDeviceType()
|
Group |
getGroup()
|
static GroupAccessDevice |
getGroupAccessDevice(Group group,
java.lang.String deviceName)
|
java.lang.String |
getLevel()
TODO: Implement Method |
java.lang.String |
getMacAddress()
|
java.lang.String |
getNetAddress()
|
java.lang.String |
getOutboundProxyServerNetAddress()
|
java.lang.String |
getPhysicalLocation()
|
java.lang.String |
getPort()
|
java.lang.String |
getSerialNumber()
|
java.lang.String |
getStatus()
|
java.lang.String |
getStunServerNetAddress()
|
java.lang.String |
getTransportProtocol()
|
java.util.List<User> |
getUserList()
|
static boolean |
migrateGroupAccessDevice(BroadWorksServer bws,
java.io.PrintStream out,
GroupAccessDevice oldGad,
java.lang.String newServiceProviderId,
java.lang.String newGroupId)
Deletes the given device, and replaces it with a new device of the same name having a different group. |
static boolean |
modify(Group g,
java.lang.String deviceName,
java.lang.String macAddress)
Modify the MAC Address of a new device. |
static boolean |
modifyDeviceWithNewMacAddress(BroadWorksServer bws,
java.io.PrintStream out,
GroupAccessDevice Gad,
java.lang.String newMacAddress)
|
boolean |
rebuild()
2011.06.15 02:03:27:946 EDT | Audit | write7690102 | ecgsupport | System | GroupAccessDeviceModifyRequest14 |
static boolean |
reincarnateDeviceWithNewDeviceName(BroadWorksServer bws,
java.io.PrintStream out,
GroupAccessDevice oldGad,
java.lang.String newDeviceName)
Deletes the given device, and replaces it with a new name of the same device type. |
static boolean |
reincarnateDeviceWithNewDeviceType(BroadWorksServer bws,
java.io.PrintStream out,
GroupAccessDevice oldGad,
java.lang.String newDeviceType)
Deletes the given device, and replaces it with a new device of the same name having the new device type. |
boolean |
reset()
Reset this device. |
static boolean |
setConfigurationMode(Group g,
java.lang.String deviceName,
java.lang.String configurationMode)
Configuration Mode can be one of - {'Default'|'Manual'|'Custom'} |
boolean |
syncAccessDeviceToDatabase(java.sql.Connection con)
This method Synchronizes an Access Device to a SQL database. |
static void |
syncAllAccessDevicesToDatabase(BroadWorksServer bws,
java.sql.Connection con)
This synchronizes every AccessDevice in a BroadWorks Server to a SQL database |
java.lang.String |
toString()
Method to return a string of information on the Access Device |
Methods inherited from class com.e_c_group.bwptk.AccessDevice |
---|
getAccessDevice, getAccessDevice, getDeviceName, setDeviceName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Group getGroup()
public static GroupAccessDevice getGroupAccessDevice(Group group, java.lang.String deviceName) throws BwptkException
BwptkException
public java.lang.String getLevel()
AccessDevice
getLevel
in class AccessDevice
public java.lang.String getMacAddress() throws BwptkException
BwptkException
public java.lang.String getConfigurationMode() throws BwptkException
BwptkException
public java.lang.String getDeviceType() throws BwptkException
BwptkException
public java.lang.String getAccessDeviceProtocol() throws BwptkException
BwptkException
public java.lang.String getNetAddress() throws BwptkException
BwptkException
public java.lang.String getPort() throws BwptkException
BwptkException
public java.lang.String getOutboundProxyServerNetAddress() throws BwptkException
BwptkException
public java.lang.String getStunServerNetAddress() throws BwptkException
BwptkException
public java.lang.String getSerialNumber() throws BwptkException
BwptkException
public java.lang.String getDescription() throws BwptkException
BwptkException
public java.lang.String getStatus() throws BwptkException
BwptkException
public java.lang.String getConfigurationFileName() throws BwptkException
BwptkException
public java.lang.String getPhysicalLocation() throws BwptkException
BwptkException
public java.lang.String getTransportProtocol() throws BwptkException
BwptkException
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<AccessDeviceUser> getAccessDeviceUsers() throws BwptkException
BwptkException
public boolean delete() throws BwptkException
BwptkException
public static GroupAccessDevice create(Group g, java.lang.String deviceName, java.lang.String deviceType, java.lang.String macAddress) throws BwptkException
<?xml version="1.0" encoding="ISO-8859-1"?>
<BroadsoftDocument protocol="OCI" xmlns="C" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<sessionId xmlns="">E0E6E4D681257F8903D38555893484E1</sessionId>
<command xsi:type="GroupAccessDeviceAddRequest14" xmlns="">
<serviceProviderId>vwave_sp</serviceProviderId>
<groupId>ECG LAB</groupId>
<deviceName>DEVICE_NAME_1</deviceName>
<deviceType>2Wire HomePortal</deviceType>
<macAddress>11:11:11:11:11:11</macAddress>
</command>
</BroadsoftDocument>
BwptkException
public boolean rebuild() throws BwptkException
BwptkException
public boolean reset() throws BwptkException
{ @code} 21EE9C95254BCDCF2CF022A1AC334E34 vwave_sp ECG ip650_0004f2125821
BwptkException
public static boolean reincarnateDeviceWithNewDeviceType(BroadWorksServer bws, java.io.PrintStream out, GroupAccessDevice oldGad, java.lang.String newDeviceType) throws java.lang.Exception
bws
- BroadWorksServeroldGad
- The original GroupAccessDevicenewDeviceType
- The desired new DeviceType
java.lang.Exception
public static boolean migrateGroupAccessDevice(BroadWorksServer bws, java.io.PrintStream out, GroupAccessDevice oldGad, java.lang.String newServiceProviderId, java.lang.String newGroupId) throws BwptkException
bws
- BroadWorksServerout
- The PrintStreamoldGad
- The original GroupAccessDevicenewServiceProviderId
- The desured Service Provider IDnewGroupId
- The desired Group ID
BwptkException
public static boolean setConfigurationMode(Group g, java.lang.String deviceName, java.lang.String configurationMode) throws BwptkException
BwptkException
public java.util.List<User> getUserList() throws BwptkException
BwptkException
public static boolean modify(Group g, java.lang.String deviceName, java.lang.String macAddress) throws BwptkException
<?xml version="1.0" encoding="ISO-8859-1"?>
<BroadsoftDocument protocol="OCI" xmlns="C" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<sessionId xmlns="">E0E6E4D681257F8903D38555893484E1</sessionId>
<command xsi:type="GroupAccessDeviceModifyRequest14" xmlns="">
<serviceProviderId>vwave_sp</serviceProviderId>
<groupId>ECG LAB</groupId>
<deviceName>DEVICE_NAME_1</deviceName>
<macAddress>111111111111</macAddress>
</command>
</BroadsoftDocument>
BwptkException
public static boolean modifyDeviceWithNewMacAddress(BroadWorksServer bws, java.io.PrintStream out, GroupAccessDevice Gad, java.lang.String newMacAddress) throws java.lang.Exception
java.lang.Exception
public static boolean reincarnateDeviceWithNewDeviceName(BroadWorksServer bws, java.io.PrintStream out, GroupAccessDevice oldGad, java.lang.String newDeviceName) throws BwptkException
BwptkException
public boolean syncAccessDeviceToDatabase(java.sql.Connection con) throws java.sql.SQLException, BwptkException
con
- The SQL database with which to synchronize.
java.sql.SQLException
BwptkException
public static void syncAllAccessDevicesToDatabase(BroadWorksServer bws, java.sql.Connection con) throws java.sql.SQLException, BwptkException
bws
- The BroadWorks server to list AccessDevices from.con
- The SQL server with which to synchronize the AccessDevices.
java.sql.SQLException
BwptkException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |