psdi.common.emailstner

Class InboundCommCfg

  • java.lang.Object
    • Constructor Detail

      • InboundCommCfg

        public InboundCommCfg(MboSet ms)
                       throws java.rmi.RemoteException
        Construct the InboundCommCfg object
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        initialization rountine. This sets the READONLY flags for fields when status is active
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: Mbo
        Mark the object to be deleted depending on the access modifier. This will usually be overridden in the subclass of Mbo as there may be application specific rules as to if and when an object can be deleted. Object is not actually deleted in the database until save() is called. This method will also mark all associated Long Description and Translation Mbos for deletion.
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        accessModifier -
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.delete(long)
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Sets default values for a new inboundcommcfg
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • addCronTaskInstance

        public void addCronTaskInstance(boolean isActive)
                                 throws MXException
        Adds a crontask Instance to crontaskinstance table
        Parameters:
        cronInstanceName -
        Throws:
        MXException
        java.rmi.RemoteException
      • save

        public void save()
                  throws MXException,
                         java.rmi.RemoteException
        Save the record
        Overrides:
        save in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • skipCopyField

        protected boolean skipCopyField(MboValueInfo mvi)
                                 throws java.rmi.RemoteException,
                                        MXException
        The emailaddress and mailserver field will not be copied.
        Overrides:
        skipCopyField in class Mbo
        Throws:
        java.rmi.RemoteException
        MXException
      • activateListner

        public void activateListner()
                             throws MXException
        Conditions to activate
        Throws:
        java.rmi.RemoteException
        MXException
      • deActivateListner

        public void deActivateListner()
                               throws MXException
        Conditions to deactivate
        Throws:
        java.rmi.RemoteException
        MXException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Logic to validate before we delete a record
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException