|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static java.lang.String |
CVS_TYPE
|
static long |
VCS_SERVICE_DELAY
|
static java.lang.String |
VCS_SERVICE_NAME
|
static java.lang.String[] |
VCS_TYPES
|
Method Summary | |
Repository |
createRepository(java.lang.String type,
java.lang.String name,
java.lang.String description,
java.util.Properties properties)
|
java.util.Collection |
getProjectsForRepository(Repository repository)
|
com.opensymphony.module.propertyset.PropertySet |
getPropertySet(org.ofbiz.core.entity.GenericValue versionControlGV)
Retrieves a proeprty set for a repository given repository's GenericValue |
java.util.Collection |
getRepositories()
|
java.util.Collection |
getRepositoriesForProject(org.ofbiz.core.entity.GenericValue project)
|
Repository |
getRepository(java.lang.Long id)
|
Repository |
getRepository(java.lang.String name)
Retrieves the repository by name |
boolean |
isValidType(java.lang.String type)
|
void |
refresh()
|
void |
removeRepository(java.lang.Long id)
|
void |
setProjectRepositories(org.ofbiz.core.entity.GenericValue project,
java.util.Collection repositoryIds)
|
boolean |
updateRepositories()
Tries to update (e.g. |
void |
updateRepository(java.lang.Long id,
java.lang.String type,
java.lang.String name,
java.lang.String description,
java.util.Properties properties)
Updates the properties of the repository with the given id. |
Field Detail |
public static final java.lang.String CVS_TYPE
public static final java.lang.String[] VCS_TYPES
public static final java.lang.String VCS_SERVICE_NAME
public static final long VCS_SERVICE_DELAY
Method Detail |
public java.util.Collection getRepositoriesForProject(org.ofbiz.core.entity.GenericValue project) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public void setProjectRepositories(org.ofbiz.core.entity.GenericValue project, java.util.Collection repositoryIds) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public java.util.Collection getProjectsForRepository(Repository repository) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public java.util.Collection getRepositories()
public Repository getRepository(java.lang.Long id) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public Repository getRepository(java.lang.String name)
name
- name of the repository
public boolean isValidType(java.lang.String type)
public void removeRepository(java.lang.Long id) throws java.lang.Exception
java.lang.Exception
public void updateRepository(java.lang.Long id, java.lang.String type, java.lang.String name, java.lang.String description, java.util.Properties properties) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public boolean updateRepositories() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public Repository createRepository(java.lang.String type, java.lang.String name, java.lang.String description, java.util.Properties properties) throws java.lang.Exception
java.lang.Exception
public void refresh() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public com.opensymphony.module.propertyset.PropertySet getPropertySet(org.ofbiz.core.entity.GenericValue versionControlGV)
versionControlGV
- the generic value of the repository
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |