Modifier and Type | Method and Description |
---|---|
List<QueryLiteral> |
QueryCacheImpl.getValues(QueryCreationContext context,
Operand operand,
TerminalClause jqlClause) |
List<QueryLiteral> |
QueryCache.getValues(QueryCreationContext context,
Operand operand,
TerminalClause jqlClause)
Retrieve the list of
QueryLiteral s registered
for the QueryCreationContext Operand jqlClause triplet. |
Modifier and Type | Method and Description |
---|---|
void |
QueryCacheImpl.setValues(QueryCreationContext context,
Operand operand,
TerminalClause jqlClause,
List<QueryLiteral> values) |
void |
QueryCache.setValues(QueryCreationContext context,
Operand operand,
TerminalClause jqlClause,
List<QueryLiteral> values)
Set the cached result of a getValues operation on the
for the
QueryCreationContext Operand jqlClause triplet. |
Modifier and Type | Method and Description |
---|---|
List<QueryLiteral> |
EchoFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
Modifier and Type | Method and Description |
---|---|
List<QueryLiteral> |
EchoJqlFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
ChangeHistoryFieldConstants.getIdsForField(String field,
QueryLiteral literal)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractDateSearchInputHelper.ParseDateResult |
DefaultDateSearcherInputHelper.getValidNavigatorDate(QueryLiteral dateLiteral,
boolean allowTimeComponent) |
Modifier and Type | Method and Description |
---|---|
static QueryLiteral |
SimpleLiteralFactory.createLiteral() |
static QueryLiteral |
SimpleLiteralFactory.createLiteral(Long value) |
static QueryLiteral |
SimpleLiteralFactory.createLiteral(String value) |
QueryLiteral |
DefaultJqlOperandResolver.getSingleValue(ApplicationUser user,
Operand operand,
TerminalClause clause) |
QueryLiteral |
JqlOperandResolver.getSingleValue(ApplicationUser user,
Operand operand,
TerminalClause clause)
Returns the single value contained within the passed operand.
|
Modifier and Type | Method and Description |
---|---|
List<QueryLiteral> |
EmptyWasClauseOperandHandler.getEmptyValue(WasClause clause) |
List<QueryLiteral> |
PredicateOperandHandler.getValues() |
List<QueryLiteral> |
DefaultJqlOperandResolver.getValues(ApplicationUser searcher,
Operand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
JqlOperandResolver.getValues(ApplicationUser searcher,
Operand operand,
TerminalClause terminalClause)
Return the values contained within the passed operand.
|
List<QueryLiteral> |
DefaultPredicateOperandResolver.getValues(ApplicationUser searcher,
String field,
Operand operand) |
List<QueryLiteral> |
PredicateOperandResolver.getValues(ApplicationUser searcher,
String field,
Operand operand) |
List<QueryLiteral> |
EmptyOperandHandler.getValues(QueryCreationContext queryCreationContext,
EmptyOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
FunctionOperandHandler.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
MultiValueOperandHandler.getValues(QueryCreationContext queryCreationContext,
MultiValueOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
DefaultJqlOperandResolver.getValues(QueryCreationContext queryCreationContext,
Operand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
JqlOperandResolver.getValues(QueryCreationContext queryCreationContext,
Operand operand,
TerminalClause terminalClause)
Return the values contained within the passed operand.
|
List<QueryLiteral> |
SingleValueOperandHandler.getValues(QueryCreationContext queryCreationContext,
SingleValueOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
OperandHandler.getValues(QueryCreationContext queryCreationContext,
T operand,
TerminalClause terminalClause)
Gets the unexpanded values provided by the user on input.
|
Modifier and Type | Method and Description |
---|---|
List<QueryLiteral> |
LiteralSanitiser.Result.getLiterals() |
Modifier and Type | Method and Description |
---|---|
LiteralSanitiser.Result |
IssueLiteralSanitiser.sanitiseLiterals(List<QueryLiteral> literals)
Issue keys are not guaranteed to be 1-1, so this method might actually return more QueryLiterals than what we started with.
|
LiteralSanitiser.Result |
ProjectLiteralSanitiser.sanitiseLiterals(List<QueryLiteral> literals)
We make a big assumption here that a single project literal will never expand out into more than one project id,
because of the rules around project names and resolving.
|
LiteralSanitiser.Result |
LiteralSanitiser.sanitiseLiterals(List<QueryLiteral> literals)
Note: in general, it is possible that a literal can expand out into multiple id values.
|
Constructor and Description |
---|
Result(boolean modified,
List<QueryLiteral> literals) |
Modifier and Type | Method and Description |
---|---|
QueryFactoryResult |
DateRelationalQueryFactory.createQueryForMultipleValues(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
RelationalOperatorMutatedIndexValueQueryFactory.createQueryForMultipleValues(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
DateEqualityQueryFactory.createQueryForMultipleValues(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
LocalDateEqualityQueryFactory.createQueryForMultipleValues(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
RelationalOperatorIdIndexValueQueryFactory.createQueryForMultipleValues(String fieldName,
Operator operator,
List<QueryLiteral> listOfIds) |
QueryFactoryResult |
NumberRelationalQueryFactory.createQueryForMultipleValues(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
AbstractEqualityQueryFactory.createQueryForMultipleValues(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
ActualValueRelationalQueryFactory.createQueryForMultipleValues(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
ActualValueEqualityQueryFactory.createQueryForMultipleValues(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
OperatorSpecificQueryFactory.createQueryForMultipleValues(String fieldName,
Operator operator,
List<QueryLiteral> rawValues)
Generates the Query for a list of operand ids.
|
QueryFactoryResult |
VersionLikeQueryFactory.createQueryForMultipleValues(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
LocalDateRelationalQueryFactory.createQueryForMultipleValues(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
LikeQueryFactory.createQueryForMultipleValues(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
NumberEqualityQueryFactory.createQueryForMultipleValues(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
DateRelationalQueryFactory.createQueryForSingleValue(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
RelationalOperatorMutatedIndexValueQueryFactory.createQueryForSingleValue(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
DateEqualityQueryFactory.createQueryForSingleValue(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
LocalDateEqualityQueryFactory.createQueryForSingleValue(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
RelationalOperatorIdIndexValueQueryFactory.createQueryForSingleValue(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
NumberRelationalQueryFactory.createQueryForSingleValue(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
AbstractEqualityQueryFactory.createQueryForSingleValue(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
ActualValueRelationalQueryFactory.createQueryForSingleValue(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
ActualValueEqualityQueryFactory.createQueryForSingleValue(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
OperatorSpecificQueryFactory.createQueryForSingleValue(String fieldName,
Operator operator,
List<QueryLiteral> rawValues)
Generates the Query for a single operand id.
|
QueryFactoryResult |
VersionLikeQueryFactory.createQueryForSingleValue(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
LocalDateRelationalQueryFactory.createQueryForSingleValue(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
LikeQueryFactory.createQueryForSingleValue(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
NumberEqualityQueryFactory.createQueryForSingleValue(String fieldName,
Operator operator,
List<QueryLiteral> rawValues) |
QueryFactoryResult |
LikeQueryFactory.createResult(String fieldName,
List<QueryLiteral> rawValues,
Operator operator,
boolean handleEmpty) |
protected List<org.apache.lucene.search.Query> |
LikeQueryFactory.getQueries(String fieldName,
List<QueryLiteral> rawValues) |
Modifier and Type | Method and Description |
---|---|
List<IssueSecurityLevel> |
IssueSecurityLevelResolver.getIssueSecurityLevels(ApplicationUser searcher,
QueryLiteral rawValue)
Resolves
GenericValue s representing Issue Security Levels based on the
QueryLiteral provided. |
ProjectCategory |
ProjectCategoryResolver.getProjectCategory(QueryLiteral literal) |
Collection<Project> |
ProjectCategoryResolver.getProjectsForCategory(QueryLiteral literal) |
io.atlassian.fugue.Option<StatusCategory> |
StatusCategoryResolver.getStatusCategory(QueryLiteral rawValue) |
Collection<String> |
ChangeHistoryFieldIdResolver.resolveIdsForField(String field,
QueryLiteral literal,
boolean emptyOperand) |
Modifier and Type | Method and Description |
---|---|
List<IssueSecurityLevel> |
IssueSecurityLevelResolver.getIssueSecurityLevels(ApplicationUser searcher,
List<QueryLiteral> rawValues)
Resolves
GenericValue s representing Issue Security Levels based on the
QueryLiteral s provided. |
List<IssueSecurityLevel> |
IssueSecurityLevelResolver.getIssueSecurityLevelsOverrideSecurity(List<QueryLiteral> rawValues)
Resolves
GenericValue s representing Issue Security Levels based on the
QueryLiteral s provided. |
List<SearchRequest> |
SavedFilterResolver.getSearchRequest(ApplicationUser searcher,
List<QueryLiteral> rawValues)
Resolves
QueryLiteral s into the SearchRequest
objects that the user has permission to see. |
List<SearchRequest> |
SavedFilterResolver.getSearchRequestOverrideSecurity(List<QueryLiteral> rawValues)
Resolves
QueryLiteral s into the SearchRequest
objects. |
Set<StatusCategory> |
StatusCategoryResolver.getStatusCategories(Collection<QueryLiteral> queryLiterals) |
Modifier and Type | Method and Description |
---|---|
List<QueryLiteral> |
JqlCascadingSelectLiteralUtil.createQueryLiteralsFromOptions(Operand sourceOperand,
Collection<Option> positiveOptions,
Collection<Option> negativeOptions)
Given a list of
Option s that should be in the result (positive) and a list of Option s that shouldn't (negative)
creates a list of QueryLiteral s that represent the positive and negative options and be used
for generating the query. |
Modifier and Type | Method and Description |
---|---|
String |
GroupCustomFieldIndexValueConverter.convertToIndexValue(QueryLiteral rawValue) |
String |
JqlTimetrackingDurationSupportImpl.convertToIndexValue(QueryLiteral rawValue) |
String |
VotesIndexValueConverter.convertToIndexValue(QueryLiteral rawValue) |
String |
WatchesIndexValueConverter.convertToIndexValue(QueryLiteral rawValue) |
String |
NumberIndexValueConverter.convertToIndexValue(QueryLiteral rawValue) |
String |
IndexValueConverter.convertToIndexValue(QueryLiteral rawValue) |
String |
SimpleIndexValueConverter.convertToIndexValue(QueryLiteral rawValue) |
LocalDate |
JqlLocalDateSupportImpl.getLocalDateFromQueryLiteral(QueryLiteral rawValue) |
LocalDate |
JqlLocalDateSupport.getLocalDateFromQueryLiteral(QueryLiteral rawValue)
Try to parse the passed date in query literal.
|
List<Option> |
JqlSelectOptionsUtil.getOptions(CustomField customField,
ApplicationUser user,
QueryLiteral literal,
boolean checkOptionIds)
Returns the options that are represented by the
QueryLiteral that are visible to
the User on the CustomField . |
List<Option> |
JqlSelectOptionsUtil.getOptions(CustomField customField,
QueryContext queryContext,
QueryLiteral literal,
boolean checkOptionIds)
Returns the options that are represented by the
QueryLiteral that are visible in
the QueryContext for a particular CustomField . |
List<Option> |
JqlSelectOptionsUtil.getOptions(CustomField customField,
QueryLiteral literal,
boolean checkOptionIds)
Returns all the options possible represented by the
QueryLiteral for a particular CustomField . |
boolean |
JqlCascadingSelectLiteralUtil.isNegativeLiteral(QueryLiteral literal)
Determines if the QueryLiteral represents a
Option that should be excluded from the result. |
Modifier and Type | Method and Description |
---|---|
List<LocalDate> |
JqlLocalDateSupportImpl.getLocalDatesFromQueryLiterals(List<QueryLiteral> rawValues) |
List<LocalDate> |
JqlLocalDateSupport.getLocalDatesFromQueryLiterals(List<QueryLiteral> rawValues)
Try to parse the passed dates in query literals.
|
void |
JqlCascadingSelectLiteralUtil.processPositiveNegativeOptionLiterals(List<QueryLiteral> inputLiterals,
List<QueryLiteral> positiveLiterals,
List<QueryLiteral> negativeLiterals)
Processes the input literals into two groups: positive literals and negative literals.
|
void |
JqlCascadingSelectLiteralUtil.processPositiveNegativeOptionLiterals(List<QueryLiteral> inputLiterals,
List<QueryLiteral> positiveLiterals,
List<QueryLiteral> negativeLiterals)
Processes the input literals into two groups: positive literals and negative literals.
|
void |
JqlCascadingSelectLiteralUtil.processPositiveNegativeOptionLiterals(List<QueryLiteral> inputLiterals,
List<QueryLiteral> positiveLiterals,
List<QueryLiteral> negativeLiterals)
Processes the input literals into two groups: positive literals and negative literals.
|
Modifier and Type | Method and Description |
---|---|
protected List<Option> |
SelectCustomFieldValidator.getOptionsFromLiteral(ApplicationUser searcher,
QueryLiteral literal) |
protected List<Option> |
CascadingSelectCustomFieldValidator.getOptionsFromLiteral(ApplicationUser searcher,
QueryLiteral literal) |
Modifier and Type | Method and Description |
---|---|
MessageSet |
HistoryFieldValueValidator.validateValues(ApplicationUser searcher,
String fieldName,
List<QueryLiteral> rawValues)
Validate a set of values supplied within a JQL query.
|
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<Iterable<QueryLiteral>> |
QueryLiteralMatchers.emptyIterable() |
static org.hamcrest.Matcher<QueryLiteral> |
QueryLiteralMatchers.literal() |
static org.hamcrest.Matcher<QueryLiteral> |
QueryLiteralMatchers.literal(Long expectedLongValue) |
static org.hamcrest.Matcher<? super QueryLiteral> |
QueryLiteralMatchers.literal(Object expectedValue) |
static org.hamcrest.Matcher<QueryLiteral> |
QueryLiteralMatchers.literal(String expectedStringValue) |
static org.hamcrest.Matcher<Iterable<? extends QueryLiteral>> |
QueryLiteralMatchers.literals(List<?> values) |
static org.hamcrest.Matcher<Iterable<? extends QueryLiteral>> |
QueryLiteralMatchers.literals(Object... values) |
Modifier and Type | Method and Description |
---|---|
protected abstract List<QueryLiteral> |
AbstractUserBasedFunction.getFunctionValuesList(QueryCreationContext queryCreationContext,
FunctionOperand operand,
ApplicationUser user)
Get the function return values based on the actual user.
|
protected List<QueryLiteral> |
ProjectsLeadByUserFunction.getFunctionValuesList(QueryCreationContext queryCreationContext,
FunctionOperand functionOperand,
ApplicationUser user) |
protected List<QueryLiteral> |
ComponentsLeadByUserFunction.getFunctionValuesList(QueryCreationContext queryCreationContext,
FunctionOperand functionOperand,
ApplicationUser user) |
protected List<QueryLiteral> |
ProjectsWhereUserHasRoleFunction.getFunctionValuesList(QueryCreationContext queryCreationContext,
FunctionOperand functionOperand,
ApplicationUser user,
String roleName) |
protected List<QueryLiteral> |
ProjectsWhereUserHasPermissionFunction.getFunctionValuesList(QueryCreationContext queryCreationContext,
FunctionOperand functionOperand,
ApplicationUser user,
String permissionName) |
protected abstract List<QueryLiteral> |
AbstractUserCapabilityFunction.getFunctionValuesList(QueryCreationContext queryCreationContext,
FunctionOperand operand,
ApplicationUser user,
String capability)
Get the function return values based on the actual user and capability.
|
List<QueryLiteral> |
CascadeOptionFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause)
Note: this method returns unconvential query literals.
|
List<QueryLiteral> |
AbstractUserBasedFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand functionOperand,
TerminalClause terminalClause) |
List<QueryLiteral> |
EndOfDayFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
EndOfMonthFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
EarliestUnreleasedVersionFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
EndOfWeekFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
WatchedIssuesFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
RemoteLinksByGlobalIdFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
VotedIssuesFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
LatestReleasedVersionFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
CurrentUserFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
LinkedIssuesFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
AllSubIssueTypesFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
StartOfWeekFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
LastLoginFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
MembersOfFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
CurrentLoginFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
EndOfYearFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
AbstractVersionsFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
NowFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
IssueHistoryFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
StartOfDayFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
StartOfMonthFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
AllStandardIssueTypesFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
AbstractUserCapabilityFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand functionOperand,
TerminalClause terminalClause) |
List<QueryLiteral> |
StartOfYearFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
UpdatedByFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause) |
List<QueryLiteral> |
JqlFunction.getValues(QueryCreationContext queryCreationContext,
FunctionOperand operand,
TerminalClause terminalClause)
Gets the unexpanded values provided by the user on input.
|
Modifier and Type | Method and Description |
---|---|
static MultiValueOperand |
MultiValueOperand.ofQueryLiterals(Collection<QueryLiteral> literals) |
Constructor and Description |
---|
MultiValueOperand(QueryLiteral... literals) |
SingleValueOperand(QueryLiteral literal)
Note: cannot accept an empty
QueryLiteral . |
Copyright © 2002-2021 Atlassian. All Rights Reserved.