|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.outerj.daisy.publisher.serverimpl.requestmodel.RootPublisherContext
public class RootPublisherContext
Field Summary |
---|
Fields inherited from interface org.outerj.daisy.publisher.serverimpl.requestmodel.PublisherContext |
---|
NO_VERSION |
Constructor Summary | |
---|---|
RootPublisherContext(org.outerj.daisy.repository.Repository repository,
PublisherImpl publisher,
org.apache.avalon.framework.logger.Logger logger)
|
Method Summary | |
---|---|
long |
getBranchId()
|
ContentProcessor |
getContentProcessor()
Returns null if not available. |
org.outerj.daisy.repository.Document |
getDocument()
|
long |
getDocumentId()
|
long |
getLanguageId()
|
java.util.Locale |
getLocale()
|
org.apache.avalon.framework.logger.Logger |
getLogger()
|
PreparedDocuments |
getPreparedDocuments()
Returns null if not available. |
PublisherImpl |
getPublisher()
|
org.outerj.daisy.repository.Repository |
getRepository()
|
java.text.DateFormat |
getTimestampFormat()
|
org.outerj.daisy.repository.VariantKey |
getVariantKey()
|
org.outerj.daisy.repository.Version |
getVersion()
If a live version was requested but the document doesn't have a live version, this method returns null. |
long |
getVersionId()
If a live version was requested but the document doesn't have a live version, this method returns NO_VERSION . |
PublisherVersionMode |
getVersionMode()
|
boolean |
hasDocument()
Returns true if the getDocument and getVersion methods can safely be called. |
boolean |
searchRecursivePrepDocs(long documentId,
long branchId,
long languageId,
java.lang.String pubReqSetName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RootPublisherContext(org.outerj.daisy.repository.Repository repository, PublisherImpl publisher, org.apache.avalon.framework.logger.Logger logger)
Method Detail |
---|
public java.util.Locale getLocale()
getLocale
in interface PublisherContext
public org.outerj.daisy.repository.Repository getRepository()
getRepository
in interface PublisherContext
public java.text.DateFormat getTimestampFormat()
getTimestampFormat
in interface PublisherContext
public long getDocumentId()
getDocumentId
in interface PublisherContext
public long getBranchId()
getBranchId
in interface PublisherContext
public long getLanguageId()
getLanguageId
in interface PublisherContext
public org.outerj.daisy.repository.VariantKey getVariantKey()
getVariantKey
in interface PublisherContext
public long getVersionId()
PublisherContext
NO_VERSION
. Otherwise, the actual version number
is returned.
getVersionId
in interface PublisherContext
public org.outerj.daisy.repository.Document getDocument()
getDocument
in interface PublisherContext
public org.outerj.daisy.repository.Version getVersion() throws org.outerj.daisy.repository.RepositoryException
PublisherContext
getVersion
in interface PublisherContext
org.outerj.daisy.repository.RepositoryException
public boolean hasDocument()
PublisherContext
hasDocument
in interface PublisherContext
public PublisherImpl getPublisher()
getPublisher
in interface PublisherContext
public org.apache.avalon.framework.logger.Logger getLogger()
getLogger
in interface PublisherContext
public PreparedDocuments getPreparedDocuments()
PublisherContext
getPreparedDocuments
in interface PublisherContext
public ContentProcessor getContentProcessor()
PublisherContext
getContentProcessor
in interface PublisherContext
public boolean searchRecursivePrepDocs(long documentId, long branchId, long languageId, java.lang.String pubReqSetName)
searchRecursivePrepDocs
in interface PublisherContext
public PublisherVersionMode getVersionMode()
getVersionMode
in interface PublisherContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |