|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.dbtools.DBRecord<RT> org.opengts.db.AccountRecord<Transport> org.opengts.db.tables.Transport
public class Transport
This class represents a single data transport for a tracking/telematic hardware device. In the case where a single hardware tracking/telematic device supports multiple data transports (such as GPRS and Satellite), a hardware device would have more than one 'Transport' instance.
Nested Class Summary | |
---|---|
static class |
Transport.Encodings
|
static class |
Transport.Key
|
Nested classes/interfaces inherited from class org.opengts.db.AccountRecord |
---|
AccountRecord.AccountKey<RT extends DBRecord> |
Nested classes/interfaces inherited from class org.opengts.dbtools.DBRecord |
---|
DBRecord.DBChangeListener |
Field Summary | |
---|---|
static java.lang.String |
_TABLE_NAME
|
static int |
DEFAULT_DUPLEX_MAX_CONNECTIONS
|
static int |
DEFAULT_DUPLEX_MAX_CONNECTIONS_PER_MIN
|
static int |
DEFAULT_ENCODING
|
static int |
DEFAULT_MAX_ALLOWED_EVENTS
|
static int |
DEFAULT_TOTAL_MAX_CONNECTIONS
|
static int |
DEFAULT_TOTAL_MAX_CONNECTIONS_PER_MIN
|
static int |
DEFAULT_UNIT_LIMIT_INTERVAL_MIN
|
static java.lang.String |
DEFAULT_XPORT_NAME
|
static java.lang.String |
FLD_assocAccountID
|
static java.lang.String |
FLD_assocDeviceID
|
static java.lang.String |
FLD_codeVersion
|
static java.lang.String |
FLD_deviceCode
|
static java.lang.String |
FLD_deviceType
|
static java.lang.String |
FLD_duplexMaxConn
|
static java.lang.String |
FLD_duplexMaxConnPerMin
|
static java.lang.String |
FLD_duplexProfileMask
|
static java.lang.String |
FLD_expectAck
|
static java.lang.String |
FLD_featureSet
|
static java.lang.String |
FLD_ignitionIndex
|
static java.lang.String |
FLD_imeiNumber
|
static java.lang.String |
FLD_ipAddressCurrent
|
static java.lang.String |
FLD_ipAddressValid
|
static java.lang.String |
FLD_lastAckCommand
|
static java.lang.String |
FLD_lastAckTime
|
static java.lang.String |
FLD_lastDuplexConnectTime
|
static java.lang.String |
FLD_lastInputState
|
static java.lang.String |
FLD_lastOutputState
|
static java.lang.String |
FLD_lastPingTime
|
static java.lang.String |
FLD_lastTotalConnectTime
|
static java.lang.String |
FLD_listenPortCurrent
|
static java.lang.String |
FLD_maxAllowedEvents
|
static java.lang.String |
FLD_maxPingCount
|
static java.lang.String |
FLD_pendingPingCommand
|
static java.lang.String |
FLD_remotePortCurrent
|
static java.lang.String |
FLD_serialNumber
|
static java.lang.String |
FLD_simPhoneNumber
|
static java.lang.String |
FLD_smsEmail
|
static java.lang.String |
FLD_supportedEncodings
|
static java.lang.String |
FLD_supportsDMTP
|
static java.lang.String |
FLD_totalMaxConn
|
static java.lang.String |
FLD_totalMaxConnPerMin
|
static java.lang.String |
FLD_totalPingCount
|
static java.lang.String |
FLD_totalProfileMask
|
static java.lang.String |
FLD_transportID
|
static java.lang.String |
FLD_uniqueID
|
static java.lang.String |
FLD_unitLimitInterval
|
static int |
PROP_COMM_MAX_CONNECTIONS
|
static java.lang.String |
PROP_COMM_MAX_CONNECTIONS_STR
|
static int |
PROP_COMM_MAX_DUP_EVENTS
|
static java.lang.String |
PROP_COMM_MAX_DUP_EVENTS_STR
|
static int |
PROP_COMM_MAX_SIM_EVENTS
|
static java.lang.String |
PROP_COMM_MAX_SIM_EVENTS_STR
|
static int |
PROP_COMM_MAX_XMIT_RATE
|
static java.lang.String |
PROP_COMM_MAX_XMIT_RATE_STR
|
static int |
PROP_COMM_MIN_XMIT_DELAY
|
static java.lang.String |
PROP_COMM_MIN_XMIT_DELAY_STR
|
static int |
PROP_COMM_MIN_XMIT_RATE
|
static java.lang.String |
PROP_COMM_MIN_XMIT_RATE_STR
|
static int |
SUPPORTED_ENCODING_BASE64
|
static int |
SUPPORTED_ENCODING_BINARY
|
static int |
SUPPORTED_ENCODING_CSV
|
static int |
SUPPORTED_ENCODING_HEX
|
Fields inherited from class org.opengts.db.AccountRecord |
---|
FLD_accountID, FLD_displayName, FLD_isActive, FLD_notes |
Fields inherited from class org.opengts.dbtools.DBRecord |
---|
errorDescription, excludedUpdateFields, FLD_creationMillis, FLD_creationTime, FLD_description, FLD_lastUpdateAccount, FLD_lastUpdateTime, FLD_lastUpdateUser, hasError, ID_SIZE, isValidating, lastSQLException, NOTIFY_GROUP, PSEUDO_FIELD_CHAR, tempProps |
Constructor Summary | |
---|---|
Transport()
|
|
Transport(Transport.Key key)
|
Method Summary | |
---|---|
void |
_setExpectAck(boolean v)
|
void |
_setLastAckTime(long v)
|
void |
_setLastDuplexConnectTime(long v)
|
void |
_setLastPingTime(long v)
|
void |
_setLastTotalConnectTime(long v)
|
void |
_setMaxPingCount(int v)
|
void |
_setTotalPingCount(int v)
|
static boolean |
allowCreateDefaultTransport()
|
static Transport |
createNewTransport(Account account,
java.lang.String xportID,
java.lang.String uniqueID)
|
static Transport |
createNewTransport(Device device)
|
static boolean |
exists(java.lang.String uniqID)
|
static boolean |
exists(java.lang.String[] prefix,
java.lang.String mobileID)
|
static boolean |
exists(java.lang.String acctID,
java.lang.String xportID)
|
protected Account |
getAssocAccount()
|
java.lang.String |
getAssocAccountID()
Returns the AccountID associated with this Transport This method should return non-blank only if not equal to 'getAccountID()' and Account level indirection is desired. |
Device |
getAssocDevice()
|
java.lang.String |
getAssocDeviceID()
Returns the DeviceID associated with this Transport This method should return non-blank only if not equal to 'getTransportID()' and Device level indirection is desired. |
java.lang.String |
getCodeVersion()
|
java.lang.String |
getDeviceCode()
|
java.lang.String |
getDeviceType()
|
int |
getDuplexMaxConn()
|
int |
getDuplexMaxConnPerMin()
|
DTProfileMask |
getDuplexProfileMask()
|
boolean |
getExpectAck()
|
static DBFactory<Transport> |
getFactory()
|
java.lang.String |
getFeatureSet()
|
int |
getIgnitionIndex()
|
int[] |
getIgnitionStatusCodes()
|
java.lang.String |
getImeiNumber()
|
DTIPAddress |
getIpAddressCurrent()
|
DTIPAddrList |
getIpAddressValid()
|
java.lang.String |
getLastAckCommand()
|
long |
getLastAckTime()
|
long |
getLastDuplexConnectTime()
|
long |
getLastInputState()
|
long |
getLastOutputState()
|
long |
getLastPingTime()
|
long |
getLastTotalConnectTime()
|
int |
getListenPortCurrent()
|
int |
getMaxAllowedEvents()
|
int |
getMaxPingCount()
|
java.lang.String |
getPendingPingCommand()
|
int |
getRemotePortCurrent()
|
java.lang.String |
getSerialNumber()
|
java.lang.String |
getSimPhoneNumber()
|
java.lang.String |
getSmsEmail()
|
static java.lang.String |
getSuggestedDMTPConnectionAttribute(int prop,
DataTransport dt)
|
int |
getSupportedEncodings()
|
boolean |
getSupportsDMTP()
|
static java.lang.String |
getTableDescription(java.util.Locale loc)
|
java.lang.String |
getTargetAccountID()
Gets the target Account ID |
java.lang.String |
getTargetDeviceID()
Gets the target Device ID |
int |
getTotalMaxConn()
|
int |
getTotalMaxConnPerMin()
|
int |
getTotalPingCount()
|
DTProfileMask |
getTotalProfileMask()
|
static Transport |
getTransport(Account account,
java.lang.String xportID)
|
static Transport |
getTransport(Account account,
java.lang.String xportID,
boolean create)
|
static Transport |
getTransportByUniqueID(java.lang.String uniqId)
|
java.lang.String |
getTransportID()
|
static java.lang.String[] |
getTransports(DBSelect<Transport> dsel)
|
static java.lang.String[] |
getTransportsForAccount(java.lang.String acctId)
|
java.lang.String |
getUniqueID()
|
int |
getUnitLimitInterval()
|
boolean |
isAssocTargetDevice(Device device)
Returns true if the specified Device is the target of this Transport. |
boolean |
isAssocTargetDevice(java.lang.String accountID,
java.lang.String deviceID)
Returns true if the specified Device is the target of this Transport. |
boolean |
isExpectingCommandAck()
|
static boolean |
isTransportQueryEnabled()
|
boolean |
isValidIPAddress(java.lang.String ipAddr)
|
static Device |
loadDeviceByTransportID(Account account,
java.lang.String xportID)
This method is used by Device Communication Servers to load a Device record based on the Account and Transport/Device IDs. |
static Device |
loadDeviceByTransportID(java.lang.String accountID,
java.lang.String xportID)
This method is used by Device Communication Servers to load a Device record based on the Account and Transport/Device IDs. |
static Device |
loadDeviceByUniqueID(byte[] uniqID)
This method is used by Device Communication Servers to load a Device record based on a Unique-ID. |
static Device |
loadDeviceByUniqueID(java.lang.String uniqId)
This method is used by Device Communication Servers to load a Device record based on a Unique-ID. |
static Device |
loadDeviceUniqueID(java.lang.String[] prefix,
java.lang.String modemID)
This method is used by Device Communication Servers to load a Device record based on a Unique-ID. |
static void |
main(java.lang.String[] args)
|
void |
setAssocAccountID(java.lang.String v)
Sets the associated account ID |
void |
setAssocDeviceID(java.lang.String v)
Sets the Associated Device ID |
void |
setCodeVersion(java.lang.String v)
|
void |
setCreationDefaultValues()
Override to set default values |
void |
setDeviceCode(java.lang.String v)
|
void |
setDeviceType(java.lang.String v)
|
void |
setDuplexMaxConn(int max)
|
void |
setDuplexMaxConnPerMin(int max)
|
void |
setDuplexProfileMask(DTProfileMask v)
|
void |
setExpectAck(boolean v)
|
void |
setFeatureSet(java.lang.String v)
|
void |
setIgnitionIndex(int v)
|
void |
setImeiNumber(java.lang.String v)
|
void |
setIpAddressCurrent(DTIPAddress v)
|
void |
setIpAddressCurrent(java.lang.String v)
|
void |
setIpAddressValid(DTIPAddrList v)
|
void |
setIpAddressValid(java.lang.String v)
|
void |
setLastAckCommand(java.lang.String v)
|
void |
setLastAckTime(long v)
|
void |
setLastDuplexConnectTime(long v)
|
void |
setLastInputState(long v)
|
void |
setLastOutputState(long v)
|
void |
setLastPingTime(long v)
|
void |
setLastTotalConnectTime(long v)
|
void |
setListenPortCurrent(int v)
|
void |
setMaxAllowedEvents(int max)
|
void |
setMaxPingCount(int v)
|
void |
setPendingPingCommand(java.lang.String v)
|
void |
setRemotePortCurrent(int v)
|
void |
setSerialNumber(java.lang.String v)
|
void |
setSimPhoneNumber(java.lang.String v)
|
void |
setSmsEmail(java.lang.String v)
|
void |
setSupportedEncodings(int v)
|
void |
setSupportsDMTP(boolean v)
|
void |
setTotalMaxConn(int v)
|
void |
setTotalMaxConnPerMin(int v)
|
void |
setTotalPingCount(int v)
|
void |
setTotalProfileMask(DTProfileMask v)
|
void |
setUniqueID(java.lang.String v)
|
void |
setUnitLimitInterval(int v)
|
boolean |
supportsDMTP()
|
static java.lang.String |
TABLE_NAME()
|
java.lang.String |
toString()
Returns a String representation of the DBRecordKey for this DBRecord |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengts.db.DataTransport |
---|
getDescription, update, update |
Field Detail |
---|
public static final int SUPPORTED_ENCODING_BINARY
public static final int SUPPORTED_ENCODING_BASE64
public static final int SUPPORTED_ENCODING_HEX
public static final int SUPPORTED_ENCODING_CSV
public static final java.lang.String DEFAULT_XPORT_NAME
public static final int DEFAULT_ENCODING
public static final int DEFAULT_UNIT_LIMIT_INTERVAL_MIN
public static final int DEFAULT_MAX_ALLOWED_EVENTS
public static final int DEFAULT_TOTAL_MAX_CONNECTIONS
public static final int DEFAULT_TOTAL_MAX_CONNECTIONS_PER_MIN
public static final int DEFAULT_DUPLEX_MAX_CONNECTIONS
public static final int DEFAULT_DUPLEX_MAX_CONNECTIONS_PER_MIN
public static final int PROP_COMM_MAX_CONNECTIONS
public static final java.lang.String PROP_COMM_MAX_CONNECTIONS_STR
public static final int PROP_COMM_MIN_XMIT_DELAY
public static final java.lang.String PROP_COMM_MIN_XMIT_DELAY_STR
public static final int PROP_COMM_MIN_XMIT_RATE
public static final java.lang.String PROP_COMM_MIN_XMIT_RATE_STR
public static final int PROP_COMM_MAX_XMIT_RATE
public static final java.lang.String PROP_COMM_MAX_XMIT_RATE_STR
public static final int PROP_COMM_MAX_DUP_EVENTS
public static final java.lang.String PROP_COMM_MAX_DUP_EVENTS_STR
public static final int PROP_COMM_MAX_SIM_EVENTS
public static final java.lang.String PROP_COMM_MAX_SIM_EVENTS_STR
public static final java.lang.String _TABLE_NAME
public static final java.lang.String FLD_transportID
public static final java.lang.String FLD_uniqueID
public static final java.lang.String FLD_assocAccountID
public static final java.lang.String FLD_assocDeviceID
public static final java.lang.String FLD_deviceCode
public static final java.lang.String FLD_deviceType
public static final java.lang.String FLD_serialNumber
public static final java.lang.String FLD_simPhoneNumber
public static final java.lang.String FLD_smsEmail
public static final java.lang.String FLD_imeiNumber
public static final java.lang.String FLD_lastInputState
public static final java.lang.String FLD_lastOutputState
public static final java.lang.String FLD_ignitionIndex
public static final java.lang.String FLD_codeVersion
public static final java.lang.String FLD_featureSet
public static final java.lang.String FLD_ipAddressValid
public static final java.lang.String FLD_pendingPingCommand
public static final java.lang.String FLD_lastPingTime
public static final java.lang.String FLD_totalPingCount
public static final java.lang.String FLD_maxPingCount
public static final java.lang.String FLD_expectAck
public static final java.lang.String FLD_lastAckCommand
public static final java.lang.String FLD_lastAckTime
public static final java.lang.String FLD_supportsDMTP
public static final java.lang.String FLD_supportedEncodings
public static final java.lang.String FLD_unitLimitInterval
public static final java.lang.String FLD_maxAllowedEvents
public static final java.lang.String FLD_totalProfileMask
public static final java.lang.String FLD_totalMaxConn
public static final java.lang.String FLD_totalMaxConnPerMin
public static final java.lang.String FLD_duplexProfileMask
public static final java.lang.String FLD_duplexMaxConn
public static final java.lang.String FLD_duplexMaxConnPerMin
public static final java.lang.String FLD_ipAddressCurrent
public static final java.lang.String FLD_remotePortCurrent
public static final java.lang.String FLD_listenPortCurrent
public static final java.lang.String FLD_lastTotalConnectTime
public static final java.lang.String FLD_lastDuplexConnectTime
Constructor Detail |
---|
public Transport()
public Transport(Transport.Key key)
Method Detail |
---|
public static boolean isTransportQueryEnabled()
public static boolean allowCreateDefaultTransport()
public static java.lang.String TABLE_NAME()
public static DBFactory<Transport> getFactory()
public static java.lang.String getTableDescription(java.util.Locale loc)
public java.lang.String getTransportID()
getTransportID
in interface DataTransport
public java.lang.String getUniqueID()
getUniqueID
in interface DataTransport
public void setUniqueID(java.lang.String v)
public java.lang.String getTargetAccountID()
public java.lang.String getAssocAccountID()
getAssocAccountID
in interface DataTransport
public void setAssocAccountID(java.lang.String v)
v
- The associated Account IDpublic java.lang.String getTargetDeviceID()
public java.lang.String getAssocDeviceID()
getAssocDeviceID
in interface DataTransport
public void setAssocDeviceID(java.lang.String v)
v
- The Associated Device IDpublic boolean isAssocTargetDevice(Device device)
device
- The Device
public boolean isAssocTargetDevice(java.lang.String accountID, java.lang.String deviceID)
accountID
- The Account IDdeviceID
- The Device ID
public java.lang.String getDeviceCode()
getDeviceCode
in interface DataTransport
public void setDeviceCode(java.lang.String v)
setDeviceCode
in interface DataTransport
public java.lang.String getSerialNumber()
getSerialNumber
in interface DataTransport
public void setSerialNumber(java.lang.String v)
setSerialNumber
in interface DataTransport
public java.lang.String getSimPhoneNumber()
getSimPhoneNumber
in interface DataTransport
public void setSimPhoneNumber(java.lang.String v)
setSimPhoneNumber
in interface DataTransport
public java.lang.String getSmsEmail()
getSmsEmail
in interface DataTransport
public void setSmsEmail(java.lang.String v)
setSmsEmail
in interface DataTransport
public java.lang.String getImeiNumber()
getImeiNumber
in interface DataTransport
public void setImeiNumber(java.lang.String v)
setImeiNumber
in interface DataTransport
public java.lang.String getDeviceType()
getDeviceType
in interface DataTransport
public void setDeviceType(java.lang.String v)
setDeviceType
in interface DataTransport
public long getLastInputState()
getLastInputState
in interface DataTransport
public void setLastInputState(long v)
setLastInputState
in interface DataTransport
public long getLastOutputState()
getLastOutputState
in interface DataTransport
public void setLastOutputState(long v)
setLastOutputState
in interface DataTransport
public int getIgnitionIndex()
getIgnitionIndex
in interface DataTransport
public void setIgnitionIndex(int v)
setIgnitionIndex
in interface DataTransport
public int[] getIgnitionStatusCodes()
getIgnitionStatusCodes
in interface DataTransport
public java.lang.String getCodeVersion()
getCodeVersion
in interface DataTransport
public void setCodeVersion(java.lang.String v)
setCodeVersion
in interface DataTransport
public java.lang.String getFeatureSet()
getFeatureSet
in interface DataTransport
public void setFeatureSet(java.lang.String v)
setFeatureSet
in interface DataTransport
public DTIPAddrList getIpAddressValid()
getIpAddressValid
in interface DataTransport
public void setIpAddressValid(DTIPAddrList v)
setIpAddressValid
in interface DataTransport
public void setIpAddressValid(java.lang.String v)
public boolean isValidIPAddress(java.lang.String ipAddr)
isValidIPAddress
in interface DataTransport
public DTIPAddress getIpAddressCurrent()
getIpAddressCurrent
in interface DataTransport
public void setIpAddressCurrent(DTIPAddress v)
public void setIpAddressCurrent(java.lang.String v)
setIpAddressCurrent
in interface DataTransport
public int getRemotePortCurrent()
getRemotePortCurrent
in interface DataTransport
public void setRemotePortCurrent(int v)
setRemotePortCurrent
in interface DataTransport
public int getListenPortCurrent()
getListenPortCurrent
in interface DataTransport
public void setListenPortCurrent(int v)
setListenPortCurrent
in interface DataTransport
public java.lang.String getPendingPingCommand()
public void setPendingPingCommand(java.lang.String v)
public long getLastPingTime()
getLastPingTime
in interface DataTransport
public void _setLastPingTime(long v)
public void setLastPingTime(long v)
public int getTotalPingCount()
getTotalPingCount
in interface DataTransport
public void _setTotalPingCount(int v)
public void setTotalPingCount(int v)
public int getMaxPingCount()
getMaxPingCount
in interface DataTransport
public void _setMaxPingCount(int v)
public void setMaxPingCount(int v)
public boolean getExpectAck()
public void _setExpectAck(boolean v)
public void setExpectAck(boolean v)
public java.lang.String getLastAckCommand()
public void setLastAckCommand(java.lang.String v)
public boolean isExpectingCommandAck()
public long getLastAckTime()
public void _setLastAckTime(long v)
public void setLastAckTime(long v)
public boolean getSupportsDMTP()
getSupportsDMTP
in interface DataTransport
public void setSupportsDMTP(boolean v)
setSupportsDMTP
in interface DataTransport
public boolean supportsDMTP()
public int getSupportedEncodings()
getSupportedEncodings
in interface DataTransport
public void setSupportedEncodings(int v)
setSupportedEncodings
in interface DataTransport
public int getUnitLimitInterval()
getUnitLimitInterval
in interface DataTransport
public void setUnitLimitInterval(int v)
public int getMaxAllowedEvents()
getMaxAllowedEvents
in interface DataTransport
public void setMaxAllowedEvents(int max)
public DTProfileMask getTotalProfileMask()
getTotalProfileMask
in interface DataTransport
public void setTotalProfileMask(DTProfileMask v)
setTotalProfileMask
in interface DataTransport
public int getTotalMaxConn()
getTotalMaxConn
in interface DataTransport
public void setTotalMaxConn(int v)
public int getTotalMaxConnPerMin()
getTotalMaxConnPerMin
in interface DataTransport
public void setTotalMaxConnPerMin(int v)
public DTProfileMask getDuplexProfileMask()
getDuplexProfileMask
in interface DataTransport
public void setDuplexProfileMask(DTProfileMask v)
setDuplexProfileMask
in interface DataTransport
public int getDuplexMaxConn()
getDuplexMaxConn
in interface DataTransport
public void setDuplexMaxConn(int max)
public int getDuplexMaxConnPerMin()
getDuplexMaxConnPerMin
in interface DataTransport
public void setDuplexMaxConnPerMin(int max)
public long getLastTotalConnectTime()
getLastTotalConnectTime
in interface DataTransport
public void _setLastTotalConnectTime(long v)
public void setLastTotalConnectTime(long v)
setLastTotalConnectTime
in interface DataTransport
public long getLastDuplexConnectTime()
getLastDuplexConnectTime
in interface DataTransport
public void _setLastDuplexConnectTime(long v)
public void setLastDuplexConnectTime(long v)
setLastDuplexConnectTime
in interface DataTransport
public void setCreationDefaultValues()
DBRecord
setCreationDefaultValues
in class DBRecord<Transport>
protected Account getAssocAccount()
public Device getAssocDevice()
public java.lang.String toString()
DBRecord
toString
in class DBRecord<Transport>
public static boolean exists(java.lang.String acctID, java.lang.String xportID) throws DBException
DBException
public static boolean exists(java.lang.String uniqID) throws DBException
DBException
public static boolean exists(java.lang.String[] prefix, java.lang.String mobileID) throws DBException
DBException
public static Transport getTransportByUniqueID(java.lang.String uniqId) throws DBException
DBException
public static Transport getTransport(Account account, java.lang.String xportID) throws DBException
DBException
public static Transport getTransport(Account account, java.lang.String xportID, boolean create) throws DBException
DBException
public static Transport createNewTransport(Account account, java.lang.String xportID, java.lang.String uniqueID) throws DBException
DBException
public static Transport createNewTransport(Device device) throws DBException
DBException
public static java.lang.String[] getTransportsForAccount(java.lang.String acctId) throws DBException
DBException
public static java.lang.String[] getTransports(DBSelect<Transport> dsel) throws DBException
DBException
public static Device loadDeviceUniqueID(java.lang.String[] prefix, java.lang.String modemID)
prefix
- An array of Unique-ID prefixes.modemID
- The Unique-ID of the device (ie. IMEI, ESN, Serial#, etc)
DBException
- if a database error occurspublic static Device loadDeviceByUniqueID(java.lang.String uniqId) throws DBException
uniqId
- The Unique-ID of the device (ie. IMEI, ESN, Serial#, etc)
DBException
- if a database error occurspublic static Device loadDeviceByUniqueID(byte[] uniqID) throws DBException
uniqID
- The Unique-ID of the device (ie. IMEI, ESN, Serial#, etc)
DBException
- if a database error occurspublic static Device loadDeviceByTransportID(java.lang.String accountID, java.lang.String xportID) throws DBException
accountID
- The Account ID of the owning account.xportID
- The Transport-ID (or Device-ID in some cases).
DBException
- if a database error occurspublic static Device loadDeviceByTransportID(Account account, java.lang.String xportID) throws DBException
account
- The Account instance representing the owning account.xportID
- The Transport-ID (or Device-ID in some cases).
DBException
- if a database error occurspublic static java.lang.String getSuggestedDMTPConnectionAttribute(int prop, DataTransport dt)
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |