psdi.app.invoice

Class InvoiceSet

    • Field Detail

      • showOnlyHistory

        public boolean showOnlyHistory
        Boolean to store the userpref settings. To be set at the startup of the application by using the method: setHistory().
      • showOnlyCurrent

        public boolean showOnlyCurrent
        Boolean to store the userpref settings. To be set at the startup of the application by using the method: setCurrent().
    • Constructor Detail

      • InvoiceSet

        public InvoiceSet(MboServerInterface ms)
                   throws java.rmi.RemoteException
        Construct the Invoice set
        Parameters:
        ms -
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • setHistory

        public void setHistory(boolean historyInvoices)
                        throws MXException,
                               java.rmi.RemoteException
        Sets the userpref setting for history invoices.
        Specified by:
        setHistory in interface InvoiceSetRemote
        Parameters:
        historyInvoices - The userpref setting for history invoices.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.invoice.InvoiceSet#setHistory()
      • setCurrent

        public void setCurrent(boolean currentInvoices)
                        throws MXException,
                               java.rmi.RemoteException
        Sets the userpref setting for current invoices.
        Specified by:
        setCurrent in interface InvoiceSetRemote
        Parameters:
        currentInvoices - The userpref setting for current invoices.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.invoice.InvoiceSet#setCurrent()
      • getUserPrefWhere

        public java.lang.String getUserPrefWhere()
        Overrides the MboSet getUserPrefWhere() to return a userpref where clause which is appended to the existing whereClause. This is called by the framework to allow any application specific modifications to the whereClause. In this case this method is overridden to support filters on history/current invoices.
        Overrides:
        getUserPrefWhere in class MboSet
        Returns:
        String The userpref where clause.
        See Also:
        setHistory, setCurrent