org.outerj.daisy.repository.commonimpl.variant
Class VariantManagerImpl
java.lang.Object
org.outerj.daisy.repository.commonimpl.variant.VariantManagerImpl
- All Implemented Interfaces:
- org.outerj.daisy.repository.variant.VariantManager
public class VariantManagerImpl
- extends java.lang.Object
- implements org.outerj.daisy.repository.variant.VariantManager
Method Summary |
org.outerj.daisy.repository.variant.Branch |
createBranch(java.lang.String name)
|
org.outerj.daisy.repository.variant.Language |
createLanguage(java.lang.String name)
|
void |
deleteBranch(long id)
|
void |
deleteLanguage(long id)
|
org.outerj.daisy.repository.variant.Branches |
getAllBranches(boolean updateable)
|
org.outerj.daisy.repository.variant.Languages |
getAllLanguages(boolean updateable)
|
org.outerj.daisy.repository.variant.Branch |
getBranch(long id,
boolean updateable)
|
org.outerj.daisy.repository.variant.Branch |
getBranch(java.lang.String branch,
boolean updateable)
|
org.outerj.daisy.repository.variant.Branch |
getBranchByName(java.lang.String name,
boolean updateable)
|
org.outerj.daisy.repository.variant.Language |
getLanguage(long id,
boolean updateable)
|
org.outerj.daisy.repository.variant.Language |
getLanguage(java.lang.String language,
boolean updateable)
|
org.outerj.daisy.repository.variant.Language |
getLanguageByName(java.lang.String name,
boolean updateable)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariantManagerImpl
public VariantManagerImpl(CommonVariantManager delegate,
AuthenticatedUser user)
createBranch
public org.outerj.daisy.repository.variant.Branch createBranch(java.lang.String name)
- Specified by:
createBranch
in interface org.outerj.daisy.repository.variant.VariantManager
getBranch
public org.outerj.daisy.repository.variant.Branch getBranch(long id,
boolean updateable)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getBranch
in interface org.outerj.daisy.repository.variant.VariantManager
- Throws:
org.outerj.daisy.repository.RepositoryException
getBranch
public org.outerj.daisy.repository.variant.Branch getBranch(java.lang.String branch,
boolean updateable)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getBranch
in interface org.outerj.daisy.repository.variant.VariantManager
- Throws:
org.outerj.daisy.repository.RepositoryException
getBranchByName
public org.outerj.daisy.repository.variant.Branch getBranchByName(java.lang.String name,
boolean updateable)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getBranchByName
in interface org.outerj.daisy.repository.variant.VariantManager
- Throws:
org.outerj.daisy.repository.RepositoryException
getAllBranches
public org.outerj.daisy.repository.variant.Branches getAllBranches(boolean updateable)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getAllBranches
in interface org.outerj.daisy.repository.variant.VariantManager
- Throws:
org.outerj.daisy.repository.RepositoryException
deleteBranch
public void deleteBranch(long id)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
deleteBranch
in interface org.outerj.daisy.repository.variant.VariantManager
- Throws:
org.outerj.daisy.repository.RepositoryException
createLanguage
public org.outerj.daisy.repository.variant.Language createLanguage(java.lang.String name)
- Specified by:
createLanguage
in interface org.outerj.daisy.repository.variant.VariantManager
getLanguage
public org.outerj.daisy.repository.variant.Language getLanguage(long id,
boolean updateable)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getLanguage
in interface org.outerj.daisy.repository.variant.VariantManager
- Throws:
org.outerj.daisy.repository.RepositoryException
getLanguage
public org.outerj.daisy.repository.variant.Language getLanguage(java.lang.String language,
boolean updateable)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getLanguage
in interface org.outerj.daisy.repository.variant.VariantManager
- Throws:
org.outerj.daisy.repository.RepositoryException
getLanguageByName
public org.outerj.daisy.repository.variant.Language getLanguageByName(java.lang.String name,
boolean updateable)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getLanguageByName
in interface org.outerj.daisy.repository.variant.VariantManager
- Throws:
org.outerj.daisy.repository.RepositoryException
getAllLanguages
public org.outerj.daisy.repository.variant.Languages getAllLanguages(boolean updateable)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getAllLanguages
in interface org.outerj.daisy.repository.variant.VariantManager
- Throws:
org.outerj.daisy.repository.RepositoryException
deleteLanguage
public void deleteLanguage(long id)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
deleteLanguage
in interface org.outerj.daisy.repository.variant.VariantManager
- Throws:
org.outerj.daisy.repository.RepositoryException
Copyright © -2012 . All Rights Reserved.