|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.continuum.repository.DefaultRepositoryService
public class DefaultRepositoryService
DefaultRepositoryService
| Field Summary |
|---|
| Fields inherited from interface org.apache.continuum.repository.RepositoryService |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DefaultRepositoryService()
|
|
| Method Summary | |
|---|---|
LocalRepository |
addLocalRepository(LocalRepository localRepository)
Add the local repository |
List<LocalRepository> |
getAllLocalRepositories()
Retrieve all local repositories |
List<LocalRepository> |
getLocalRepositoriesByLayout(String layout)
Retrieve list of local repositories with the specified layout |
LocalRepository |
getLocalRepository(int repositoryId)
Retrieve local repository |
LocalRepository |
getLocalRepositoryByLocation(String location)
Retrieve local repository |
LocalRepository |
getLocalRepositoryByName(String repositoryName)
Retrieve local repository |
void |
removeLocalRepository(int repositoryId)
Remove the local repository |
void |
updateLocalRepository(LocalRepository localRepository)
Update the local repository |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRepositoryService()
| Method Detail |
|---|
public LocalRepository addLocalRepository(LocalRepository localRepository)
throws RepositoryServiceException
RepositoryService
addLocalRepository in interface RepositoryServicelocalRepository - the local repository to add
RepositoryServiceException
public void removeLocalRepository(int repositoryId)
throws RepositoryServiceException
RepositoryService
removeLocalRepository in interface RepositoryServicerepositoryId - the id of the local repository to remove
RepositoryServiceException
public void updateLocalRepository(LocalRepository localRepository)
throws RepositoryServiceException
RepositoryService
updateLocalRepository in interface RepositoryServicelocalRepository - the local repository to update
RepositoryServiceExceptionpublic List<LocalRepository> getAllLocalRepositories()
RepositoryService
getAllLocalRepositories in interface RepositoryServicepublic List<LocalRepository> getLocalRepositoriesByLayout(String layout)
RepositoryService
getLocalRepositoriesByLayout in interface RepositoryServicelayout - the layout of the repository. "default" or "legacy"
public LocalRepository getLocalRepositoryByLocation(String location)
throws RepositoryServiceException
RepositoryService
getLocalRepositoryByLocation in interface RepositoryServicelocation - the system file path of the repository
RepositoryServiceException
public LocalRepository getLocalRepository(int repositoryId)
throws RepositoryServiceException
RepositoryService
getLocalRepository in interface RepositoryServicerepositoryId - the id of the local repository
RepositoryServiceException
public LocalRepository getLocalRepositoryByName(String repositoryName)
throws RepositoryServiceException
RepositoryService
getLocalRepositoryByName in interface RepositoryServiceRepositoryServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||