public class ExternalResourceProcessor
extends java.lang.Object
Constructor and Description |
---|
ExternalResourceProcessor(JSONResourceInfo resourceInfo,
MboRemote owner)
Parse and separate the federated resources into a list, in its intended order.
|
ExternalResourceProcessor(java.lang.String resourceName,
UserInfo userInfo)
Parse and separate the federated resources into a list, in its intended order.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.json.java.JSONArtifact |
processResource()
This is the method that the federated mbos will be fetched from the json resource, and merged into the target mboset.
|
com.ibm.json.java.JSONArtifact |
processResource(int currentPage)
This is the method that the federated mbos will be fetched from the json resource, and merged into the target mboset.
|
com.ibm.json.java.JSONArtifact |
processResource(int pageSize,
int currentPage)
This is the method that the federated mbos will be fetched from the json resource, and merged into the target mboset.
|
public ExternalResourceProcessor(java.lang.String resourceName, UserInfo userInfo) throws MXException, java.rmi.RemoteException
federatedResourcesStr
- The resource name and relationship pairs as defined in the application's presentation.
The format of the string is ResourceName1~Relatioinship1, ResourceName2~Relationship2, ...
The part "~Relationship" is optional but recommended.
ResourceName is the name of the json resource of where the federated mbos come from
Relationship is the name of the relationship from the main mbo (e.g. Asset) to the federated mboset (e.g. ArcGISMboSet).targetset
- The mbo set into which the federated mbos are mergedfdOwner
- The owner mbo of the targetSet.MXException
java.rmi.RemoteException
public ExternalResourceProcessor(JSONResourceInfo resourceInfo, MboRemote owner) throws MXException, java.rmi.RemoteException
federatedResourcesStr
- The resource name and relationship pairs as defined in the application's presentation.
The format of the string is ResourceName1~Relatioinship1, ResourceName2~Relationship2, ...
The part "~Relationship" is optional but recommended.
ResourceName is the name of the json resource of where the federated mbos come from
Relationship is the name of the relationship from the main mbo (e.g. Asset) to the federated mboset (e.g. ArcGISMboSet).targetset
- The mbo set into which the federated mbos are mergedfdOwner
- The owner mbo of the targetSet.MXException
java.rmi.RemoteException
public com.ibm.json.java.JSONArtifact processResource() throws MXException, java.rmi.RemoteException
resourceInfo
- The json resource's info objectfdOwner
- The owner mbo of the target mbosetrootObject
- The name of the json resource root object.fdRelation
- Relationship from targetSet's owner (e.g. targetSet being ASsetSpec and its owner is Asset) to the federated mbosetMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic com.ibm.json.java.JSONArtifact processResource(int currentPage) throws MXException, java.rmi.RemoteException
resourceInfo
- The json resource's info objectfdOwner
- The owner mbo of the target mbosetrootObject
- The name of the json resource root object.fdRelation
- Relationship from targetSet's owner (e.g. targetSet being ASsetSpec and its owner is Asset) to the federated mbosetMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic com.ibm.json.java.JSONArtifact processResource(int pageSize, int currentPage) throws MXException, java.rmi.RemoteException
resourceInfo
- The json resource's info objectfdOwner
- The owner mbo of the target mbosetrootObject
- The name of the json resource root object.fdRelation
- Relationship from targetSet's owner (e.g. targetSet being ASsetSpec and its owner is Asset) to the federated mbosetMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exception