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 cachevoidclear(EventBrowserData ebData) Clears the current search results in the controllervoidclearMarkedData(EventBrowserData ebData) Clears the marked results in the controllervoidcloseContext(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.voidInitializes the second connection for search purposes.voidinitSearchResults(EventBrowserData ebData) Initialize search results displayremoveMarkedData(EventBrowserData ebData) Remove marked data from the cachevoidresults(SearchEvent evt) Processes the search results.voidsetACLGroupPoid(String acl, String group) Set ACL and create the connectionvoidsetDisplayedResultsList(ArrayList resList) Methods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, updateMethods 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, unreferencedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getRemoteListenerHandlein interfacePControllerBean- Overrides:
getRemoteListenerHandlein 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:
resultsin interfaceResultsListener- Parameters:
evt- the search event
-
getEventBrowserDetails
- Throws:
RemoteException
-
getEventDetails
Description copied from interface:PResultsTableBeanGet the event details for a particular event- Specified by:
getEventDetailsin interfacePResultsTableBean- Throws:
RemoteException
-
getEventDetails
public EventBrowserData getEventDetails(EventBrowserData data, ArrayList modelRow) throws RemoteException Description copied from interface:PResultsTableBeanGet the event details for a particular event- Specified by:
getEventDetailsin interfacePResultsTableBean- Throws:
RemoteException
-
addMarkedData
Description copied from interface:PResultsTableBeanAdds a currently entered marked data to the marked data cache- Specified by:
addMarkedDatain interfacePResultsTableBean- Throws:
RemoteException
-
removeMarkedData
Description copied from interface:PResultsTableBeanRemove marked data from the cache- Specified by:
removeMarkedDatain interfacePResultsTableBean
-
getHistoryItems
Description copied from interface:PResultsTableBeanGet detail for a browse window- Specified by:
getHistoryItemsin interfacePResultsTableBean- Throws:
RemoteException
-
clear
Description copied from interface:PResultsTableBeanClears the current search results in the controller- Specified by:
clearin interfacePResultsTableBean- Throws:
RemoteException
-
clearMarkedData
Description copied from interface:PResultsTableBeanClears the marked results in the controller- Specified by:
clearMarkedDatain interfacePResultsTableBean- Throws:
RemoteException
-
initSearchResults
Description copied from interface:PResultsTableBeanInitialize search results display- Specified by:
initSearchResultsin interfacePResultsTableBean- Throws:
RemoteException
-
getResultsList
- Specified by:
getResultsListin interfacePResultsTableBean- Throws:
RemoteException
-
setDisplayedResultsList
- Specified by:
setDisplayedResultsListin interfacePResultsTableBean
-
getDisplayedResultsList
- Specified by:
getDisplayedResultsListin 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:
closeContextin interfacePResultsTableBean- Throws:
RemoteException
-
initializeSecConnection
Initializes the second connection for search purposes.- Specified by:
initializeSecConnectionin interfacePResultsTableBean- Throws:
RemoteException
-
setACLGroupPoid
Set ACL and create the connection- Specified by:
setACLGroupPoidin interfacePResultsTableBean
-