Modifier and Type | Method and Description |
---|---|
Attachment |
MaximoConnector.attachment(String uri,
String... properties) |
javax.json.JsonObject |
MaximoConnector.attachmentDocMeta(String uri) |
AttachmentSet |
Resource.attachmentSet() |
javax.json.JsonArray |
MaximoConnector.bulk(String uri,
javax.json.JsonArray ja) |
javax.json.JsonArray |
MaximoConnector.bulk(String uri,
javax.json.JsonArray ja,
Map<String,Object> headers) |
void |
MaximoConnector.connect()
Connect to Maximo Server
|
void |
MaximoConnector.connect(Proxy proxy)
Connect to Maximo Server with Proxy
|
int |
ResourceSet.count()
get current number of Resource by calling RESTful API
|
Attachment |
AttachmentSet.create(Attachment att)
Create a new attachment
|
Resource |
ResourceSet.create(javax.json.JsonObject jo,
Map<String,Object> headers,
String... properties) |
Resource |
ResourceSet.create(javax.json.JsonObject jo,
String... properties)
Create a new Resource with the properties in hearder
|
Attachment |
AttachmentSet.create(String relation,
Attachment att) |
Attachment |
AttachmentSet.create(String relation,
Attachment att,
Map<String,Object> headers) |
javax.json.JsonObject |
MaximoConnector.create(String uri,
javax.json.JsonObject jo,
Map<String,Object> headers,
String... properties) |
javax.json.JsonObject |
MaximoConnector.create(String uri,
javax.json.JsonObject jo,
String... properties)
Create new Resource
|
javax.json.JsonObject |
MaximoConnector.createAttachment(String uri,
byte[] data,
String name,
String description,
String meta)
Create new attachment
|
javax.json.JsonObject |
MaximoConnector.createAttachment(String uri,
byte[] data,
String name,
String description,
String meta,
Map<String,Object> headers) |
void |
Resource.delete() |
void |
Attachment.delete()
Delete the attachment
|
AttachmentSet |
AttachmentSet.delete(int index)
Delete the Attachment
|
void |
MaximoConnector.delete(String uri)
Delete the resource/attachment
|
AttachmentSet |
AttachmentSet.delete(String id) |
void |
MaximoConnector.delete(String uri,
Map<String,Object> headers) |
void |
MaximoConnector.deleteAttachment(String uri) |
void |
MaximoConnector.deleteResource(String uri) |
static void |
TestOSLCApi.exampleForRepPo() |
ResourceSet |
ResourceSet.fetch()
Fetching the data for ResourceSet
|
ResourceSet |
ResourceSet.fetch(Map options) |
javax.json.JsonObject |
Attachment.fetchDocMeta() |
Attachment |
AttachmentSet.fetchMember(String uri,
Map<String,Object> headers,
String... properties) |
Attachment |
AttachmentSet.fetchMember(String uri,
String... properties) |
Resource |
ResourceSet.fetchMember(String uri,
String... properties) |
ResourceSet |
ResourceSet.fetchWithAddtionalHeaders(Map<String,Object> additionalHeaders)
Fetching the data for ResourceSet with arbitrary headers
|
ResourceSet |
ResourceSet.fetchWithAddtionalHeadersAndParams(Map<String,Object> additionalParams,
Map<String,Object> additionalHeaders)
Fetching the data for ResourceSet with arbitrary parameters and headers
|
ResourceSet |
ResourceSet.fetchWithAddtionalParams(Map<String,Object> additionalParams)
Fetching the data for ResourceSet with arbitrary parameters
|
javax.json.JsonObject |
MaximoConnector.get(String uri) |
javax.json.JsonObject |
MaximoConnector.get(String uri,
Map<String,Object> headers) |
byte[] |
MaximoConnector.getAttachmentData(String uri)
Load DocumentData
|
byte[] |
MaximoConnector.getAttachmentData(String uri,
Map<String,Object> headers) |
javax.json.JsonArray |
MaximoConnector.groupBy(String uri)
Fetch Group By data
|
javax.json.JsonArray |
MaximoConnector.groupBy(String uri,
Map<String,Object> headers) |
boolean |
ResourceSet.hasNextPage() |
Resource |
Resource.invokeAction(String actionName,
javax.json.JsonObject jo)
Invoke Action
|
Resource |
Resource.invokeAction(String actionName,
javax.json.JsonObject jo,
String... properties) |
AttachmentSet |
AttachmentSet.load()
Load the data for attachmentset
|
Resource |
Resource.load()
Load current data with properties in header
|
Attachment |
Attachment.load()
load attachment data
|
ResourceSet |
ResourceSet.load()
Load the current data
|
AttachmentSet |
AttachmentSet.load(Map<String,Object> headers) |
Attachment |
Attachment.load(Map<String,Object> headers)
load attachment data with headers
|
Resource |
Resource.load(String... properties) |
Attachment |
Attachment.loadMeta()
load attachment meta data
|
Attachment |
Attachment.loadMeta(Map<String,Object> headers) |
Resource |
Resource.loadWithAdditionalHeaders(Map<String,Object> headers,
String... properties) |
Resource |
Resource.loadWithAdditionalParams(Map<String,Object> params,
String... properties) |
Resource |
Resource.loadWithAdditionalParamsAndHeaders(Map<String,Object> params,
Map<String,Object> headers,
String... properties) |
static void |
TestOSLCApi.main(String[] args) |
Attachment |
AttachmentSet.member(int index)
Get the member of attachmentset
|
Resource |
ResourceSet.member(int index)
get the member in ResourceSet
|
Attachment |
AttachmentSet.member(String id) |
Resource |
Resource.merge(javax.json.JsonObject jo,
Map<String,Object> headers,
String... properties) |
Resource |
Resource.merge(javax.json.JsonObject jo,
String... properties) |
javax.json.JsonObject |
MaximoConnector.merge(String uri,
javax.json.JsonObject jo,
Map<String,Object> headers,
String... properties) |
javax.json.JsonObject |
MaximoConnector.merge(String uri,
javax.json.JsonObject jo,
String... properties) |
Resource |
ResourceSet.mergeSync(javax.json.JsonObject jo,
Map<String,Object> headers,
String... properties) |
Resource |
ResourceSet.mergeSync(javax.json.JsonObject jo,
String... properties) |
javax.json.JsonObject |
MaximoConnector.mergeSync(String uri,
javax.json.JsonObject jo,
Map<String,Object> headers,
String... properties) |
javax.json.JsonObject |
MaximoConnector.mergeSync(String uri,
javax.json.JsonObject jo,
String... properties) |
ResourceSet |
ResourceSet.nextPage()
Go to nextPage
|
ResourceSet |
ResourceSet.previousPage()
Go back to previous page
|
Resource |
Resource.relatedResource(String attrName) |
AttachmentSet |
AttachmentSet.reload() |
Resource |
Resource.reload() |
Attachment |
Attachment.reload() |
ResourceSet |
ResourceSet.reload() |
Resource |
Resource.reload(String... properties) |
Attachment |
Attachment.reloadMeta() |
Resource |
MaximoConnector.resource(String uri,
String... properties) |
ResourceSet |
MaximoConnector.resourceSet(URL url) |
protected HttpURLConnection |
MaximoConnector.setHeaders(HttpURLConnection con,
Map<String,Object> headers) |
protected HttpURLConnection |
MaximoConnector.setMethod(HttpURLConnection con,
String method,
String... properties) |
Resource |
ResourceSet.sync(javax.json.JsonObject jo,
Map<String,Object> headers,
String... properties) |
Resource |
ResourceSet.sync(javax.json.JsonObject jo,
String... properties) |
javax.json.JsonObject |
MaximoConnector.sync(String uri,
javax.json.JsonObject jo,
Map<String,Object> headers,
String... properties) |
javax.json.JsonObject |
MaximoConnector.sync(String uri,
javax.json.JsonObject jo,
String... properties) |
int |
AttachmentSet.thisPageSize() |
byte[] |
Attachment.toDoc() |
javax.json.JsonObject |
Attachment.toDocMeta()
Get Attachment data in JSON
|
byte[] |
Attachment.toDocMetaBytes()
Get Attachment data in JSONBytes
|
javax.json.JsonObject |
AttachmentSet.toJSON()
Get AttahcmentSet data in JSON
|
javax.json.JsonObject |
Resource.toJSON()
Get Resource data in JSON
|
javax.json.JsonObject |
ResourceSet.toJSON()
Get ResourceSet data in JSON
|
byte[] |
AttachmentSet.toJSONBytes()
Get AttahcmentSet data in JSONBytes
|
byte[] |
Resource.toJSONBytes()
Get Resource data in JSONBytes
|
byte[] |
ResourceSet.toJSONBytes()
Get ResourceSet data in JSONBytes
|
int |
ResourceSet.totalCount()
Count the total number of Resources by calling RESTful API
|
int |
ResourceSet.totalCount(boolean fromServer)
Count the total number of Resources.
|
Resource |
Resource.update(javax.json.JsonObject jo,
Map<String,Object> headers,
String... properties) |
Resource |
Resource.update(javax.json.JsonObject jo,
String... properties)
Update the Resource
|
javax.json.JsonObject |
MaximoConnector.update(String uri,
javax.json.JsonObject jo,
Map<String,Object> headers,
String... properties) |
javax.json.JsonObject |
MaximoConnector.update(String uri,
javax.json.JsonObject jo,
String... properties)
Update the Resource
|
Copyright © 2018. All rights reserved.