psdi.app.actualci

Class ActCISet

    • Field Detail

      • Selected

        protected java.util.Vector Selected
      • copyAttributes

        protected boolean copyAttributes
      • AuthClassID

        protected java.lang.String AuthClassID
      • toEmailAddr

        protected java.lang.String toEmailAddr
    • Constructor Detail

      • ActCISet

        public ActCISet(MboServerInterface ms)
                 throws java.rmi.RemoteException
        Constructs the set of Actual CIs.
        Parameters:
        ms -
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Description copied from class: MboSet
        Factory to create the business objects This must be overridden in derived class
        Specified by:
        getMboInstance in class MboSet
        Throws:
        MXException
        java.rmi.RemoteException
      • getHierarchyPath

        public java.lang.String getHierarchyPath(ActCIRemote actCI,
                                                 java.lang.String ClassStructureID)
                                          throws java.lang.Exception
        Parameters:
        actCI -
        ClassStructureID -
        Returns:
        Throws:
        java.lang.Exception
      • createAuthorizedCIs

        public void createAuthorizedCIs(java.util.Vector selected,
                                        boolean copyAttributes,
                                        boolean isAsync,
                                        java.lang.String toEmailAddr,
                                        java.lang.String authClassID)
                                 throws java.rmi.RemoteException,
                                        MXException
        Promote actual CIs to authorized CIs
        Specified by:
        createAuthorizedCIs in interface ActCISetRemote
        Parameters:
        selected - Vector of selected actualci's
        copyAttributes - Flag on whether to copy the attributes from actual ci
        authClassID - The authorized classification user selected
        Throws:
        java.rmi.RemoteException
        MXException
        See Also:
        ActCISetRemote.createAuthorizedCIs(Vector, boolean, String)
      • run

        public void run()
        If the "Run in Background" check box is checked, a new Thread object will be created, and the CI promotion action run within it.
        Specified by:
        run in interface java.lang.Runnable
      • composeMsg

        protected java.lang.String composeMsg()
                                       throws MXException,
                                              java.rmi.RemoteException
        Composes an e-mail message containing any warnings the Actual CI promotion encountered.
        Returns:
        a String containing the date of the operation and any warnings.
        Throws:
        MXException - if an error occurs.
        java.rmi.RemoteException - if an error occurs.
      • checkMailSetup

        protected void checkMailSetup()
                               throws MXException,
                                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • writeEmail

        protected void writeEmail()
        Composes an e-mail (if background operation was selected) containing any errors encountered.
      • writeEmail

        protected void writeEmail(java.lang.String Message)
        Sends an email with the specified message.
        Parameters:
        Message - The message to send.