|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.search.SearchContext
org.alfresco.web.bean.wcm.AVMBrowseBean.FormSearchContext
public class AVMBrowseBean.FormSearchContext
Wrap SearchContext to allow prebuilt canned Form query to be apply as search context
Field Summary |
---|
Fields inherited from class org.alfresco.web.bean.search.SearchContext |
---|
SEARCH_ALL, SEARCH_FILE_NAMES, SEARCH_FILE_NAMES_CONTENTS, SEARCH_SPACE_NAMES, simpleSearchAdditionalAttrs |
Constructor Summary | |
---|---|
AVMBrowseBean.FormSearchContext()
|
Method Summary | |
---|---|
java.lang.String |
buildQuery(int minimum)
Build the search query string based on the current search context members. |
java.lang.String |
getText()
|
void |
setCannedQuery(java.lang.String q,
java.lang.String formName)
|
Methods inherited from class org.alfresco.web.bean.search.SearchContext |
---|
addAttributeQuery, addFixedValueQuery, addRangeQuery, addSimpleAttributeQuery, fromXML, getAttributeQuery, getCategories, getContentType, getFixedValueQuery, getFolderType, getForceAndTerms, getLocation, getMimeType, getMode, getPathFromSpaceRef, getRangeProperty, setCategories, setContentType, setFolderType, setForceAndTerms, setLocation, setMimeType, setMode, setSimpleSearchAdditionalAttributes, setText, toXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AVMBrowseBean.FormSearchContext()
Method Detail |
---|
public void setCannedQuery(java.lang.String q, java.lang.String formName)
public java.lang.String buildQuery(int minimum)
SearchContext
buildQuery
in class SearchContext
minimum
- small possible textual string used for a match
this does not effect fixed values searches (e.g. boolean, int values) or date ranges
public java.lang.String getText()
getText
in class SearchContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |