Package | Description |
---|---|
com.jalios.jcms |
Contains the core JCMS classes.
|
com.jalios.jcms.db | |
com.jalios.jcms.handler |
Contains the javabean classes uses to process HTTP request (aka form handlers).
|
com.jalios.jcms.mail | |
com.jalios.jcms.media |
Contains all the classes to provide the Media Browser.
|
com.jalios.jcms.search |
Provides internal search engines classes of JCMS.
|
Modifier and Type | Method and Description |
---|---|
QueryHandler |
QueryFilter.filterQueryHandler(QueryHandler qh,
java.util.Map context)
This method should be overriden to filter the value of the QueryHandler
|
QueryHandler |
NotificationCriteria.getQueryHandler() |
Modifier and Type | Method and Description |
---|---|
QueryHandler |
QueryFilter.filterQueryHandler(QueryHandler qh,
java.util.Map context)
This method should be overriden to filter the value of the QueryHandler
|
QueryResultSet |
QueryFilter.filterResultSet(QueryHandler qh,
QueryResultSet set,
java.util.Map context)
This method should be overriden to filter the result set
|
protected java.util.Date[] |
QueryManager.getBeginAndEndDates(QueryHandler qh)
Compute begin and end date of a query from QueryHandler values.
|
protected static int |
QueryManager.getDateType(QueryHandler qh)
Return an integer describing the type of search date from a QueryHandler.
|
protected java.util.HashSet<Category> |
QueryManager.getQueryAvoidCategorySet(QueryHandler qh)
Compute a
HashSet of Category to exclude
during query from the "cidsOff" value of the given QueryHandler. |
protected java.util.HashSet<java.lang.Class<? extends Publication>> |
QueryManager.getQueryAvoidClassSet(QueryHandler qh)
Compute a
HashSet of Class (type) to include
during query from the "typesOff" value of the given QueryHandler. |
protected java.util.HashSet<Group> |
QueryManager.getQueryAvoidGroupSet(QueryHandler qh)
Compute a
HashSet of Group to exclude
during query from the "gidsOff" value of the given QueryHandler. |
protected java.util.HashSet<Member> |
QueryManager.getQueryAvoidMemberSet(QueryHandler qh)
Compute a
HashSet of Member to exclude
during query from the "midsOff" value of the given QueryHandler. |
protected java.util.HashSet<Category> |
QueryManager.getQueryCategorySet(QueryHandler qh)
Compute a
HashSet of Category to include
during query from the "cids" value of the given QueryHandler. |
protected java.util.HashSet<java.lang.Class<? extends Publication>> |
QueryManager.getQueryClassSet(QueryHandler qh,
boolean addFileDoc)
Compute a
HashSet of Class (type) to include
during query from the "types" value of the given QueryHandler. |
protected java.util.HashSet<Group> |
QueryManager.getQueryGroupSet(QueryHandler qh)
Compute a
HashSet of Group to include
during query from the "gids" value of the given QueryHandler. |
protected java.util.HashSet<Member> |
QueryManager.getQueryMemberSet(QueryHandler qh)
Compute a
HashSet of Member to include
during query from the "mids" value of the given QueryHandler. |
protected java.util.HashSet<PortalElement> |
QueryManager.getQueryPortalElementSet(QueryHandler qh)
Compute a
HashSet of PortalElement including all
portal ands its children from the "portalIds" value of the given QueryHandler. |
static boolean |
QueryFilter.isBackOfficeSearch(QueryHandler qh)
Check if the specified QueryHandler is a back office search.
|
static boolean |
QueryFilter.isFrontOfficeSearch(QueryHandler qh)
Check if the specified QueryHandler is a front office search.
|
static boolean |
QueryFilter.isPortletQuery(QueryHandler qh)
Check if the specified QueryHandler is a portlet query.
|
static boolean |
QueryManager.matchLucenePublicationRefinement(QueryHandler qh,
Publication pub) |
protected QueryResultSet |
QueryManager.performJStoreQuery(QueryHandler qh,
javax.servlet.http.HttpServletRequest request,
java.util.Set<? extends Publication> proposedDataSet) |
QueryResultSet |
QueryManager.query(QueryHandler qh,
javax.servlet.ServletRequest request,
java.util.Set<? extends Publication> proposedDataSet)
Perform a query using parameters specified in the given
QueryHandler . |
QueryResultSet |
Channel.query(QueryHandler qh,
javax.servlet.ServletRequest request,
java.util.Set<? extends Publication> proposedDataSet)
Perform a query using parameters specified in the given
QueryHandler . |
protected void |
QueryManager.reduceDataSetWithCategories(QueryHandler qh,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using Categories options (cids/cidsOff) of the QueryHandler. |
protected QueryResultSet |
QueryManager.reduceDataSetWithHistoryRefinement(QueryHandler qh,
java.util.Set<? extends Publication> proposedDataSet,
javax.servlet.http.HttpServletRequest request,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using query History (hist) of the QueryHandler. |
protected void |
QueryManager.reduceDataSetWithMembers(QueryHandler qh,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using Members options (mids/midsOff) of the QueryHandler. |
protected void |
QueryManager.reduceDataSetWithPortalElements(QueryHandler qh,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using PortalElement options (mids/midsOff) of the QueryHandler. |
protected void |
QueryManager.reduceDataSetWithTextEngine(QueryHandler qh,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using Text Search options of the QueryHandler. |
protected boolean |
QueryManager.reduceDataSetWithTypes(QueryHandler qh,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using Types options (types/typesOff) of the QueryHandler. |
protected void |
QueryManager.replaceFileDocByReferrers(QueryHandler qh,
QueryResultSet resultSet,
DataSelector replacedFileDocSelector)
This method replace any FileDocuments inside the given
QueryResultSet by
their referrer (see getLinkIndexedDataSet(Publication.class)). |
protected boolean |
QueryManager.searchFulltext(QueryHandler qh,
java.util.HashSet<Publication> dataSet,
QueryResultSet resultSet)
Perform a full-text search.
|
Modifier and Type | Method and Description |
---|---|
QueryHandler |
PublicationCriteria.getQueryHandler() |
Modifier and Type | Method and Description |
---|---|
PublicationCriteria |
PublicationCriteria.setQueryHandler(QueryHandler qh) |
Constructor and Description |
---|
PublicationCriteria(java.lang.Class<? extends Publication> clazz,
QueryHandler qh) |
Modifier and Type | Field and Description |
---|---|
protected QueryHandler |
PubBrowserHandler.queryHandler |
Modifier and Type | Method and Description |
---|---|
QueryHandler |
PubBrowserHandler.getQueryHandler() |
Modifier and Type | Method and Description |
---|---|
protected static void |
QueryHandler.getMostRecentTextInHistoryVisitor(java.lang.String[] textAndMode,
QueryHandler qh)
Internal recursive method used to look for most recent text.
|
static java.lang.Class<? extends Publication> |
QueryHandler.getTypesCommonSuperClass(QueryHandler... queryHandlers)
Retrieve the common super class of types specified in the QueryHandler.
|
Constructor and Description |
---|
QueryHandler(QueryHandler original)
Create a QueryHandler by copying all fields of the specified
original QueryHandler, omitting all information linked
to the current request.
|
Modifier and Type | Method and Description |
---|---|
QueryResultSet |
MailThreadQueryFilter.filterResultSet(QueryHandler qh,
QueryResultSet set,
java.util.Map context) |
Modifier and Type | Field and Description |
---|---|
protected QueryHandler |
MediaBrowserHandler.queryHandler |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
MediaBrowserHandler.getMedia(QueryHandler qh)
Retrieve the media selected in the specified MediaBrowser's query.
|
static boolean |
MediaBrowserHandler.isMediaBrowserQuery(QueryHandler qh)
Check if the specified QueryHandler is a MediaBrowser's query.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
LucenePublicationSearchEngine.hasAdvancedLuceneQuery(QueryHandler qh)
Check if an advanced lucene query has been specified in the QueryHandler attribute of the specified QueryHandler.
|
java.util.LinkedHashMap<java.lang.String,java.lang.Float> |
PublicationSearchEngine.search(QueryHandler qh)
Return the list of publication's identifier with a lucene search.
|
java.util.LinkedHashMap<java.lang.String,java.lang.Float> |
LucenePublicationSearchEngine.search(QueryHandler qh) |
java.util.LinkedHashMap<java.lang.String,java.lang.Float> |
LuceneFileSearchEngine.search(QueryHandler qh) |
java.util.LinkedHashMap<java.lang.String,java.lang.Float> |
FileSearchEngine.search(QueryHandler qh)
Return the list of publication's identifier with a lucene search.
|
boolean |
LuceneFileSearchEngine.search(QueryHandler qh,
java.util.HashSet<? extends Publication> pubSet,
java.util.LinkedHashMap<java.lang.String,java.lang.Float> resultMap)
Perform a full-text search on indexed files
|
boolean |
PublicationSearchEngine.search(QueryHandler qh,
java.util.HashSet<? extends Publication> pubSet,
QueryResultSet resultSet)
Perform a full-text search.
|
boolean |
LucenePublicationSearchEngine.search(QueryHandler qh,
java.util.HashSet<? extends Publication> pubSet,
QueryResultSet resultSet)
Search
Publication using lucene search engine. |
boolean |
LuceneCategorySearchEngine.search(QueryHandler qh,
java.util.HashSet<? extends Publication> pubSet,
QueryResultSet resultSet) |
boolean |
CategorySearchEngine.search(QueryHandler qh,
java.util.HashSet<? extends Publication> pubSet,
QueryResultSet resultSet)
Perform a full-text search.
|
boolean |
LuceneFileSearchEngine.search(QueryHandler qh,
java.util.HashSet<? extends Publication> pubSet,
QueryResultSet resultSet,
boolean searchInDB)
Perform a full-text search on indexed files
|
boolean |
FileSearchEngine.search(QueryHandler qh,
java.util.HashSet<? extends Publication> pubSet,
QueryResultSet resultSet,
boolean searchInDB)
Perform a full-text search on indexed files
|
java.util.LinkedHashMap<java.lang.String,java.lang.Float> |
PublicationSearchEngine.search(QueryHandler qh,
java.util.List<java.lang.String> idList)
Filters the given list of publication's identifier with a lucene search.
|
java.util.LinkedHashMap<java.lang.String,java.lang.Float> |
LucenePublicationSearchEngine.search(QueryHandler qh,
java.util.List<java.lang.String> idList)
Filters the given list of publication's identifier with a lucene search.
|
java.util.LinkedHashMap<java.lang.String,java.lang.Float> |
LuceneFileSearchEngine.search(QueryHandler qh,
java.util.List<java.lang.String> idList) |
java.util.LinkedHashMap<java.lang.String,java.lang.Float> |
FileSearchEngine.search(QueryHandler qh,
java.util.List<java.lang.String> idList)
Filters the given list of publication's identifier with a lucene search.
|
java.util.Collection<Category> |
LuceneCategorySearchEngine.searchCategories(QueryHandler qh)
Find Category matching the specified QueryHandler search options (uses mainly the text search param)
|
Constructor and Description |
---|
SpellSuggestQueryParser(java.lang.String field,
org.apache.lucene.analysis.Analyzer analyzer,
SpellChecker spellChecker,
org.apache.lucene.index.IndexReader reader,
QueryHandler qh)
Construct a new SpellSuggestQueryParser using the given params.
|
Copyright © 2001-2010 Jalios SA. All Rights Reserved.