Package com.portal.app.ccare.comp
Class PIAInvoiceRetriever
java.lang.Object
com.portal.app.ccare.comp.PIAInvoiceRetriever
Controller helper class that retrieves an invoice.
The following opcodes are used by this controller:
PortalOp.BILL_VIEW_INVOICEfor retrieving an invoice.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInvoice(Poid accountPoid, Poid billPoid, PortalContext ctx) Given an account POID and a bill POID, return the corresponding invoice or an error message if an invoice can't be found.getInvoice(Poid accountPoid, Poid billPoid, String billNumber, PortalContext ctx) Given an account POID and a bill POID, return the corresponding invoice or an error message if an invoice can't be found.
-
Constructor Details
-
PIAInvoiceRetriever
public PIAInvoiceRetriever()Constructs an invoice retriever.
-
-
Method Details
-
getInvoice
Given an account POID and a bill POID, return the corresponding invoice or an error message if an invoice can't be found.- Parameters:
accountPoid- account POIDbillPoid- bill POIDctx- Portal Context- Returns:
- The matching invoice is returned if the lookup attempt is successful or an
error if the attempt fails. The invoice stream that is returned is built in
BuildInvoice - Throws:
RemoteException- See Also:
-
getInvoice
public Object getInvoice(Poid accountPoid, Poid billPoid, String billNumber, PortalContext ctx) throws RemoteException Given an account POID and a bill POID, return the corresponding invoice or an error message if an invoice can't be found.- Parameters:
accountPoid- account POIDbillPoid- bill POIDbillNumber- PIN_FLD_BILL_NO of the selected bill.ctx- Portal Context- Returns:
- The matching invoice is returned if the lookup attempt is successful or an
error if the attempt fails. The invoice stream that is returned is built in
BuildInvoice - Throws:
RemoteException- See Also:
-