Package com.enonic.xp.repository

## Interface RepositoryService

-     @PublicApi
      public interface RepositoryService

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Branch` | `createBranch​(CreateBranchParams params)` |
    `Repository` | `createRepository​(CreateRepositoryParams params)` |
    `Branch` | `deleteBranch​(DeleteBranchParams params)` |
    `RepositoryId` | `deleteRepository​(DeleteRepositoryParams params)` |
    `Repository` | `get​(RepositoryId repositoryId)` |
    `ByteSource` | `getBinary​(RepositoryId repositoryId, BinaryReference binaryReference)` |
    `void` | `invalidate​(RepositoryId repositoryId)` |
    `void` | `invalidateAll()` |
    `boolean` | `isInitialized​(RepositoryId id)` |
    `Repositories` | `list()` |
    `Repository` | `updateRepository​(UpdateRepositoryParams params)` |

- - ### Method Detail

    - #### createRepository

          Repository createRepository​(CreateRepositoryParams params)

    - #### updateRepository

          Repository updateRepository​(UpdateRepositoryParams params)

    - #### createBranch

          Branch createBranch​(CreateBranchParams params)

    - #### list

          Repositories list()

    - #### isInitialized

          boolean isInitialized​(RepositoryId id)

    - #### get

          Repository get​(RepositoryId repositoryId)

    - #### deleteRepository

          RepositoryId deleteRepository​(DeleteRepositoryParams params)

    - #### deleteBranch

          Branch deleteBranch​(DeleteBranchParams params)

    - #### invalidateAll

          void invalidateAll()

    - #### invalidate

          void invalidate​(RepositoryId repositoryId)

    - #### getBinary

          ByteSource getBinary​(RepositoryId repositoryId,
                               BinaryReference binaryReference)