|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.common.data.SearchQuery
public class SearchQuery
Returns a list of objects from the server. Version 7.1 includes only asset search queries.
| Field Summary | |
|---|---|
static int |
SEARCH_WITHIN_ARTIFACTS_FLAG
The Search Within Artifacts Bit mask |
static int |
SEARCH_WITHIN_FORUMS_FLAG
The search within forums bit mask |
static int |
SYNCHRONIZED_SEARCH_FLAG
Flag to indicate that this should be a synchronized search. |
| Constructor Summary | |
|---|---|
SearchQuery()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
escapeLuceneCharacters(java.lang.String s)
Escapes all special Lucene characters so that they can be used in queries |
int |
getMaxResults()
Limits the number of results returned by the this query. |
java.lang.String |
getQueryString()
|
int |
getResultsStartIndex()
This method is used for paging result sets. |
int |
getSearchModes()
|
java.lang.String |
getSortByField()
|
boolean |
isSortAscending()
|
boolean |
isThisSearchRecorded()
|
void |
setMaxResults(int maxResults)
Limits the number of results returned by the this query. |
void |
setQueryString(java.lang.String queryString)
|
void |
setResultsStartIndex(int resultsStartIndex)
This method is used for paging result sets. |
void |
setSearchModes(int searchModes)
|
void |
setSortAscending(boolean sortAscending)
|
void |
setSortByField(java.lang.String sortByField)
|
void |
setThisSearchRecorded(boolean thisSearchRecorded)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SEARCH_WITHIN_ARTIFACTS_FLAG
public static final int SEARCH_WITHIN_FORUMS_FLAG
public static final int SYNCHRONIZED_SEARCH_FLAG
| Constructor Detail |
|---|
public SearchQuery()
| Method Detail |
|---|
public static java.lang.String escapeLuceneCharacters(java.lang.String s)
s -
public int getMaxResults()
public void setMaxResults(int maxResults)
maxResults - The maxResults to set.public java.lang.String getQueryString()
public void setQueryString(java.lang.String queryString)
queryString - The queryString to set.public int getSearchModes()
public void setSearchModes(int searchModes)
searchModes - The searchModes to set.public java.lang.String getSortByField()
public void setSortByField(java.lang.String sortByField)
sortByField - The sortByField to set.public boolean isSortAscending()
public void setSortAscending(boolean sortAscending)
sortAscending - The sortAscending to set.public boolean isThisSearchRecorded()
public void setThisSearchRecorded(boolean thisSearchRecorded)
thisSearchRecorded - The thisSearchRecorded to set.public int getResultsStartIndex()
public void setResultsStartIndex(int resultsStartIndex)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||