Interface PInvoiceBean

All Superinterfaces:
Remote
All Known Implementing Classes:
PInvoiceBeanImpl

public interface PInvoiceBean extends Remote
PInvoiceBean is a Remote interface that defines the abilities needed for an invoice component.
Version:
%version: 6 % %date_modified: Thu Nov 08 18:27:51 2001 %
Author:
sujata
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the buffer when the bean is loaded.
    getInvoiceDate(int index)
    Gets the invoice end date at index when the bean is loaded.
    Gets the available invoices when the bean is loaded.
    getInvoices(int index)
    Gets the invoice at index when the bean is loaded.
    void
    If the bill number is set, displays that invoice.
    void
    setBillNumber(String sBillNumber)
    Sets the input data/hidden variable bill number.
    void
    setEndTime(Date endDate)
    Sets the date at which to end the search.
    void
    setStartTime(Date startDate)
    Sets the date at which to begin the search.
  • Method Details

    • setStartTime

      void setStartTime(Date startDate) throws RemoteException
      Sets the date at which to begin the search.
      Parameters:
      startDate - the start date for the search
      Throws:
      RemoteException
    • setEndTime

      void setEndTime(Date endDate) throws RemoteException
      Sets the date at which to end the search.
      Parameters:
      endDate - the end date for the search
      Throws:
      RemoteException
    • setBillNumber

      void setBillNumber(String sBillNumber) throws RemoteException
      Sets the input data/hidden variable bill number.
      Parameters:
      sBillNumber - the bill number to search for
      Throws:
      RemoteException
    • getInvoices

      List getInvoices() throws RemoteException
      Gets the available invoices when the bean is loaded.
      Returns:
      A List of invoices.
      Throws:
      RemoteException
    • getInvoices

      String getInvoices(int index) throws RemoteException
      Gets the invoice at index when the bean is loaded.
      Parameters:
      index - the index for the invoice to retrieve
      Returns:
      A String with the specified invoice.
      Throws:
      RemoteException
    • getInvoiceDate

      Date getInvoiceDate(int index) throws RemoteException
      Gets the invoice end date at index when the bean is loaded.
      Parameters:
      index - the index for the invoice
      Returns:
      The end Date for the specified invoice.
      Throws:
      RemoteException
    • getBuffer

      String getBuffer() throws RemoteException
      Gets the buffer when the bean is loaded.
      Returns:
      A String with the opcode's specifications.
      Throws:
      RemoteException
    • invoice

      void invoice(PModelHandle mH, ResourceBundle bundle) throws RemoteException
      If the bill number is set, displays that invoice. Otherwise, it displays the list of invoices based on the user selected dates.
      Parameters:
      mH - the account's PModelHandle saved in the session
      bundle - the resource bundle
      Throws:
      RemoteException - thrown if the context is null