psdi.iface.mic

Interface ServiceInvoker

  • All Known Implementing Classes:
    InvokeChannel


    public interface ServiceInvoker
    An interface for any service invocation implementation from Maximo. The required pieces for a service invocation are a source object [Mbo/MboSet] and the service endpoint. Optionally a target object [Mbo/MboSet] can also be set if the response of the service invocation needs to be set to the target object.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      byte[] invoke(java.util.Map metaData, MboRemote sourceMbo, MboRemote targetMbo, java.lang.String endPointName)
      Service invocation for Source and Target Mbo
      byte[] invoke(java.util.Map metaData, MboRemote sourceMbo, MboSetRemote targetMboSet, int action, java.lang.String endPointName)
      Service invocation for Source Mbo and Target MboSet
      byte[] invoke(java.util.Map metaData, MboSetRemote sourceMboSet, MboRemote targetMbo, java.lang.String endPointName)
      Service invocation for Source MboSet and Target Mbo
      byte[] invoke(java.util.Map metaData, MboSetRemote sourceMboSet, MboSetRemote targetMboSet, int action, java.lang.String endPointName)
      Service invocation for Source and Target MboSet
    • Method Detail

      • invoke

        byte[] invoke(java.util.Map metaData,
                      MboRemote sourceMbo,
                      MboRemote targetMbo,
                      java.lang.String endPointName)
               throws MXException,
                      java.rmi.RemoteException
        Service invocation for Source and Target Mbo
        Parameters:
        metaData - the meta data for the service invocation.
        sourceMbo - the source Mbo for the service invocation.
        targetMbo - the target Mbo for the service invocation.
        endPointName - the endpoint name for the service invocation.
        Returns:
        the response from the endpoint invocation if no target was available to set the response to.
        Throws:
        MXException
        java.rmi.RemoteException
      • invoke

        byte[] invoke(java.util.Map metaData,
                      MboRemote sourceMbo,
                      MboSetRemote targetMboSet,
                      int action,
                      java.lang.String endPointName)
               throws MXException,
                      java.rmi.RemoteException
        Service invocation for Source Mbo and Target MboSet
        Parameters:
        metaData - the meta data for the service invocation.
        sourceMbo - the source Mbo for the service invocation.
        targetMboSet - the target MboSet for the service invocation.
        action - determites whether to update or add (to) the target MboSet. the value are MboSetRemote.INSERTONLY or MboSetRemote.UPDATEONLY
        endPointName - the endpoint name for the service invocation.
        Returns:
        the response from the endpoint invocation if no target was available to set the response to.
        Throws:
        MXException
        java.rmi.RemoteException
      • invoke

        byte[] invoke(java.util.Map metaData,
                      MboSetRemote sourceMboSet,
                      MboRemote targetMbo,
                      java.lang.String endPointName)
               throws MXException,
                      java.rmi.RemoteException
        Service invocation for Source MboSet and Target Mbo
        Parameters:
        metaData - the meta data for the service invocation.
        sourceMboSet - the source MboSet for the service invocation.
        targetMbo - the target Mbo for the service invocation.
        endPointName - the endpoint name for the service invocation.
        Returns:
        the response from the endpoint invocation if no target was available to set the response to.
        Throws:
        MXException
        java.rmi.RemoteException
      • invoke

        byte[] invoke(java.util.Map metaData,
                      MboSetRemote sourceMboSet,
                      MboSetRemote targetMboSet,
                      int action,
                      java.lang.String endPointName)
               throws MXException,
                      java.rmi.RemoteException
        Service invocation for Source and Target MboSet
        Parameters:
        metaData - the meta data for the service invocation.
        sourceMboSet - the source MboSet for the service invocation.
        targetMboSet - the target MboSet for the service invocation.
        action - determites whether to update or add (to) the target MboSet. the value are MboSetRemote.INSERTONLY or MboSetRemote.UPDATEONLY
        endPointName - the endpoint name for the service invocation.
        Returns:
        the response from the endpoint invocation if no target was available to set the response to.
        Throws:
        MXException
        java.rmi.RemoteException