Package com.portal.app.ccare.comp
Class PARActionDetailBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PARActionDetailBeanImpl
- All Implemented Interfaces:
PARActionDetailBean
,PIACollectionBean
,PControllerBean
,Serializable
,Remote
,Unreferenced
public class PARActionDetailBeanImpl
extends PIAComponentCollectionBean
implements PARActionDetailBean
Implementation for controller
PARActionDetailBean
.- Version:
- %version: 20 % %date_modified: Wed Mar 20 10:44:34 2002 %
- Author:
- simonw
- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToResourceIdDescription
(PModelHandle detailModel) converts the resource id to resource descriptiongetActionDetailModel
(PModelHandle itemData) Gets action detail model given A/R action item, this model including general information for the action item, and 'applied to' and/or 'applied from' details.getAppliedToData
(PModelHandle handle, String billFormat, String itemFormat, int[] columnIndices) GetsVector
to be set for aPIASpecSpreadSheet
component inPARActionDetailPage
.getPaymentItems
(PModelHandle handle, String dateFormat) GetsVector
to be set for aPIASpecSpreadSheet
component and the Payment Type in an ArrayList forPARPaymentDetailPage
.Methods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, update
Methods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferenced
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PARActionDetailBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
getActionDetailModel
Gets action detail model given A/R action item, this model including general information for the action item, and 'applied to' and/or 'applied from' details.- Specified by:
getActionDetailModel
in interfacePARActionDetailBean
- Parameters:
itemData
- aPModelHandle
value specifying the A/R action item- Returns:
- a
PModelHandle
value containing the fetched model - Throws:
RemoteException
- if an error occurs
-
getAppliedToData
public Vector getAppliedToData(PModelHandle handle, String billFormat, String itemFormat, int[] columnIndices) throws RemoteException GetsVector
to be set for aPIASpecSpreadSheet
component inPARActionDetailPage
.- Specified by:
getAppliedToData
in interfacePARActionDetailBean
- Parameters:
handle
- aPModelHandle
value containing the fetched model by functiongetActionDetailModel(com.portal.bas.PModelHandle)
billFormat
- aString
value specifying the message format to be used for bill numberitemFormat
- aString
value specifying the message format to be used for item name and item numbercolumnIndices
- anint[]
value specifying the order of data put in the returnVector
- Returns:
- a
Vector
value containg the model for aPIASpecSpreadSheet
component inPARActionDetailPage
- Throws:
RemoteException
- if an error occurs
-
getPaymentItems
Description copied from interface:PARActionDetailBean
GetsVector
to be set for aPIASpecSpreadSheet
component and the Payment Type in an ArrayList forPARPaymentDetailPage
.- Specified by:
getPaymentItems
in interfacePARActionDetailBean
- Parameters:
handle
- aPModelHandle
value containing the fetched model by functionPARActionDetailBean.getActionDetailModel(com.portal.bas.PModelHandle)
dateFormat
- aString
value specifying the message format to be used for Date- Returns:
- a
ArrayList
value containg the Payment Type string and the Vector forPARPaymentDetailPage
- Throws:
RemoteException
- if an error occurs
-
convertToResourceIdDescription
converts the resource id to resource description- Specified by:
convertToResourceIdDescription
in interfacePARActionDetailBean
- Parameters:
itemFlist
- FList- Returns:
- Vector
- Throws:
Exception
-