psdi.common.commtmplt

Class CommTmpltSendToSet

  • java.lang.Object
    • Constructor Detail

      • CommTmpltSendToSet

        public CommTmpltSendToSet(MboServerInterface ms)
                           throws MXException,
                                  java.rmi.RemoteException
        Construct the set
        Parameters:
        ms - The Mbo Server interface
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Generate a new CommSendTo object
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms - MboSet
        Returns:
        the new CommSendTo object
        Throws:
        MXException
        java.rmi.RemoteException
      • canAdd

        public void canAdd()
                    throws MXException
        Throws exception if owner is null or owner is not CommTemplateRemote.
        Overrides:
        canAdd in class MboSet
        Throws:
        MXException
      • contains

        public boolean contains(MboRemote currRecipient,
                                java.lang.String type,
                                java.lang.String value)
                         throws MXException,
                                java.rmi.RemoteException
        Returns true if this mbo set contains the specified type and value.
        Specified by:
        contains in interface CommTmpltSendToSetRemote
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.mbo.MboSet#contains(String, String)
      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Validate all objects in the collection that have been modified. Called by the system prior to saving
        Specified by:
        validate in interface MboSetRemote
        Overrides:
        validate in class MboSet
        Throws:
        MXException
        java.rmi.RemoteException