com.atlassian.greenhopper.customfield.backlog
Class BacklogResolver

java.lang.Object
  extended by com.atlassian.greenhopper.customfield.backlog.BacklogResolver
All Implemented Interfaces:
com.atlassian.jira.jql.resolver.NameResolver<Backlog>

public class BacklogResolver
extends java.lang.Object
implements com.atlassian.jira.jql.resolver.NameResolver<Backlog>

Resolves Backlog objects, from name to ids, from id to Backlog, check for name existence, etc. This class does not take permissions into account


Constructor Summary
BacklogResolver(BacklogDao backlogDao)
           
 
Method Summary
 Backlog get(java.lang.Long id)
           
 java.util.Collection<Backlog> getAll()
           
 java.util.List<java.lang.String> getIdsFromName(java.lang.String name)
           
 boolean idExists(java.lang.Long id)
           
 boolean nameExists(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BacklogResolver

public BacklogResolver(BacklogDao backlogDao)
Method Detail

getIdsFromName

public java.util.List<java.lang.String> getIdsFromName(java.lang.String name)
Specified by:
getIdsFromName in interface com.atlassian.jira.jql.resolver.NameResolver<Backlog>

nameExists

public boolean nameExists(java.lang.String name)
Specified by:
nameExists in interface com.atlassian.jira.jql.resolver.NameResolver<Backlog>

idExists

public boolean idExists(java.lang.Long id)
Specified by:
idExists in interface com.atlassian.jira.jql.resolver.NameResolver<Backlog>

get

public Backlog get(java.lang.Long id)
Specified by:
get in interface com.atlassian.jira.jql.resolver.NameResolver<Backlog>

getAll

public java.util.Collection<Backlog> getAll()
Specified by:
getAll in interface com.atlassian.jira.jql.resolver.NameResolver<Backlog>


Copyright © 2007-2011 Atlassian. All Rights Reserved.