|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.data.csp.CSPSearchQuery
public class CSPSearchQuery
It is a Search query that keeps a list of node ids on which the search is going to be executed
as well as list of CSPSearchQueryTerm
objects which are the search criteria.
Field Summary | |
---|---|
static String |
DATE_FORMAT
|
static String |
GREATER_THAN
|
static String |
LAST_MODIFIED_ON_INDEX_ID
|
static String |
LOWER_THAN
|
Constructor Summary | |
---|---|
CSPSearchQuery()
|
Method Summary | |
---|---|
CSPSearchQueryTerm |
addQueryTerm(String indexId,
String operator,
String value)
|
void |
createDateSearchTerms(List terms)
Creates CSPSearchQueryTerms based on last modified on index and are used to search by date. |
void |
deleteDateSearchTerms()
Delete last modified search terms from the list of CSPContentSearchTerms. |
CSPSearchQueryTerm |
findQueryTerm(String indexId)
|
String |
getDateAsString(Date date)
|
DateRange |
getDateRange()
Date range of the documents to search for |
List |
getNodeIds()
|
Date |
getStringAsDate(String str)
|
List |
getTerms()
|
boolean |
isAutoDiscover()
Return true if auto discovery of terms is enabled. |
void |
removeQueryTerm(CSPSearchQueryTerm term)
|
void |
setAutoDiscover(boolean autoDiscover)
Enable discovering terms based on properties on *this* class subclasses |
void |
setDateRange(DateRange dateRange)
|
void |
setNodeIds(List nodeIds)
Sets the Node Id (the content type) - identifies what documents are to be listed/stored/updated. |
void |
setTerms(List terms)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String LAST_MODIFIED_ON_INDEX_ID
public static final String GREATER_THAN
public static final String LOWER_THAN
public static final String DATE_FORMAT
Constructor Detail |
---|
public CSPSearchQuery()
Method Detail |
---|
public boolean isAutoDiscover()
public void setAutoDiscover(boolean autoDiscover)
autoDiscover
- true to enabled auto discoverypublic DateRange getDateRange()
public void setDateRange(DateRange dateRange)
public void setTerms(List terms)
public List getTerms() throws Exception
Exception
public CSPSearchQueryTerm addQueryTerm(String indexId, String operator, String value)
public void createDateSearchTerms(List terms)
terms
- public void deleteDateSearchTerms()
public String getDateAsString(Date date)
public Date getStringAsDate(String str)
public void removeQueryTerm(CSPSearchQueryTerm term)
public CSPSearchQueryTerm findQueryTerm(String indexId)
public void setNodeIds(List nodeIds)
nodeId
- Identifies the content typepublic List getNodeIds()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |