psdi.app.eventresponse

Class EventResponse

  • java.lang.Object
  • All Implemented Interfaces:
    java.rmi.Remote, EventResponseRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class EventResponse
    extends Mbo
    implements EventResponseRemote
    EventResponse defines, by a specific reference Mbo, actions to take on event messages for specific source Mbo.

    This is a system level object.

    The key attribute for this object is ERID.
    The combination of SourceTable + SourceID + RefTable + RefID + EventName is unique.

    The attributes in this object are as follows:

    Attribute NameDescription
    ERID Identifier of the EventResponse, automatically generated key value. Read only.
    EventActionID Action taken on the eventAction message.
    EventName Name of the event that actions are taken on, e.g. "maximo.workorder.update".
    InstallationDate The date the EventResponse was created or last updated.
    PreSaveActionID Action taken on the preSave message.
    PostCommitID Action taken on the postCommitAction message.
    RefTable Name of Mbo which registered the response
    RefID Unique ID of Mbo which registered the response
    SourceTable Identifies name of Mbo generating the response
    SourceID Identifies the unique ID of the Mbo to monitor
    ValidateActionID Action taken on the validateEvent message.
    • Constructor Detail

      • EventResponse

        public EventResponse(MboSet ms)
                      throws java.rmi.RemoteException
        Parameters:
        ms -
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        The unique ID for this table, ERID, is auto-generated.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • setup

        public void setup(MboRemote sourceMbo,
                          MboRemote refMbo,
                          MboRemote targetMbo,
                          java.lang.String eventName,
                          java.lang.String validateID,
                          java.lang.String presaveID,
                          java.lang.String actionID,
                          java.lang.String postID)
                   throws java.rmi.RemoteException,
                          MXException
        Throws:
        java.rmi.RemoteException
        MXException