Interface RepositoryService


  • public interface RepositoryService
    • Method Detail

      • getRepositoryInfo

        RepositoryInfo getRepositoryInfo​(org.uberfire.spaces.Space space,
                                         String alias)
      • getRepositoryHistory

        List<org.uberfire.java.nio.base.version.VersionRecord> getRepositoryHistory​(org.uberfire.spaces.Space space,
                                                                                    String alias,
                                                                                    int startIndex)
      • getRepositoryHistory

        List<org.uberfire.java.nio.base.version.VersionRecord> getRepositoryHistory​(org.uberfire.spaces.Space space,
                                                                                    String alias,
                                                                                    int startIndex,
                                                                                    int endIndex)
      • getRepositoryHistoryAll

        List<org.uberfire.java.nio.base.version.VersionRecord> getRepositoryHistoryAll​(org.uberfire.spaces.Space space,
                                                                                       String alias)
      • getRepositoryFromSpace

        Repository getRepositoryFromSpace​(org.uberfire.spaces.Space currentSpace,
                                          String alias)
      • getRepository

        Repository getRepository​(org.uberfire.backend.vfs.Path root)
      • getRepository

        Repository getRepository​(org.uberfire.spaces.Space space,
                                 org.uberfire.backend.vfs.Path root)
      • getAllRepositories

        Collection<Repository> getAllRepositories​(org.uberfire.spaces.Space space)
        Get all the repositories. Security checks are omitted.
      • getAllRepositories

        Collection<Repository> getAllRepositories​(org.uberfire.spaces.Space space,
                                                  boolean includeDeleted)
        Get all the repositories. Security checks are omitted.
      • getAllDeletedRepositories

        Collection<Repository> getAllDeletedRepositories​(org.uberfire.spaces.Space space)
        Get all the repositories. Security checks are omitted.
      • getAllRepositoriesFromAllUserSpaces

        Collection<Repository> getAllRepositoriesFromAllUserSpaces()
        Get all the repositories from all user spaces. Security checks are omitted.
      • getRepositories

        Collection<Repository> getRepositories​(org.uberfire.spaces.Space space)
        Get only those repositories available within the current security context.
      • normalizeRepositoryName

        String normalizeRepositoryName​(String name)
      • validateRepositoryName

        boolean validateRepositoryName​(String name)
      • updateContributors

        void updateContributors​(Repository repository,
                                List<org.uberfire.security.Contributor> contributors)
      • removeRepository

        void removeRepository​(org.uberfire.spaces.Space space,
                              String alias)
      • removeRepositories

        void removeRepositories​(org.uberfire.spaces.Space space,
                                Set<String> aliases)
        Unlike 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).