com.atlassian.jira.vcs.enterprise
Class EnterpriseRepositoryManager

java.lang.Object
  extended by com.atlassian.jira.vcs.DefaultRepositoryManager
      extended by com.atlassian.jira.vcs.enterprise.EnterpriseRepositoryManager
All Implemented Interfaces:
RepositoryManager

public class EnterpriseRepositoryManager
extends DefaultRepositoryManager


Field Summary
 
Fields inherited from interface com.atlassian.jira.vcs.RepositoryManager
CVS_TYPE, VCS_SERVICE_DELAY, VCS_SERVICE_NAME, VCS_TYPES
 
Constructor Summary
EnterpriseRepositoryManager()
           
EnterpriseRepositoryManager(com.atlassian.core.ofbiz.association.AssociationManager associationManager, org.ofbiz.core.entity.GenericDelegator genericDelegator, ServiceManager serviceManager, PermissionManager permissionManager, ChangeHistoryManager changeHistoryManager, ProjectManager projectManager)
           
 
Method Summary
 Collection getRepositoriesForProject(org.ofbiz.core.entity.GenericValue project)
          This method will return a list of Repositorys that are associated with the provided project.
 
Methods inherited from class com.atlassian.jira.vcs.DefaultRepositoryManager
createRepository, equals, getAssociationManager, getCommits, getGenericDelegator, getProjectsForRepository, getPropertySet, getRepositories, getRepository, getRepository, getServiceManager, isDifferentRepository, isValidType, markVcsServiceToRun, refresh, removeRepository, setProjectRepositories, updateRepositories, updateRepository, updateRepository
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnterpriseRepositoryManager

public EnterpriseRepositoryManager(com.atlassian.core.ofbiz.association.AssociationManager associationManager,
                                   org.ofbiz.core.entity.GenericDelegator genericDelegator,
                                   ServiceManager serviceManager,
                                   PermissionManager permissionManager,
                                   ChangeHistoryManager changeHistoryManager,
                                   ProjectManager projectManager)
                            throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

EnterpriseRepositoryManager

public EnterpriseRepositoryManager()
                            throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException
Method Detail

getRepositoriesForProject

public Collection getRepositoriesForProject(org.ofbiz.core.entity.GenericValue project)
                                     throws org.ofbiz.core.entity.GenericEntityException
Description copied from interface: RepositoryManager
This method will return a list of Repositorys that are associated with the provided project.

NOTE: In standard and professional editions the returned list will only ever contain a single repository. If you have associated more than one repository with the project the list will contain the first repository it encounters as stored in the database. JIRA enterprise edition allows you to associate multiple repositories with a project.

Specified by:
getRepositoriesForProject in interface RepositoryManager
Overrides:
getRepositoriesForProject in class DefaultRepositoryManager
Parameters:
project - a GenericValue representing the project associated with the repositories you would like to retrieve.
Returns:
collection of Repository's.
Throws:
org.ofbiz.core.entity.GenericEntityException - if there is a problem accessing the data store.


Copyright © 2002-2008 Atlassian. All Rights Reserved.