Package com.portal.bas.comp
Class PIAListBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.PFieldControllerBean
com.portal.bas.comp.PIAFieldBean
com.portal.bas.comp.PIAListBeanImpl
- All Implemented Interfaces:
PIAListBean
,PControllerBean
,PFieldBean
,PLightComponent
,PropertyChangeListener
,Serializable
,Remote
,Unreferenced
,EventListener
Controller class for the List component
- Version:
- %version: 2 % %date_modified: Wed Oct 17 13:37:09 2001 %
- 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 TypeMethodDescriptionReturns the list of data that needs to be loaded into the PIAList component.getSelectionDataFor
(String dataItem, int index) Given the name of a display data item and an optional index, returns the information needed for a selection event.void
Updates the field according to thedisplayFieldDescription
property, if present.Methods inherited from class com.portal.bas.comp.PIAFieldBean
getDataDescriptor, getLightData, getRemoteListenerHandle, propertyChange, setLightData
Methods inherited from class com.portal.bas.PFieldControllerBean
getAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondary
Methods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferenced
-
Constructor Details
-
PIAListBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
getListData
Returns the list of data that needs to be loaded into the PIAList component.- Specified by:
getListData
in interfacePIAListBean
- Returns:
- the list data
- Throws:
RemoteException
-
update
Description copied from class:PIAFieldBean
Updates the field according to thedisplayFieldDescription
property, if present.- Overrides:
update
in classPIAFieldBean
- Parameters:
reason
- the reason for the updatedata
- the updated object- Throws:
RemoteException
- thrown for all errors
-
getSelectionDataFor
Description copied from class:PIAFieldBean
Given the name of a display data item and an optional index, returns the information needed for a selection event. The information returned is usually model data.- Specified by:
getSelectionDataFor
in interfacePControllerBean
- Overrides:
getSelectionDataFor
in classPIAFieldBean
- Parameters:
dataItem
- the name of a data item. Must match the name of an item changed by sending aPViewDataChangeEvent
.index
- an optional index into an array data item- Returns:
- The model handle for the selected field or null.
- Throws:
RemoteException
- thrown for errors
-