org.outerj.daisy.repository.clientimpl.variant
Class RemoteVariantStrategy

java.lang.Object
  extended byorg.outerj.daisy.repository.clientimpl.infrastructure.AbstractRemoteStrategy
      extended byorg.outerj.daisy.repository.clientimpl.variant.RemoteVariantStrategy
All Implemented Interfaces:
org.outerj.daisy.repository.commonimpl.variant.VariantStrategy

public class RemoteVariantStrategy
extends AbstractRemoteStrategy
implements org.outerj.daisy.repository.commonimpl.variant.VariantStrategy


Field Summary
 
Fields inherited from class org.outerj.daisy.repository.clientimpl.infrastructure.AbstractRemoteStrategy
context
 
Constructor Summary
RemoteVariantStrategy(RemoteRepositoryManager.Context context)
           
 
Method Summary
 void deleteBranch(long id, org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 void deleteLanguage(long id, org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 org.outerj.daisy.repository.commonimpl.variant.BranchImpl[] getAllBranches(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 org.outerj.daisy.repository.commonimpl.variant.LanguageImpl[] getAllLanguages(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 org.outerj.daisy.repository.commonimpl.variant.BranchImpl getBranch(long id, org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 org.outerj.daisy.repository.commonimpl.variant.BranchImpl getBranchByName(java.lang.String name, org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 org.outerj.daisy.repository.commonimpl.variant.LanguageImpl getLanguage(long id, org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 org.outerj.daisy.repository.commonimpl.variant.LanguageImpl getLanguageByName(java.lang.String name, org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
           
 void storeBranch(org.outerj.daisy.repository.commonimpl.variant.BranchImpl branch)
           
 void storeLanguage(org.outerj.daisy.repository.commonimpl.variant.LanguageImpl language)
           
 
Methods inherited from class org.outerj.daisy.repository.clientimpl.infrastructure.AbstractRemoteStrategy
encodeNameForUseInPath, getBranchLangParams, getClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteVariantStrategy

public RemoteVariantStrategy(RemoteRepositoryManager.Context context)
Method Detail

getBranch

public org.outerj.daisy.repository.commonimpl.variant.BranchImpl getBranch(long id,
                                                                           org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
                                                                    throws org.outerj.daisy.repository.RepositoryException
Specified by:
getBranch in interface org.outerj.daisy.repository.commonimpl.variant.VariantStrategy
Throws:
org.outerj.daisy.repository.RepositoryException

getBranchByName

public org.outerj.daisy.repository.commonimpl.variant.BranchImpl getBranchByName(java.lang.String name,
                                                                                 org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
                                                                          throws org.outerj.daisy.repository.RepositoryException
Specified by:
getBranchByName in interface org.outerj.daisy.repository.commonimpl.variant.VariantStrategy
Throws:
org.outerj.daisy.repository.RepositoryException

getAllBranches

public org.outerj.daisy.repository.commonimpl.variant.BranchImpl[] getAllBranches(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
                                                                           throws org.outerj.daisy.repository.RepositoryException
Specified by:
getAllBranches in interface org.outerj.daisy.repository.commonimpl.variant.VariantStrategy
Throws:
org.outerj.daisy.repository.RepositoryException

storeBranch

public void storeBranch(org.outerj.daisy.repository.commonimpl.variant.BranchImpl branch)
                 throws org.outerj.daisy.repository.RepositoryException
Specified by:
storeBranch in interface org.outerj.daisy.repository.commonimpl.variant.VariantStrategy
Throws:
org.outerj.daisy.repository.RepositoryException

deleteBranch

public void deleteBranch(long id,
                         org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
                  throws org.outerj.daisy.repository.RepositoryException
Specified by:
deleteBranch in interface org.outerj.daisy.repository.commonimpl.variant.VariantStrategy
Throws:
org.outerj.daisy.repository.RepositoryException

getLanguage

public org.outerj.daisy.repository.commonimpl.variant.LanguageImpl getLanguage(long id,
                                                                               org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
                                                                        throws org.outerj.daisy.repository.RepositoryException
Specified by:
getLanguage in interface org.outerj.daisy.repository.commonimpl.variant.VariantStrategy
Throws:
org.outerj.daisy.repository.RepositoryException

getLanguageByName

public org.outerj.daisy.repository.commonimpl.variant.LanguageImpl getLanguageByName(java.lang.String name,
                                                                                     org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
                                                                              throws org.outerj.daisy.repository.RepositoryException
Specified by:
getLanguageByName in interface org.outerj.daisy.repository.commonimpl.variant.VariantStrategy
Throws:
org.outerj.daisy.repository.RepositoryException

getAllLanguages

public org.outerj.daisy.repository.commonimpl.variant.LanguageImpl[] getAllLanguages(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
                                                                              throws org.outerj.daisy.repository.RepositoryException
Specified by:
getAllLanguages in interface org.outerj.daisy.repository.commonimpl.variant.VariantStrategy
Throws:
org.outerj.daisy.repository.RepositoryException

storeLanguage

public void storeLanguage(org.outerj.daisy.repository.commonimpl.variant.LanguageImpl language)
                   throws org.outerj.daisy.repository.RepositoryException
Specified by:
storeLanguage in interface org.outerj.daisy.repository.commonimpl.variant.VariantStrategy
Throws:
org.outerj.daisy.repository.RepositoryException

deleteLanguage

public void deleteLanguage(long id,
                           org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
                    throws org.outerj.daisy.repository.RepositoryException
Specified by:
deleteLanguage in interface org.outerj.daisy.repository.commonimpl.variant.VariantStrategy
Throws:
org.outerj.daisy.repository.RepositoryException


Copyright © -2005 . All Rights Reserved.