org.outerj.daisy.repository.commonimpl
Class AvailableVariantImpl

java.lang.Object
  extended by org.outerj.daisy.repository.commonimpl.AvailableVariantImpl
All Implemented Interfaces:
org.outerj.daisy.repository.AvailableVariant

public class AvailableVariantImpl
extends java.lang.Object
implements org.outerj.daisy.repository.AvailableVariant


Constructor Summary
AvailableVariantImpl(long branchId, long languageId, boolean retired, long liveVersionId, CommonVariantManager variantManager, AuthenticatedUser user)
           
 
Method Summary
 org.outerj.daisy.repository.variant.Branch getBranch()
           
 long getBranchId()
           
 org.outerj.daisy.repository.variant.Language getLanguage()
           
 long getLanguageId()
           
 long getLiveVersionId()
           
 org.outerx.daisy.x10.AvailableVariantDocument getXml()
           
 org.outerx.daisy.x10.AvailableVariantDocument getXml(boolean includeVariantNames)
           
 boolean isRetired()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailableVariantImpl

public AvailableVariantImpl(long branchId,
                            long languageId,
                            boolean retired,
                            long liveVersionId,
                            CommonVariantManager variantManager,
                            AuthenticatedUser user)
Method Detail

getBranch

public org.outerj.daisy.repository.variant.Branch getBranch()
                                                     throws org.outerj.daisy.repository.RepositoryException
Specified by:
getBranch in interface org.outerj.daisy.repository.AvailableVariant
Throws:
org.outerj.daisy.repository.RepositoryException

getLanguage

public org.outerj.daisy.repository.variant.Language getLanguage()
                                                         throws org.outerj.daisy.repository.RepositoryException
Specified by:
getLanguage in interface org.outerj.daisy.repository.AvailableVariant
Throws:
org.outerj.daisy.repository.RepositoryException

getBranchId

public long getBranchId()
Specified by:
getBranchId in interface org.outerj.daisy.repository.AvailableVariant

getLanguageId

public long getLanguageId()
Specified by:
getLanguageId in interface org.outerj.daisy.repository.AvailableVariant

isRetired

public boolean isRetired()
Specified by:
isRetired in interface org.outerj.daisy.repository.AvailableVariant

getLiveVersionId

public long getLiveVersionId()
Specified by:
getLiveVersionId in interface org.outerj.daisy.repository.AvailableVariant

getXml

public org.outerx.daisy.x10.AvailableVariantDocument getXml()
Specified by:
getXml in interface org.outerj.daisy.repository.AvailableVariant

getXml

public org.outerx.daisy.x10.AvailableVariantDocument getXml(boolean includeVariantNames)
                                                     throws org.outerj.daisy.repository.RepositoryException
Specified by:
getXml in interface org.outerj.daisy.repository.AvailableVariant
Throws:
org.outerj.daisy.repository.RepositoryException


Copyright © -2012 . All Rights Reserved.