|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface representing a search result configuration.
Field Summary |
---|
Fields inherited from interface com.ibm.etools.systems.subsystems.IRemoteSearchConstants |
---|
CANCELLED, DISCONNECTED, FINISHED, RUNNING |
Method Summary | |
---|---|
void |
addResult(Object result)
Adds a search result. |
void |
cancel()
Cancels the search if it is running. |
void |
dispose()
Cancels the search and then removes the search results. |
IRemoteSearchResultSet |
getParentResultSet()
Gets the parent result set. |
Object[] |
getResults()
Gets search results. |
int |
getResultsSize()
Gets the size of the results. |
SystemSearchString |
getSearchString()
Gets the search string. |
Object |
getSearchTarget()
Gets the object to be searched. |
int |
getStatus()
Gets the status of the search. |
void |
removeAndAddResult(Object oldResult,
Object newResult)
Removes the old result and adds a new result. |
void |
removeResult(Object result)
Removes a search result. |
void |
removeResults()
Removes all search results. |
void |
setParentResultSet(IRemoteSearchResultSet resultSet)
Sets the parent result set. |
void |
setSearchString(SystemSearchString string)
Sets the search string. |
void |
setSearchTarget(Object searchObject)
Sets the object to be searched. |
void |
setStatus(int status)
Sets the status of the search. |
Method Detail |
public void setParentResultSet(IRemoteSearchResultSet resultSet)
resultSet
- the parent result set.public IRemoteSearchResultSet getParentResultSet()
public void setSearchTarget(Object searchObject)
searchObject
- the object to be searched.public Object getSearchTarget()
public void setSearchString(SystemSearchString string)
string
- the search string.public SystemSearchString getSearchString()
public void addResult(Object result)
result
- a search result.public void removeResult(Object result)
result
- a search result.public void removeAndAddResult(Object oldResult, Object newResult)
oldResult
- the old result.newResult
- the new result.public Object[] getResults()
public int getResultsSize()
public void removeResults()
public void setStatus(int status)
RUNNING
, FINISHED
,
CANCELLED
, or DISCONNECTED
.
public int getStatus()
RUNNING
, FINISHED
,
CANCELLED
, or DISCONNECTED
.
public void cancel()
public void dispose()
super
first.
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |