public class CountNoteQuery extends AbstractNoteQuery<CountListItem>
ALIAS_USER, ALIAS_USER_NOTE_ENTITYALIAS_TAGS, FILTER_STATUS_ALL| Constructor and Description |
|---|
CountNoteQuery() |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
getConstructorParameters()
The parameters of the list item constructor
|
protected String[] |
getConstructorParametersForRootNotes() |
Class<CountListItem> |
getResultListItem()
The list item type
|
protected boolean |
needDistinct(NoteQueryParameters queryInstance) |
PageableList<?> |
postQueryExecution(NoteQueryParameters queryInstance,
PageableList result)
This function is called after executing the query for further augmentations.
|
protected void |
renderOrderbyClause(StringBuilder mainQuery,
NoteQueryParameters queryInstance)
This method does nothing, as we don't need any ordering.
|
buildQuery, createInstance, getDateFilterField, getRootNoteAlias, getRootNoteAliasPrefix, needUserInQuery, renderSelectClause, setupQueriesgetFullTextSearchFields, getNoteAlias, getSelectClause, getUserAlias, includeUsersWithoutTags, needResourceInQuery, needTagInQuery, queryReturnsTags, renderLogicalTagConstraints, renderTagConstraints, renderTagPrefixConstraint, subQueryFindNoteWithTagsbuildSelectQuery, getUserSearchFields, matchOnlyIfUserQuery, renderCommonFilters, renderExcludeStatusFilter, renderGroupByClause, renderIncludeStatusFilter, renderRoleFilter, renderSubQueryTags, renderUserSearchrenderPropertyFiltersrenderSearchprotected String[] getConstructorParameters()
getConstructorParameters in class TaggingCoreItemQueryDefinition<CountListItem,NoteQueryParameters>protected String[] getConstructorParametersForRootNotes()
getConstructorParametersForRootNotes in class AbstractNoteQuery<CountListItem>public Class<CountListItem> getResultListItem()
TaggingCoreItemQueryDefinitiongetResultListItem in class TaggingCoreItemQueryDefinition<CountListItem,NoteQueryParameters>CountListItem#classprotected boolean needDistinct(NoteQueryParameters queryInstance)
AbstractNoteQueryneedDistinct in class AbstractNoteQuery<CountListItem>queryInstance - the query parameterspublic PageableList<?> postQueryExecution(NoteQueryParameters queryInstance, PageableList result)
postQueryExecution in class Query<CountListItem,NoteQueryParameters>queryInstance - the query instanceresult - the result containing the items returned by executed queryprotected void renderOrderbyClause(StringBuilder mainQuery, NoteQueryParameters queryInstance)
Adapted ordering for the date.
renderOrderbyClause in class AbstractNoteQuery<CountListItem>mainQuery - the main queryqueryInstance - the query instanceCopyright © 2019 Communote team. All rights reserved.