org.outerj.daisy.repository.commonimpl
Class AvailableVariantImpl
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AvailableVariantImpl
public AvailableVariantImpl(long branchId,
long languageId,
boolean retired,
long liveVersionId,
CommonVariantManager variantManager,
AuthenticatedUser user)
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.