Package com.portal.browse
Class PResultsTableBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.browse.PResultsTableBeanImpl
- All Implemented Interfaces:
PIACollectionBean
,PControllerBean
,PResultsTableBean
,ResultsListener
,Serializable
,Remote
,Unreferenced
,EventListener
public class PResultsTableBeanImpl
extends PIAComponentCollectionBean
implements ResultsListener, PResultsTableBean
Controller class for the ResultsTablePanel
- Version:
- %version: 24 % %date_modified: Tue Jan 22 11:29:50 2002 %
- Author:
- mgaines
- See Also:
-
Nested Class Summary
Nested Classes -
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 TypeMethodDescriptionaddMarkedData
(EventBrowserData ebData) Adds a currently entered marked data to the marked data cachevoid
clear
(EventBrowserData ebData) Clears the current search results in the controllervoid
clearMarkedData
(EventBrowserData ebData) Clears the marked results in the controllervoid
closeContext
(EventBrowserData ebData) Close the secondary connection created for the purpose of searching.getEventDetails
(EventBrowserData ebData) Get the event details for a particular eventgetEventDetails
(EventBrowserData data, ArrayList modelRow) Get the event details for a particular eventgetHistoryItems
(EventBrowserData ebData) Get detail for a browse windowReturns a handle to the remote listener of the given type.void
Initializes the second connection for search purposes.void
initSearchResults
(EventBrowserData ebData) Initialize search results displayremoveMarkedData
(EventBrowserData ebData) Remove marked data from the cachevoid
results
(SearchEvent evt) Processes the search results.void
setACLGroupPoid
(String acl, String group) Set ACL and create the connectionvoid
setDisplayedResultsList
(ArrayList resList) 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, 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, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PResultsTableBeanImpl
Creates an instance of this controller class.- Throws:
RemoteException
-
-
Method Details
-
getRemoteListenerHandle
Returns a handle to the remote listener of the given type. If there isn't one, null is returned.- Specified by:
getRemoteListenerHandle
in interfacePControllerBean
- Overrides:
getRemoteListenerHandle
in classPControllerImpl
- Parameters:
type
- the listener type- Returns:
- a handle to the remote listener
- Throws:
RemoteException
- thrown for errors
-
results
Processes the search results. A ViewDataChange event will be sent to the panel with the result information which can be used to update the display.- Specified by:
results
in interfaceResultsListener
- Parameters:
evt
- the search event
-
getEventBrowserDetails
- Throws:
RemoteException
-
getEventDetails
Description copied from interface:PResultsTableBean
Get the event details for a particular event- Specified by:
getEventDetails
in interfacePResultsTableBean
- Throws:
RemoteException
-
getEventDetails
public EventBrowserData getEventDetails(EventBrowserData data, ArrayList modelRow) throws RemoteException Description copied from interface:PResultsTableBean
Get the event details for a particular event- Specified by:
getEventDetails
in interfacePResultsTableBean
- Throws:
RemoteException
-
addMarkedData
Description copied from interface:PResultsTableBean
Adds a currently entered marked data to the marked data cache- Specified by:
addMarkedData
in interfacePResultsTableBean
- Throws:
RemoteException
-
removeMarkedData
Description copied from interface:PResultsTableBean
Remove marked data from the cache- Specified by:
removeMarkedData
in interfacePResultsTableBean
-
getHistoryItems
Description copied from interface:PResultsTableBean
Get detail for a browse window- Specified by:
getHistoryItems
in interfacePResultsTableBean
- Throws:
RemoteException
-
clear
Description copied from interface:PResultsTableBean
Clears the current search results in the controller- Specified by:
clear
in interfacePResultsTableBean
- Throws:
RemoteException
-
clearMarkedData
Description copied from interface:PResultsTableBean
Clears the marked results in the controller- Specified by:
clearMarkedData
in interfacePResultsTableBean
- Throws:
RemoteException
-
initSearchResults
Description copied from interface:PResultsTableBean
Initialize search results display- Specified by:
initSearchResults
in interfacePResultsTableBean
- Throws:
RemoteException
-
getResultsList
- Specified by:
getResultsList
in interfacePResultsTableBean
- Throws:
RemoteException
-
setDisplayedResultsList
- Specified by:
setDisplayedResultsList
in interfacePResultsTableBean
-
getDisplayedResultsList
- Specified by:
getDisplayedResultsList
in interfacePResultsTableBean
-
closeContext
Close the secondary connection created for the purpose of searching. Note that with the current implementation this method should be called only when the client is about to exit. Once the connection is closed, search operations will fail and the connection cannot be reopened.- Specified by:
closeContext
in interfacePResultsTableBean
- Throws:
RemoteException
-
initializeSecConnection
Initializes the second connection for search purposes.- Specified by:
initializeSecConnection
in interfacePResultsTableBean
- Throws:
RemoteException
-
setACLGroupPoid
Set ACL and create the connection- Specified by:
setACLGroupPoid
in interfacePResultsTableBean
-