org.outerj.daisy.repository.commonimpl.variant
Interface VariantStrategy


public interface VariantStrategy


Method Summary
 void deleteBranch(long id, AuthenticatedUser user)
           
 void deleteLanguage(long id, AuthenticatedUser user)
           
 BranchImpl[] getAllBranches(AuthenticatedUser user)
           
 LanguageImpl[] getAllLanguages(AuthenticatedUser user)
           
 BranchImpl getBranch(long id, AuthenticatedUser user)
           
 BranchImpl getBranchByName(java.lang.String name, AuthenticatedUser user)
           
 LanguageImpl getLanguage(long id, AuthenticatedUser user)
           
 LanguageImpl getLanguageByName(java.lang.String name, AuthenticatedUser user)
           
 void storeBranch(BranchImpl branch)
           
 void storeLanguage(LanguageImpl language)
           
 

Method Detail

getBranch

BranchImpl getBranch(long id,
                     AuthenticatedUser user)
                     throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

getBranchByName

BranchImpl getBranchByName(java.lang.String name,
                           AuthenticatedUser user)
                           throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

getAllBranches

BranchImpl[] getAllBranches(AuthenticatedUser user)
                            throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

storeBranch

void storeBranch(BranchImpl branch)
                 throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

deleteBranch

void deleteBranch(long id,
                  AuthenticatedUser user)
                  throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

getLanguage

LanguageImpl getLanguage(long id,
                         AuthenticatedUser user)
                         throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

getLanguageByName

LanguageImpl getLanguageByName(java.lang.String name,
                               AuthenticatedUser user)
                               throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

getAllLanguages

LanguageImpl[] getAllLanguages(AuthenticatedUser user)
                               throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

storeLanguage

void storeLanguage(LanguageImpl language)
                   throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException

deleteLanguage

void deleteLanguage(long id,
                    AuthenticatedUser user)
                    throws org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.repository.RepositoryException


Copyright © -2012 . All Rights Reserved.