|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.searchApp.dataCollection.FilteredCollectionGateway
Collection Gateway that enables an IResultSetFilter to be inserted.
<CollectionGateway class="com.raritantechnologies.searchApp.dataCollection.FilteredCollectionGateway" >
<!-- The "real" collection gateway -->
<CollectionGateway class="[ class of com.raritantechnologies.searchApp.dataCollection.ICollectionGateway ]" >
</CollectionGateway>
<ResultSetFilter class="[ class of com.raritantechnologies.searchApp.IResultSetFilter ]" >
</ResultSetFilter>
</CollectionGateway>
| Constructor Summary | |
FilteredCollectionGateway()
|
|
| Method Summary | |
void |
dataComplete(java.lang.Object gateway)
Message sent by ICollectionGateway after the last IResultSet has been submitted for processing. |
void |
gatewayFailed(java.lang.String message)
|
java.lang.String |
getConfigurationXML()
|
void |
initialize(org.w3c.dom.Element gatewayElem,
ISearchFieldMap sfMap)
Initialize the ICollectionGateway from a Configuration XML element. |
boolean |
isPaused()
|
void |
pause()
|
void |
processData(IResultSet dataSet)
Command to process a set of results generated by an ICollectionGateway implementation. |
void |
resume()
|
void |
run()
|
void |
run(ILoginInfo userInfo)
Need to have loginInfo for sources which require login/pw access. |
void |
setGatewayListener(IGatewayListener listener)
Sets the IGatewayListener interface. |
void |
setInputParameters(OrderedMap inputParams)
set input parameters... |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FilteredCollectionGateway()
| Method Detail |
public void run()
run in interface ICollectionGatewaypublic void pause()
pause in interface ICollectionGatewaypublic void resume()
resume in interface ICollectionGatewaypublic boolean isPaused()
isPaused in interface ICollectionGatewaypublic void run(ILoginInfo userInfo)
ICollectionGateway
run in interface ICollectionGatewaypublic void setInputParameters(OrderedMap inputParams)
ICollectionGateway
setInputParameters in interface ICollectionGatewaypublic void setGatewayListener(IGatewayListener listener)
setGatewayListener in interface ICollectionGateway
public void initialize(org.w3c.dom.Element gatewayElem,
ISearchFieldMap sfMap)
initialize in interface ICollectionGatewaypublic java.lang.String getConfigurationXML()
getConfigurationXML in interface ICollectionGatewaypublic void processData(IResultSet dataSet)
IGatewayListener
processData in interface IGatewayListenerpublic void dataComplete(java.lang.Object gateway)
IGatewayListener
dataComplete in interface IGatewayListenerpublic void gatewayFailed(java.lang.String message)
gatewayFailed in interface IGatewayListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||