public static interface

EntityPropertyQuery.ExecutableQuery

implements EntityPropertyQuery<T extends EntityPropertyQuery<T>>
com.atlassian.jira.entity.property.EntityPropertyQuery.ExecutableQuery

Class Overview

An EntityPropertyQuery for which sufficient contraints have been provided to make the query valid.

Summary

Public Methods
long count()
Counts the number of properties that match the given query.
void delete()
Deletes all the properties that match this query.
@Nonnull List<EntityProperty> find()
Produces a list of entity properties that satisfy this query.
void find(Visitor<EntityProperty> visitor)
Produces a call to the provided visitor for each entity property that satisfies this query.
@Nonnull List<String> findDistinctKeys()
Produces a list of entity property keys that satisfy this query.
@Nonnull List<String> findKeys()
Produces a list of entity property keys that satisfy this query.
[Expand]
Inherited Methods
From interface com.atlassian.jira.entity.property.EntityPropertyQuery

Public Methods

public long count ()

Counts the number of properties that match the given query.

Returns
  • the count of matching entity properties

public void delete ()

Deletes all the properties that match this query.

@Nonnull public List<EntityProperty> find ()

Produces a list of entity properties that satisfy this query.

Returns
  • a list containing all of the results that were found, sorted by the key; never null

public void find (Visitor<EntityProperty> visitor)

Produces a call to the provided visitor for each entity property that satisfies this query.

Parameters
visitor the visitor to visit for each matching entity property

@Nonnull public List<String> findDistinctKeys ()

Produces a list of entity property keys that satisfy this query.

Returns
  • the list of distinct matching keys, sorted in ascending alphabetical order

@Nonnull public List<String> findKeys ()

Produces a list of entity property keys that satisfy this query.

Returns
  • the list of matching keys, sorted in ascending alphabetical order.