com.atlassian.jira.project
Interface ProjectFactory

All Known Implementing Classes:
DefaultProjectFactory, MockProjectFactory

public interface ProjectFactory

Used to produce Project objects.


Method Summary
 Project getProject(org.ofbiz.core.entity.GenericValue projectGV)
          Returns a project object that is backed by the given generic value.
 List<Project> getProjects(Collection<org.ofbiz.core.entity.GenericValue> projectGVs)
          Returns the collection of Project objects that are backed by the GenericValue objects in the given collection.
 

Method Detail

getProject

Project getProject(org.ofbiz.core.entity.GenericValue projectGV)
Returns a project object that is backed by the given generic value.

Parameters:
projectGV - project generic value
Returns:
existing project or null if project does not exist

getProjects

List<Project> getProjects(Collection<org.ofbiz.core.entity.GenericValue> projectGVs)
Returns the collection of Project objects that are backed by the GenericValue objects in the given collection.

Parameters:
projectGVs - GenericValues of projects to return.
Returns:
the Collection of existing projects, possibly empty, never null.


Copyright © 2002-2014 Atlassian. All Rights Reserved.