org.opengts.war.ctracgts
Class DeviceList
java.lang.Object
org.opengts.war.ctracgts.DeviceList
public class DeviceList
- extends java.lang.Object
Method Summary |
static java.lang.String |
requestDeviceList(boolean isJSON,
javax.servlet.http.HttpServletRequest request,
AuthorizedUser authUser,
java.lang.String mobileID,
java.lang.String groupID,
GeoPoint proxGP,
double proxRadM)
Return DeviceList JSON response |
static java.lang.String |
requestDeviceStatus(boolean isJSON,
javax.servlet.http.HttpServletRequest request,
AuthorizedUser authUser,
java.lang.String mobileID,
java.lang.String[] deviceIDs,
int limit)
Return DeviceStatus JSON response |
static java.lang.String |
setDeviceDescription(boolean isJSON,
javax.servlet.http.HttpServletRequest request,
AuthorizedUser authUser,
java.lang.String mobileID,
java.lang.String devDesc,
java.lang.String devName)
Set Device description/name, return DeviceStatus JSON response |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG_DeviceStatus
public static final java.lang.String TAG_DeviceStatus
- See Also:
- Constant Field Values
TAG_DeviceList
public static final java.lang.String TAG_DeviceList
- See Also:
- Constant Field Values
TAG_DeviceGroups
public static final java.lang.String TAG_DeviceGroups
- See Also:
- Constant Field Values
TAG_GroupID
public static final java.lang.String TAG_GroupID
- See Also:
- Constant Field Values
TAG_GroupName
public static final java.lang.String TAG_GroupName
- See Also:
- Constant Field Values
TAG_DeviceID
public static final java.lang.String TAG_DeviceID
- See Also:
- Constant Field Values
TAG_DeviceName
public static final java.lang.String TAG_DeviceName
- See Also:
- Constant Field Values
TAG_ShortName
public static final java.lang.String TAG_ShortName
- See Also:
- Constant Field Values
TAG_UniqueID
public static final java.lang.String TAG_UniqueID
- See Also:
- Constant Field Values
TAG_Active
public static final java.lang.String TAG_Active
- See Also:
- Constant Field Values
TAG_ContactPhone
public static final java.lang.String TAG_ContactPhone
- See Also:
- Constant Field Values
TAG_IsParked
public static final java.lang.String TAG_IsParked
- See Also:
- Constant Field Values
TAG_ParkedLatitude
public static final java.lang.String TAG_ParkedLatitude
- See Also:
- Constant Field Values
TAG_ParkedLongitude
public static final java.lang.String TAG_ParkedLongitude
- See Also:
- Constant Field Values
TAG_ParkedRadius
public static final java.lang.String TAG_ParkedRadius
- See Also:
- Constant Field Values
TAG_ParkedAddress
public static final java.lang.String TAG_ParkedAddress
- See Also:
- Constant Field Values
TAG_LastGPSTime
public static final java.lang.String TAG_LastGPSTime
- See Also:
- Constant Field Values
TAG_LastLatitude
public static final java.lang.String TAG_LastLatitude
- See Also:
- Constant Field Values
TAG_LastLongitude
public static final java.lang.String TAG_LastLongitude
- See Also:
- Constant Field Values
TAG_LastSpeedKPH
public static final java.lang.String TAG_LastSpeedKPH
- See Also:
- Constant Field Values
TAG_LastHeading
public static final java.lang.String TAG_LastHeading
- See Also:
- Constant Field Values
TAG_LastAddress
public static final java.lang.String TAG_LastAddress
- See Also:
- Constant Field Values
TAG_Pushpin
public static final java.lang.String TAG_Pushpin
- See Also:
- Constant Field Values
TAG_Events
public static final java.lang.String TAG_Events
- See Also:
- Constant Field Values
TAG_Timestamp
public static final java.lang.String TAG_Timestamp
- See Also:
- Constant Field Values
TAG_StatusCode
public static final java.lang.String TAG_StatusCode
- See Also:
- Constant Field Values
TAG_StatusName
public static final java.lang.String TAG_StatusName
- See Also:
- Constant Field Values
TAG_Latitude
public static final java.lang.String TAG_Latitude
- See Also:
- Constant Field Values
TAG_Longitude
public static final java.lang.String TAG_Longitude
- See Also:
- Constant Field Values
TAG_SpeedKPH
public static final java.lang.String TAG_SpeedKPH
- See Also:
- Constant Field Values
TAG_Heading
public static final java.lang.String TAG_Heading
- See Also:
- Constant Field Values
TAG_Altitude
public static final java.lang.String TAG_Altitude
- See Also:
- Constant Field Values
TAG_Address
public static final java.lang.String TAG_Address
- See Also:
- Constant Field Values
TAG_DeviceMessages
public static final java.lang.String TAG_DeviceMessages
- See Also:
- Constant Field Values
TAG_MessageID
public static final java.lang.String TAG_MessageID
- See Also:
- Constant Field Values
TAG_QueueTime
public static final java.lang.String TAG_QueueTime
- See Also:
- Constant Field Values
TAG_Sender
public static final java.lang.String TAG_Sender
- See Also:
- Constant Field Values
TAG_Title
public static final java.lang.String TAG_Title
- See Also:
- Constant Field Values
TAG_Message
public static final java.lang.String TAG_Message
- See Also:
- Constant Field Values
TAG_MessageType
public static final java.lang.String TAG_MessageType
- See Also:
- Constant Field Values
TAG_Priority
public static final java.lang.String TAG_Priority
- See Also:
- Constant Field Values
TAG_ExpireTime
public static final java.lang.String TAG_ExpireTime
- See Also:
- Constant Field Values
TAG_SentTime
public static final java.lang.String TAG_SentTime
- See Also:
- Constant Field Values
TAG_ReadTime
public static final java.lang.String TAG_ReadTime
- See Also:
- Constant Field Values
TAG_AckTime
public static final java.lang.String TAG_AckTime
- See Also:
- Constant Field Values
TAG_AckResponse
public static final java.lang.String TAG_AckResponse
- See Also:
- Constant Field Values
TAG_UpdateTime
public static final java.lang.String TAG_UpdateTime
- See Also:
- Constant Field Values
DEFAULT_EVENT_COUNT
public static final int DEFAULT_EVENT_COUNT
- See Also:
- Constant Field Values
MAX_EVENT_COUNT
public static final int MAX_EVENT_COUNT
- See Also:
- Constant Field Values
DeviceList
public DeviceList()
setDeviceDescription
public static java.lang.String setDeviceDescription(boolean isJSON,
javax.servlet.http.HttpServletRequest request,
AuthorizedUser authUser,
java.lang.String mobileID,
java.lang.String devDesc,
java.lang.String devName)
- Set Device description/name, return DeviceStatus JSON response
requestDeviceStatus
public static java.lang.String requestDeviceStatus(boolean isJSON,
javax.servlet.http.HttpServletRequest request,
AuthorizedUser authUser,
java.lang.String mobileID,
java.lang.String[] deviceIDs,
int limit)
- Return DeviceStatus JSON response
requestDeviceList
public static java.lang.String requestDeviceList(boolean isJSON,
javax.servlet.http.HttpServletRequest request,
AuthorizedUser authUser,
java.lang.String mobileID,
java.lang.String groupID,
GeoPoint proxGP,
double proxRadM)
- Return DeviceList JSON response