psdi.app.rcntskfltr

Class ReconTaskFilter

  • java.lang.Object
  • All Implemented Interfaces:
    java.rmi.Remote, ReconTaskFilterRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class ReconTaskFilter
    extends Mbo
    implements ReconTaskFilterRemote
    MBO representing a Task Filter for a Reconciliation Task. A Task Filter allows for the culling of data prior to the execution of Link or Comparison Rules within a Task.

    There are two kinds of Task Filters: Asset Filters and Deployed Asset Filters. The former filter on Assets and the latter on Deployed Assets (DPAs). A ReconTask can have only one Filter. Therefore, it can have one of the two types, but not both.

    Each of the kinds of Task Filters are represented by their own MBOs.

    See Also:
    psdi.app.rcntskfltr.ReconAssetFilter, psdi.app.rcntskfltr.ReconDPAFilter
    • Constructor Detail

      • ReconTaskFilter

        public ReconTaskFilter(MboSet ms)
                        throws java.rmi.RemoteException
        Parameters:
        ms -
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        Default initialization routine. Filter Type will be editable only for New Filters being created. It will be set to READONLY for existing Filters.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a new ReconTaskFilter, setting any field defaults.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        java.rmi.RemoteException
        MXException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        A TASKFILTER cannot be deleted if it is associated with any Task. Check if this FILTER is Used by any Task. If used, thow an Exception, else allow delete the filter.
        Overrides:
        canDelete in class Mbo
        Throws:
        java.rmi.RemoteException
        MXException
      • delete

        public void delete(long modifier)
                    throws MXException,
                           java.rmi.RemoteException
        delete the Task Filter and associated entries from RECONTASKLINK table
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        modifier - 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:
        java.rmi.RemoteException
        MXException
        See Also:
        Mbo.delete(long)
      • save

        public void save()
                  throws MXException,
                         java.rmi.RemoteException
        A TASKFILTER cannot be saved if it it does not have atleast one Filter Rule If there are multiple link rules, the sequence numbers must be unique The Attributes chosen must be valid for the Filter Type Selected
        Overrides:
        save in class Mbo
        Throws:
        java.rmi.RemoteException
        MXException
      • duplicate

        public MboRemote duplicate()
                            throws MXException,
                                   java.rmi.RemoteException
        Duplicate the current Task Filter.
        Specified by:
        duplicate in interface MboRemote
        Overrides:
        duplicate in class Mbo
        Returns:
        MboRemote The newly created Reconciliation Task Filter Mbo
        Throws:
        MXException
        java.rmi.RemoteException