Uses of Class
com.jalios.jcms.handler.QueryHandler
-
Packages that use QueryHandler Package Description com.jalios.jcms Contains the core JPlatform classes.com.jalios.jcms.db com.jalios.jcms.handler Contains the javabean classes uses to process HTTP request (aka form handlers).com.jalios.jcms.handler.pubchooser com.jalios.jcms.mail com.jalios.jcms.media Contains all the classes to provide the Media Browser.com.jalios.jcms.profiling com.jalios.jcms.search Provides internal search engines classes of JPlatform.com.jalios.jcms.search.queryparser com.jalios.jcms.taglib Provides many of the classes used for JPlatform jsp tags.com.jalios.jcms.trash com.jalios.jcms.webpage -
-
Uses of QueryHandler in com.jalios.jcms
Methods in com.jalios.jcms that return QueryHandler Modifier and Type Method Description QueryHandler
QueryFilter. filterQueryHandler(QueryHandler qh, java.util.Map context)
This method should be overriden to filter the value of the QueryHandlerQueryHandler
NotificationCriteria. getQueryHandler()
Methods in com.jalios.jcms with parameters of type QueryHandler Modifier and Type Method Description QueryHandler
QueryFilter. filterQueryHandler(QueryHandler qh, java.util.Map context)
This method should be overriden to filter the value of the QueryHandlerQueryResultSet
QueryFilter. filterResultSet(QueryHandler qh, QueryResultSet set, java.util.Map context)
This method should be overriden to filter the result setprotected 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 aHashSet
ofCategory
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 aHashSet
ofClass
(type) to include during query from the "typesOff" value of the given QueryHandler.protected java.util.HashSet<Group>
QueryManager. getQueryAvoidGroupSet(QueryHandler qh)
Compute aHashSet
ofGroup
to exclude during query from the "gidsOff" value of the given QueryHandler.protected java.util.HashSet<Member>
QueryManager. getQueryAvoidMemberSet(QueryHandler qh)
Compute aHashSet
ofMember
to exclude during query from the "midsOff" value of the given QueryHandler.protected java.util.HashSet<Category>
QueryManager. getQueryCategorySet(QueryHandler qh)
Compute aHashSet
ofCategory
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 aHashSet
ofClass
(type) to include during query from the "types" value of the given QueryHandler.protected java.util.HashSet<Group>
QueryManager. getQueryGroupSet(QueryHandler qh)
Compute aHashSet
ofGroup
to include during query from the "gids" value of the given QueryHandler.protected java.util.HashSet<Member>
QueryManager. getQueryMemberSet(QueryHandler qh)
Compute aHashSet
ofMember
to include during query from the "mids" value of the given QueryHandler.protected java.util.HashSet<PortalElement>
QueryManager. getQueryPortalElementSet(QueryHandler qh)
Compute aHashSet
ofPortalElement
including all portal ands its children from the "portalIds" value of the given QueryHandler.java.util.SortedSet<? extends Publication>
QueryManager. getRelatedPublicationSet(Publication pub, QueryHandler qh)
Returns a set of publications related to the given publication and the given query handler.java.util.SortedSet<? extends Publication>
QueryManager. getRelatedPublicationSet(java.util.Set<Category> catSet, QueryHandler qh, java.util.Comparator<? extends Publication> superComparator)
Returns a set of publications related to the given category set and the given query handler.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
Channel. query(QueryHandler qh, javax.servlet.ServletRequest request, java.util.Set<? extends Publication> proposedDataSet)
Perform a query using parameters specified in the givenQueryHandler
.QueryResultSet
QueryManager. query(QueryHandler qh, javax.servlet.ServletRequest request, java.util.Set<? extends Publication> proposedDataSet)
Perform a query using parameters specified in the givenQueryHandler
.protected void
QueryManager. reduceDataSetWithCategories(QueryHandler qh, java.util.HashSet<Publication> dataToKeepSet, java.util.HashSet<Publication> dataToExcludeSet, boolean[] indexUsed)
Fill the givenHashSet
withData
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 givenHashSet
withData
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 givenHashSet
withData
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 givenHashSet
withData
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 givenHashSet
withData
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 givenHashSet
withData
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 givenQueryResultSet
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. -
Uses of QueryHandler in com.jalios.jcms.db
Methods in com.jalios.jcms.db that return QueryHandler Modifier and Type Method Description QueryHandler
PublicationCriteria. getQueryHandler()
Methods in com.jalios.jcms.db with parameters of type QueryHandler Modifier and Type Method Description PublicationCriteria
PublicationCriteria. setQueryHandler(QueryHandler qh)
Constructors in com.jalios.jcms.db with parameters of type QueryHandler Constructor Description PublicationCriteria(java.lang.Class<? extends Publication> clazz, QueryHandler qh)
-
Uses of QueryHandler in com.jalios.jcms.handler
Fields in com.jalios.jcms.handler declared as QueryHandler Modifier and Type Field Description protected QueryHandler
PubBrowserHandler. queryHandler
Methods in com.jalios.jcms.handler that return QueryHandler Modifier and Type Method Description QueryHandler
PubBrowserHandler. getQueryHandler()
Methods in com.jalios.jcms.handler with parameters of type QueryHandler Modifier and Type Method 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.Constructors in com.jalios.jcms.handler with parameters of type QueryHandler Constructor Description QueryHandler(QueryHandler original)
Create a QueryHandler by copying all fields of the specified original QueryHandler, omitting all information linked to the current request. -
Uses of QueryHandler in com.jalios.jcms.handler.pubchooser
Subclasses of QueryHandler in com.jalios.jcms.handler.pubchooser Modifier and Type Class Description class
PubChooserHandler
-
Uses of QueryHandler in com.jalios.jcms.mail
Methods in com.jalios.jcms.mail with parameters of type QueryHandler Modifier and Type Method Description QueryResultSet
MailThreadQueryFilter. filterResultSet(QueryHandler qh, QueryResultSet set, java.util.Map context)
-
Uses of QueryHandler in com.jalios.jcms.media
Fields in com.jalios.jcms.media declared as QueryHandler Modifier and Type Field Description protected QueryHandler
MediaBrowserHandler. queryHandler
Methods in com.jalios.jcms.media with parameters of type QueryHandler Modifier and Type Method 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. -
Uses of QueryHandler in com.jalios.jcms.profiling
Methods in com.jalios.jcms.profiling that return QueryHandler Modifier and Type Method Description QueryHandler
ContentQueryFilter. filterQueryHandler(QueryHandler qh, java.util.Map context)
Methods in com.jalios.jcms.profiling with parameters of type QueryHandler Modifier and Type Method Description void
ProfilingManager. addFirstStepProfileFilter(QueryHandler qh, java.util.Map context)
This method is aimed to apply a first filter on Content instances to display.QueryHandler
ContentQueryFilter. filterQueryHandler(QueryHandler qh, java.util.Map context)
QueryResultSet
ContentQueryFilter. filterResultSet(QueryHandler qh, QueryResultSet set, java.util.Map context)
-
Uses of QueryHandler in com.jalios.jcms.search
Subclasses of QueryHandler in com.jalios.jcms.search Modifier and Type Class Description class
QueryAppHandler
Methods in com.jalios.jcms.search with parameters of type QueryHandler Modifier and Type Method Description float
LuceneCategorySearchEngineScoring. getPublicationNewScore(QueryHandler qh, QueryResultSet resultSet, Category cat, float catScore, float maxCatScore, Publication pub, float pubScore, float maxPubScore, boolean isNewResult)
This method is called by the LuceneCategorySearchEngine when searching full text in category, it is used to compute the new score of the Publication (previously found or not by the LucenePublicationSearchEngine).boolean
CategorySearchEngine. search(QueryHandler qh, java.util.HashSet<? extends Publication> pubSet, QueryResultSet resultSet)
Perform a full-text search.boolean
LuceneCategorySearchEngine. search(QueryHandler qh, java.util.HashSet<? extends Publication> pubSet, QueryResultSet resultSet)
java.util.LinkedHashMap<java.lang.String,java.lang.Float>
LucenePublicationSearchEngine. search(QueryHandler qh)
Search for JcmsDBPublication
using lucene search engine.boolean
LucenePublicationSearchEngine. search(QueryHandler qh, java.util.HashSet<? extends Publication> pubSet, QueryResultSet resultSet)
Search for JStorePublication
using lucene search engine.java.util.LinkedHashMap<java.lang.String,java.lang.Float>
PublicationSearchEngine. search(QueryHandler qh)
Return the list of publication's identifier with a lucene search.boolean
PublicationSearchEngine. search(QueryHandler qh, java.util.HashSet<? extends Publication> pubSet, QueryResultSet resultSet)
Perform a full-text search.java.util.Collection<Category>
LuceneCategorySearchEngine. searchCategories(QueryHandler qh)
Find Category matching the specified QueryHandler search options (uses mainly the text search param) -
Uses of QueryHandler in com.jalios.jcms.search.queryparser
Constructors in com.jalios.jcms.search.queryparser with parameters of type QueryHandler Constructor Description ParseOptions(java.lang.String[] fields, QueryHandler qh, ParseOptions.Engine engine)
Build a new ParseOptions from the specified QueryHandler -
Uses of QueryHandler in com.jalios.jcms.taglib
Methods in com.jalios.jcms.taglib with parameters of type QueryHandler Modifier and Type Method Description protected java.util.Set<Category>
EditTag. computeCategoryAndTypeSet(QueryHandler qh)
-
Uses of QueryHandler in com.jalios.jcms.trash
Subclasses of QueryHandler in com.jalios.jcms.trash Modifier and Type Class Description class
TrashAppHandler
Handler used to access Trash application.Fields in com.jalios.jcms.trash declared as QueryHandler Modifier and Type Field Description protected QueryHandler
TrashAppHandler. secondQuery
-
Uses of QueryHandler in com.jalios.jcms.webpage
Subclasses of QueryHandler in com.jalios.jcms.webpage Modifier and Type Class Description class
WebPageQueryHandler
-