1 16 package org.outerj.daisy.repository.variant; 17 18 import org.outerj.daisy.repository.RepositoryException; 19 20 27 public interface VariantManager { 28 35 Branch createBranch(String name); 36 37 40 Branch getBranch(long id, boolean updateable) throws RepositoryException; 41 42 46 Branch getBranch(String branch, boolean updateable) throws RepositoryException; 47 48 51 Branch getBranchByName(String name, boolean updateable) throws RepositoryException; 52 53 Branches getAllBranches(boolean updateable) throws RepositoryException; 54 55 61 void deleteBranch(long id) throws RepositoryException; 62 63 Language createLanguage(String name); 64 65 Language getLanguage(long id, boolean updateable) throws RepositoryException; 66 67 Language getLanguage(String language, boolean updateable) throws RepositoryException; 68 69 Language getLanguageByName(String name, boolean updateable) throws RepositoryException; 70 71 Languages getAllLanguages(boolean updateable) throws RepositoryException; 72 73 void deleteLanguage(long id) throws RepositoryException; 74 } 75 | Popular Tags |