public interface RepositoryService
RepositoryInfo getRepositoryInfo(Space space, String alias)
List<VersionRecord> getRepositoryHistory(Space space, String alias, int startIndex)
List<VersionRecord> getRepositoryHistory(Space space, String alias, int startIndex, int endIndex)
List<VersionRecord> getRepositoryHistoryAll(Space space, String alias)
Repository getRepositoryFromSpace(Space currentSpace, String alias)
Repository getRepository(Path root)
Repository getRepository(Space space, Path root)
Collection<Repository> getAllRepositories(Space space)
Collection<Repository> getAllRepositoriesFromAllUserSpaces()
Collection<Repository> getRepositories(Space space)
Repository createRepository(OrganizationalUnit organizationalUnit, String scheme, String alias, RepositoryEnvironmentConfigurations configurations) throws RepositoryAlreadyExistsException
RepositoryAlreadyExistsException
boolean validateRepositoryName(String name)
void addGroup(Repository repository, String group)
void removeGroup(Repository repository, String group)
void removeRepositories(Space space, Set<String> aliases)
removeRepository(Space, String)
, this method does not fire CDI events, since it is meant to be invoked
by other services while removing other constructs (such as an entire space).Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.