Package com.portal.bas.comp
Class PIAGroupTreeController
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.PComponentControllerImpl
com.portal.bas.PFieldController
com.portal.bas.comp.PIAGroupTreeController
- All Implemented Interfaces:
PComponentController
,PControllerBean
,Serializable
,Remote
,Unreferenced
PIAGroupTreeController
is the controller class for
the PIAGroupTree
component.- Version:
- 2
- Author:
- Larry Lynch-Freshner
- See Also:
-
Field Summary
FieldsFields 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 TypeMethodDescriptionactionPerformed
(ActionEvent event) Handles an action performed in the GUI.protected void
buildTree
(PInfranetConnectionImpl conn, Hashtable h, PDataFieldSpecification spec, FList fl, PModelHandle han) 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 thedisplayFieldSpecification
property, if present.Methods inherited from class com.portal.bas.PFieldController
getDisplaySpec, getFieldDescription, getFieldSpec, setProperty
Methods inherited from class com.portal.bas.PComponentControllerImpl
fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, fireDataChangeEvent, getConnection, getProperty, getView, setDisplayComponent, 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
-
Field Details
-
mLazy
protected boolean mLazy
-
-
Constructor Details
-
PIAGroupTreeController
- Throws:
RemoteException
-
-
Method Details
-
update
Updates the field according to thedisplayFieldSpecification
property, if present.- Specified by:
update
in classPControllerImpl
- Parameters:
reason
- the reason for the updatedata
- the updated object- Throws:
RemoteException
- thrown for all errors
-
buildTree
protected void buildTree(PInfranetConnectionImpl conn, Hashtable h, PDataFieldSpecification spec, FList fl, PModelHandle han) throws RemoteException - Throws:
RemoteException
-
actionPerformed
Handles an action performed in the GUI.- Specified by:
actionPerformed
in interfacePComponentController
- Overrides:
actionPerformed
in classPFieldController
- Parameters:
event
- the action that occurred- Returns:
- An object may be returned as a result of action processing.
- Throws:
RemoteException
- thrown for errors
-
getSelectionDataFor
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.In this implementation, the method always returns null.
- 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:
- In this implementation, the method always returns null.
- Throws:
RemoteException
- thrown for errors
-