psdi.app.report

Class ReportSched

    • Constructor Detail

      • ReportSched

        public ReportSched(MboSet ms)
                    throws MXException,
                           java.rmi.RemoteException
        Construct the ReportSched object
        Parameters:
        ms - - Mbo set
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • setCronTaskMgrCalledDelete

        public void setCronTaskMgrCalledDelete(boolean cronIsCaller)
                                        throws MXException,
                                               java.rmi.RemoteException
        Change the value of the cronTaskMgrCalledDelete flag.
        Specified by:
        setCronTaskMgrCalledDelete in interface ReportSchedRemote
        Parameters:
        cronTaskMgrCalledDelete - - boolean variable to indicate who is calling the delete method
        Throws:
        MXException
        java.rmi.RemoteException
      • init

        public void init()
                  throws MXException
        Initialize the ReportSched Mbo to set the non-persistent fields used to show the schedule values in the UI. Use column oncedatetime to create the NEXTRUNTIME column. If the TYPE is RECURRING then columns
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Delete the Report Scheduling object. For BIRT reports of type 'ONCE' the actual delete is done from ReportCronTask class in the beforeRemoval() method because the removal is initiated from the Cron Task. For BIRT reports of type 'RECURRING' the delete is done from the ReportSched Mbo.
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        accessModifier - The bitwise flag specified to determine if certain normal security checks are to be bypassed for this delete request. For example: if the accessModifer is NOACCESSCHECK, then the check for the object's NODELETE flag and the call to the object's canDelete() method will not be performed. If the accessModifer is NONE, then all the access checks are performed before this object is marked delete.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.delete(long)
      • undelete

        public void undelete()
                      throws MXException,
                             java.rmi.RemoteException
        Description copied from class: Mbo
        Unmark the Mbo for deletion. Can only be called after a delete() and before the save() has been performed. This method will also unmark associated Long Description and Translation Mbos.
        Specified by:
        undelete in interface MboRemote
        Overrides:
        undelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • save

        public void save()
                  throws MXException,
                         java.rmi.RemoteException
        Save the Report Scheduling object changes.:
        Overrides:
        save in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException