public class LBSMapHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALTITUDE |
static java.lang.String |
ALTITUDE_ACCURACY |
static java.lang.String |
HEADING |
static java.lang.String |
LAST_UPDATE |
static java.lang.String |
LAST_UPDATE_CONDITION_STATE |
static java.lang.String |
LAT_PROPERTY |
static java.lang.String |
LBS_ONLY |
static java.lang.String |
LNG_PROPERTY |
static java.lang.String |
LOCATION_ACCURACY |
static java.lang.String |
MAX_ACCURACY_STATE |
static java.lang.String |
SPEED |
Constructor and Description |
---|
LBSMapHelper() |
Modifier and Type | Method and Description |
---|---|
com.ibm.json.java.JSONArray |
getLBSAuditData(MboRemote lbs,
com.ibm.json.java.JSONObject recordData,
java.util.Date startDate,
java.util.Date endDate)
Gets the audit information about the main record (lbs) and appends it as
lbsdata in recordData.
|
com.ibm.json.java.JSONObject |
getLBSData(LBS lbs) |
int |
getMaxTimeSinceLastUpdate()
Get value for the mxe.lbs.lastupdate.maxTime property
|
public static final java.lang.String LNG_PROPERTY
public static final java.lang.String LAT_PROPERTY
public static final java.lang.String ALTITUDE_ACCURACY
public static final java.lang.String ALTITUDE
public static final java.lang.String HEADING
public static final java.lang.String SPEED
public static final java.lang.String LOCATION_ACCURACY
public static final java.lang.String LAST_UPDATE
public static final java.lang.String LAST_UPDATE_CONDITION_STATE
public static final java.lang.String MAX_ACCURACY_STATE
public static final java.lang.String LBS_ONLY
public com.ibm.json.java.JSONObject getLBSData(LBS lbs) throws java.rmi.RemoteException, MXException
an
- LBS mbojava.rmi.RemoteException
MXException
public com.ibm.json.java.JSONArray getLBSAuditData(MboRemote lbs, com.ibm.json.java.JSONObject recordData, java.util.Date startDate, java.util.Date endDate) throws java.rmi.RemoteException, MXException
lbs
- an LBS mbo (mbo based on the LBSLOCATION table)recordData
- lbs in JSONObject formatstartDate
- query parameterendDate
- query parameterjava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic int getMaxTimeSinceLastUpdate() throws java.rmi.RemoteException
java.rmi.RemoteException