org.outerj.daisy.repository
Interface AvailableVariant


public interface AvailableVariant

Holds information about a variant of a document.


Method Summary
 Branch getBranch()
           
 long getBranchId()
           
 Language getLanguage()
           
 long getLanguageId()
           
 long getLiveVersionId()
          Returns the ID of the live version of this document variant, or -1 if this variant has no live version.
 org.outerx.daisy.x10.AvailableVariantDocument getXml()
           
 org.outerx.daisy.x10.AvailableVariantDocument getXml(boolean includeVariantNames)
           
 boolean isRetired()
           
 

Method Detail

getBranch

public Branch getBranch()
                 throws RepositoryException
Throws:
RepositoryException

getLanguage

public Language getLanguage()
                     throws RepositoryException
Throws:
RepositoryException

getBranchId

public long getBranchId()

getLanguageId

public long getLanguageId()

isRetired

public boolean isRetired()

getLiveVersionId

public long getLiveVersionId()
Returns the ID of the live version of this document variant, or -1 if this variant has no live version.


getXml

public org.outerx.daisy.x10.AvailableVariantDocument getXml()

getXml

public org.outerx.daisy.x10.AvailableVariantDocument getXml(boolean includeVariantNames)
                                                     throws RepositoryException
Throws:
RepositoryException


Copyright © -2005 . All Rights Reserved.