|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryService
Field Summary | |
---|---|
static String |
ROLE
|
Method Summary | |
---|---|
LocalRepository |
addLocalRepository(LocalRepository repository)
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 repository)
Update the local repository |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
LocalRepository addLocalRepository(LocalRepository repository) throws RepositoryServiceException
repository
- the local repository to add
RepositoryServiceException
void updateLocalRepository(LocalRepository repository) throws RepositoryServiceException
repository
- the local repository to update
RepositoryServiceException
void removeLocalRepository(int repositoryId) throws RepositoryServiceException
repositoryId
- the id of the local repository to remove
RepositoryServiceException
List<LocalRepository> getAllLocalRepositories()
LocalRepository getLocalRepositoryByLocation(String location) throws RepositoryServiceException
location
- the system file path of the repository
RepositoryServiceException
List<LocalRepository> getLocalRepositoriesByLayout(String layout)
layout
- the layout of the repository. "default" or "legacy"
RepositoryServiceException
LocalRepository getLocalRepository(int repositoryId) throws RepositoryServiceException
repositoryId
- the id of the local repository
RepositoryServiceException
LocalRepository getLocalRepositoryByName(String repositoryName) throws RepositoryServiceException
repositoryName
-
RepositoryServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |