com.atlassian.jira.jql.resolver
Class ResolutionResolver

java.lang.Object
  extended by com.atlassian.jira.jql.resolver.ConstantsNameResolver<Resolution>
      extended by com.atlassian.jira.jql.resolver.ResolutionResolver
All Implemented Interfaces:
NameResolver<Resolution>

public class ResolutionResolver
extends ConstantsNameResolver<Resolution>

Resolves Resolution objects.

Since:
v4.0

Constructor Summary
ResolutionResolver(ConstantsManager constantsManager)
           
 
Method Summary
 Collection<Resolution> getAll()
          Gets all domain objects of this type in the underlying database.
 boolean idExists(Long id)
          Returns true if the id would resolve to a domain object.
 
Methods inherited from class com.atlassian.jira.jql.resolver.ConstantsNameResolver
get, getIdsFromName, nameExists
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResolutionResolver

public ResolutionResolver(ConstantsManager constantsManager)
Method Detail

getAll

public Collection<Resolution> getAll()
Description copied from interface: NameResolver
Gets all domain objects of this type in the underlying database. Note that calling this may not be a good idea for some domain object types.

Returns:
all objects of the configured type in the database (possibly empty, never null).

idExists

public boolean idExists(Long id)
Description copied from interface: NameResolver
Returns true if the id would resolve to a domain object.

Specified by:
idExists in interface NameResolver<Resolution>
Overrides:
idExists in class ConstantsNameResolver<Resolution>
Parameters:
id - the primary key.
Returns:
true only if the id resolves to a domain object in the database.


Copyright © 2002-2012 Atlassian. All Rights Reserved.