psdi.webclient.beans.common

Class RelateBean

    • Constructor Detail

      • RelateBean

        public RelateBean()
    • Method Detail

      • relate

        public int relate()
                   throws MXException,
                          java.rmi.RemoteException
        Relate Button action creates a related record set and adds the selected records.
        Returns:
        EVENT_HANDLED
        Throws:
        MXException
        java.rmi.RemoteException
      • relateToGlobal

        public int relateToGlobal()
                           throws MXException,
                                  java.rmi.RemoteException
        Relate To Global Button action creates a related record set that is used to collect related global tickets.
        Returns:
        EVENT_HANDLED
        Throws:
        MXException
        java.rmi.RemoteException
      • checkOwnRelatedRec

        protected boolean checkOwnRelatedRec(java.lang.String relRecKey,
                                             java.lang.String relRecclass,
                                             java.lang.String relRecSite)
                                      throws MXException,
                                             java.rmi.RemoteException
        A ticket cannot relate to itself
        Parameters:
        relRecKey - relatedRecKey for the new related record
        relRecclass - realtedRecclass for the new related record
        Throws:
        MXException - If related record key and class are same as owner's key and class, MXApplicationException("ticket", "NoOwnParent")
        java.rmi.RemoteException