|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.beans.Search
The Search class provides a way to execute a Search. A Search is specified by a SearchSpecification. To execute a Search use the open, next & close functions.
SearchSpecification
,
AttributeSearchSpecification
,
ContextSearchSpecification
Constructor Summary | |
|
Search(LibrarySession sess,
SearchSpecification sp)
Constructs a Search object. |
Method Summary | |
SearchSpecification |
getSearchSpecification()
Returns the SearchSpecification of this Search. |
void |
open()
Opens the Search. |
void |
open(AttributeValue[] bindValues)
Opens the search. |
void |
open(AttributeValue[] bindValues,
java.lang.String language)
Opens the search. |
void |
open(java.lang.String language)
Opens the serach. |
void |
setSearchSpecification(SearchSpecification sp)
Change the SearchSpecification. |
Constructor Detail |
public Search(LibrarySession sess, SearchSpecification sp) throws IfsException
sess
- LibrarySession in which Search will execute.sp
- SearchSpecification defining Search. The SearchSpecification is cloned,
any changes in SearchSpecification after constructing a Search will not
be picked up.IfsException
- 21000 if sess is not validIfsException
- 19001 if sp is not validMethod Detail |
public void setSearchSpecification(SearchSpecification sp) throws IfsException
sp
- SearchSpecification defining Search. The SearchSpecification is cloned,
any changes in SearchSpecification after constructing a Search will not
be picked up.IfsException
- 19001 if sp is not validpublic SearchSpecification getSearchSpecification() throws IfsException
IfsException
- in case of saved searches, if retrival from server-side fails.public void open() throws IfsException
IfsException
- if open fails.open(AttributeValue[], String)
public void open(java.lang.String language) throws IfsException
langauge
- language to be used for searchIfsException
- if open failspublic void open(AttributeValue[] bindValues) throws IfsException
bindValues
- array of late bound valuespublic void open(AttributeValue[] bindValues, java.lang.String language) throws IfsException
bindValues
- array of late bound valueslanguage
- language to be used for the search
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |