|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.war.ctracgts.AuthorizedUser
public class AuthorizedUser
Nested Class Summary | |
---|---|
static class |
AuthorizedUser.NotAuthorizedException
|
Constructor Summary | |
---|---|
AuthorizedUser(java.lang.String accountID,
java.lang.String userID,
java.lang.String password)
|
Method Summary | |
---|---|
boolean |
deviceExists(java.lang.String deviceID)
Returns true if the specified device exists |
Account |
getAccount()
Gets authorized Account instance |
java.lang.String |
getAccountID()
Gets authorized Account ID |
OrderedSet<java.lang.String> |
getAuthorizedDeviceIDs()
Returns a list of Authorized (Active) Device IDs |
Device |
getDevice(java.lang.String deviceID)
Gets the Device record for the specified DeviceID |
OrderedSet<java.lang.String> |
getDeviceGroups(boolean inclALL)
Returns a list of DeviceGroups for this Account/User |
User |
getUser()
Gets authorized User instance. |
java.lang.String |
getUserID()
Gets authorized Account ID |
boolean |
isAuthorizedDevice(java.lang.String deviceID)
Returns true if the specified device exists, and the user is authorized to view this device. |
Device |
loadDeviceByPrefixedModemID(java.lang.String[] prefix,
java.lang.String mobileID)
Gets the Device record for the specified MobileID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthorizedUser(java.lang.String accountID, java.lang.String userID, java.lang.String password) throws AuthorizedUser.NotAuthorizedException
AuthorizedUser.NotAuthorizedException
Method Detail |
---|
public Account getAccount()
public java.lang.String getAccountID()
public User getUser()
public java.lang.String getUserID()
public OrderedSet<java.lang.String> getAuthorizedDeviceIDs()
public boolean isAuthorizedDevice(java.lang.String deviceID)
public boolean deviceExists(java.lang.String deviceID)
public Device getDevice(java.lang.String deviceID) throws DBException
DBException
public Device loadDeviceByPrefixedModemID(java.lang.String[] prefix, java.lang.String mobileID)
public OrderedSet<java.lang.String> getDeviceGroups(boolean inclALL)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |