public class PagedAssetLocSelector
extends java.lang.Object
Constructor and Description |
---|
PagedAssetLocSelector(java.lang.String completeWhere,
int pageSize,
boolean forAsset,
boolean unmappedOnly,
UserInfo userInfo)
Select all asset/location which have meters
|
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Cleanup
|
java.util.Map |
getMetricMap()
Returns metric map
|
java.util.Map |
nextPage(boolean forAsset)
Select data for one REST call
|
public PagedAssetLocSelector(java.lang.String completeWhere, int pageSize, boolean forAsset, boolean unmappedOnly, UserInfo userInfo) throws java.rmi.RemoteException, MXException
completeWhere
- where clausepageSize
- number of asset/locations per callforAsset
- true if asset , false if locationunmappedOnly
- include meters which have metricsuserInfo
- reference to user infoMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic java.util.Map nextPage(boolean forAsset) throws java.rmi.RemoteException, MXException
forAsset
- true if asset , false if locationMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic java.util.Map getMetricMap()
public void cleanup()