public class

MaximoConnector

extends Object
java.lang.Object
   ↳ com.computime.maximo.MaximoConnector
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Maximo Anypoint Cloud Connector - Connect to Maximo MIF exposed web services

Summary

Nested Classes
enum MaximoConnector.Action  
enum MaximoConnector.OperandMode  
Fields
public static final Log logger
private SimpleDateFormat sf
private ConnectionManagementStrategy strategy
Public Constructors
MaximoConnector()
Public Methods
ConnectionManagementStrategy getStrategy()
Getter of connection strategy
String query(String webServiceName, String objectStructureName, String query, MaximoQueryEntry queryConditions, MaximoConnector.OperandMode operandMode, String orderBy, boolean uniqueResult, Integer rsStart, Integer maximumItems, String creationDateTime, String baseLanguage, String transLanguage, String messageId, String maximoVersion)
Query operation on a Maximo web service
void setStrategy(ConnectionManagementStrategy strategy)
Setter of connection strategy
String update(String webServiceName, String objectStructureName, MaximoConnector.Action action, List<MaximoUpdateEntry> udpateEntries, String creationDateTime, String baseLanguage, String transLanguage, String messageId, String maximoVersion)
Update operation on a Maximo web service (Create, Insert, Delete, Update, Sync)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final Log logger

private SimpleDateFormat sf

private ConnectionManagementStrategy strategy

Public Constructors

public MaximoConnector ()

Public Methods

public ConnectionManagementStrategy getStrategy ()

Getter of connection strategy

Returns
  • connection strategy

public String query (String webServiceName, String objectStructureName, String query, MaximoQueryEntry queryConditions, MaximoConnector.OperandMode operandMode, String orderBy, boolean uniqueResult, Integer rsStart, Integer maximumItems, String creationDateTime, String baseLanguage, String transLanguage, String messageId, String maximoVersion)

Query operation on a Maximo web service

Parameters
webServiceName Name of web service as configured in Maximo
objectStructureName Name of underlying object structure as configured in Maximo (Defaulted to webServiceName)
query An SQL WHERE clause based on the root object exposed in the Maximo service (use instead of queryConditions)
queryConditions List of Maximo query conditions on root object (instead of query clause)
operandMode Defines whether Maximo query is run in AND or OR operand mode
orderBy Field name of Maximo root object field to order results by
uniqueResult Set to true when Maximo should filter duplicate results
rsStart The row number to start returning results from
maximumItems The maximum number of items to be returned
creationDateTime Timestamp of request (yyyy-MM-dd hh:mm:ss.SSS)
baseLanguage Optional base language field
transLanguage Optional transfer language field
messageId Optional field used to keep track of requests and responses
maximoVersion Optional concatenated string that identifies the major version, minor version, build and dbbuild
Returns
  • XML containing Maximo returned results
Throws
Exception Maximo exception during execution

public void setStrategy (ConnectionManagementStrategy strategy)

Setter of connection strategy

Parameters
strategy

public String update (String webServiceName, String objectStructureName, MaximoConnector.Action action, List<MaximoUpdateEntry> udpateEntries, String creationDateTime, String baseLanguage, String transLanguage, String messageId, String maximoVersion)

Update operation on a Maximo web service (Create, Insert, Delete, Update, Sync)

Parameters
webServiceName Name of web service as configured in Maximo
objectStructureName Name of underlying object structure as configured in Maximo (Defaulted to webServiceName)
action Type of global action to perform (select Sync if action is specified at entry level)
udpateEntries List of object entries (or entry conditions) to update
creationDateTime Timestamp of request (yyyy-MM-dd hh:mm:ss.SSS)
baseLanguage Optional base language field
transLanguage Optional transfer language field
messageId Optional field used to keep track of requests and responses
maximoVersion Optional concatenated string that identifies the major version, minor version, build and dbbuild
Returns
  • XML containing Maximo returned results
Throws
Exception Maximo exception thrown during execution