| | |
| | | Repository getRepository(String repositoryName, boolean logError); |
| | | |
| | | /** |
| | | * Returns the list of all repository models. |
| | | * |
| | | * @return list of all repository models |
| | | * @since 1.6.1 |
| | | */ |
| | | List<RepositoryModel> getRepositoryModels(); |
| | | |
| | | /** |
| | | * Returns the list of repository models that are accessible to the user. |
| | | * |
| | | * @param user |
| | |
| | | void updateConfiguration(Repository r, RepositoryModel repository); |
| | | |
| | | /** |
| | | * Returns true if the repository can be deleted. |
| | | * |
| | | * @param model |
| | | * @return true if the repository can be deleted |
| | | * @since 1.6.0 |
| | | */ |
| | | boolean canDelete(RepositoryModel model); |
| | | |
| | | /** |
| | | * Deletes the repository from the file system and removes the repository |
| | | * permission from all repository users. |
| | | * |