Package com.portal.web.comp
Interface PInvoiceBean
- All Superinterfaces:
Remote
- All Known Implementing Classes:
PInvoiceBeanImpl
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 TypeMethodDescriptionGets 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.voidinvoice(PModelHandle mH, ResourceBundle bundle) If the bill number is set, displays that invoice.voidsetBillNumber(String sBillNumber) Sets the input data/hidden variable bill number.voidsetEndTime(Date endDate) Sets the date at which to end the search.voidsetStartTime(Date startDate) Sets the date at which to begin the search.
-
Method Details
-
setStartTime
Sets the date at which to begin the search.- Parameters:
startDate- the start date for the search- Throws:
RemoteException
-
setEndTime
Sets the date at which to end the search.- Parameters:
endDate- the end date for the search- Throws:
RemoteException
-
setBillNumber
Sets the input data/hidden variable bill number.- Parameters:
sBillNumber- the bill number to search for- Throws:
RemoteException
-
getInvoices
Gets the available invoices when the bean is loaded.- Returns:
- A
Listof invoices. - Throws:
RemoteException
-
getInvoices
Gets the invoice at index when the bean is loaded.- Parameters:
index- the index for the invoice to retrieve- Returns:
- A
Stringwith the specified invoice. - Throws:
RemoteException
-
getInvoiceDate
Gets the invoice end date at index when the bean is loaded.- Parameters:
index- the index for the invoice- Returns:
- The end
Datefor the specified invoice. - Throws:
RemoteException
-
getBuffer
Gets the buffer when the bean is loaded.- Returns:
- A
Stringwith the opcode's specifications. - Throws:
RemoteException
-
invoice
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'sPModelHandlesaved in the sessionbundle- the resource bundle- Throws:
RemoteException- thrown if the context is null
-