public class IoTFService extends AppService
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix
Constructor and Description |
---|
IoTFService() |
IoTFService(MXServer mxServer) |
Modifier and Type | Method and Description |
---|---|
void |
canDeleteDeviceType(MboRemote iotf) |
void |
canDeleteOrg(MboRemote iotf) |
java.util.Map<java.lang.String,java.lang.Object> |
checkCronTaskInstance(java.lang.String instancename) |
void |
clearDeviceRefernce(MboRemote iotf)
Clear reference for device type and device id from asset and location meter for one device type.
|
void |
clearDeviceRefernceForOrg(MboRemote iotf)
Clear reference for device type and device id from asset and location meter.
|
void |
deleteDocument(java.util.Map<java.lang.String,java.lang.Object> metaData,
java.lang.String postUrl,
HTTPHandler handler) |
java.util.List<java.lang.Object> |
getAllDeviceTypes(MboRemote iotf,
java.lang.String sort) |
java.util.List<java.lang.Object> |
getAllIoTHistorians() |
java.lang.String |
getAnyHistorianDatabaseName(java.lang.String orgid,
java.lang.String historian,
java.lang.String choice,
java.lang.String bucket,
java.util.Date dt,
int offset,
boolean isDefault) |
java.lang.String |
getBaseIoTURL(java.lang.String org) |
java.lang.String |
getBaseIoTURL(java.lang.String org,
java.lang.String endPointName) |
java.util.List<java.lang.Object> |
getDevices(java.lang.String iotfOrg,
java.lang.String apiKey,
java.lang.String apiToken,
java.lang.String deviceType,
int limit) |
java.util.List<java.lang.Object> |
getDevices(java.lang.String iotfOrg,
UserInfo userInfo,
java.lang.String deviceType,
int limit) |
java.util.List<java.lang.Object> |
getDeviceTypesNotIn(MboRemote iotf,
java.util.List<java.lang.String> excludeTheseTypes,
java.lang.String sort) |
java.lang.String |
getHistorianDatabaseName(java.lang.String orgid,
java.lang.String historian,
java.util.Date dt) |
java.util.Map<java.lang.String,java.lang.Object> |
getLastMessageFromCache(MboRemote iotf,
java.lang.String deviceType) |
com.ibm.json.java.JSONArray |
getLastMessageFromCache(java.lang.String org,
java.lang.String apiKey,
java.lang.String authToken,
java.lang.String type,
java.lang.String deviceid) |
java.util.Map<java.lang.String,java.lang.Object> |
getLastMessageFromCacheForDevice(MboRemote iotf,
java.lang.String deviceType,
java.lang.String deviceid) |
java.util.List<java.lang.Object> |
getNotMappedYetDeviceTypes(MboRemote iotf,
java.lang.String sort) |
void |
init()
Initialize the Application Service.
|
byte[] |
invokeIoTAPI(java.lang.String org,
java.lang.String apiKey,
java.lang.String authToken,
java.lang.String apiURL)
Deprecated.
|
boolean |
pingHistorian() |
java.util.Map<java.lang.String,java.lang.Object> |
pingIoT(java.lang.String iotfOrg,
java.lang.String apiKey,
java.lang.String authToken,
java.lang.String processclass) |
java.util.Map<java.lang.String,java.lang.Object> |
pingIoTF(java.lang.String iotfOrg,
java.lang.String apiKey,
java.lang.String authToken)
Deprecated.
|
void |
syncDevices(java.lang.String iotfOrg,
UserInfo userInfo) |
java.util.Map<java.lang.String,java.lang.Object> |
testConnectivity(MboRemote iotfOrg) |
java.util.Map<java.lang.String,java.lang.Object> |
validateHistorianEndPoint(java.lang.String orgid,
java.lang.String url,
java.lang.String user,
java.lang.String password,
java.lang.String bucket,
java.lang.String dbname) |
checkSecurity, configure, destroy, freeDBConnection, freeMboSet, getCriteria, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setProxy, setRunning, setURL, verifyUser, verifyUser
public IoTFService(MXServer mxServer) throws java.rmi.RemoteException
java.rmi.RemoteException
public IoTFService() throws java.rmi.RemoteException
java.rmi.RemoteException
public void init()
AppService
init
in interface Service
init
in class AppService
Service
public java.util.List<java.lang.Object> getDeviceTypesNotIn(MboRemote iotf, java.util.List<java.lang.String> excludeTheseTypes, java.lang.String sort) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.List<java.lang.Object> getNotMappedYetDeviceTypes(MboRemote iotf, java.lang.String sort) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.List<java.lang.Object> getAllIoTHistorians() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.Map<java.lang.String,java.lang.Object> validateHistorianEndPoint(java.lang.String orgid, java.lang.String url, java.lang.String user, java.lang.String password, java.lang.String bucket, java.lang.String dbname) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean pingHistorian() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getHistorianDatabaseName(java.lang.String orgid, java.lang.String historian, java.util.Date dt) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getAnyHistorianDatabaseName(java.lang.String orgid, java.lang.String historian, java.lang.String choice, java.lang.String bucket, java.util.Date dt, int offset, boolean isDefault) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.List<java.lang.Object> getAllDeviceTypes(MboRemote iotf, java.lang.String sort) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.Map<java.lang.String,java.lang.Object> pingIoT(java.lang.String iotfOrg, java.lang.String apiKey, java.lang.String authToken, java.lang.String processclass) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
@Deprecated public java.util.Map<java.lang.String,java.lang.Object> pingIoTF(java.lang.String iotfOrg, java.lang.String apiKey, java.lang.String authToken) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Map<java.lang.String,java.lang.Object> testConnectivity(MboRemote iotfOrg) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Map<java.lang.String,java.lang.Object> getLastMessageFromCache(MboRemote iotf, java.lang.String deviceType) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.Map<java.lang.String,java.lang.Object> getLastMessageFromCacheForDevice(MboRemote iotf, java.lang.String deviceType, java.lang.String deviceid) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public com.ibm.json.java.JSONArray getLastMessageFromCache(java.lang.String org, java.lang.String apiKey, java.lang.String authToken, java.lang.String type, java.lang.String deviceid) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void canDeleteOrg(MboRemote iotf) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void canDeleteDeviceType(MboRemote iotf) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void clearDeviceRefernceForOrg(MboRemote iotf) throws java.rmi.RemoteException, MXException
iotf
- IoTF organization objectMXException
java.rmi.RemoteException
public void clearDeviceRefernce(MboRemote iotf) throws java.rmi.RemoteException, MXException
iotf
- IoTF device type objectMXException
java.rmi.RemoteException
public java.util.Map<java.lang.String,java.lang.Object> checkCronTaskInstance(java.lang.String instancename) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void syncDevices(java.lang.String iotfOrg, UserInfo userInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.List<java.lang.Object> getDevices(java.lang.String iotfOrg, UserInfo userInfo, java.lang.String deviceType, int limit) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.List<java.lang.Object> getDevices(java.lang.String iotfOrg, java.lang.String apiKey, java.lang.String apiToken, java.lang.String deviceType, int limit) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void deleteDocument(java.util.Map<java.lang.String,java.lang.Object> metaData, java.lang.String postUrl, HTTPHandler handler) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
@Deprecated public byte[] invokeIoTAPI(java.lang.String org, java.lang.String apiKey, java.lang.String authToken, java.lang.String apiURL) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getBaseIoTURL(java.lang.String org) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getBaseIoTURL(java.lang.String org, java.lang.String endPointName) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException