org.outerj.daisy.frontend
Class AbstractDocumentApple
java.lang.Object
org.outerj.daisy.frontend.util.AbstractDaisyApple
org.outerj.daisy.frontend.AbstractDocumentApple
- Direct Known Subclasses:
- CreateDocumentVariantApple, DocumentApple
public abstract class AbstractDocumentApple
- extends AbstractDaisyApple
This class provides basic handling for all types of request related to a specific document,
more specifically the determination of the document variant (id, branch, language) to be
handled based on the URL path, the SiteConf and request parameters.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDocumentApple
public AbstractDocumentApple()
service
public final void service(ServiceManager serviceManager)
processInternal
protected final void processInternal(AppleRequest appleRequest,
AppleResponse appleResponse)
throws java.lang.Exception
- Specified by:
processInternal in class AbstractDaisyApple
- Throws:
java.lang.Exception
setBranchAndLanguage
protected void setBranchAndLanguage(long branchId,
long languageId)
throws java.lang.Exception
- Throws:
java.lang.Exception
processDocumentRequest
protected abstract void processDocumentRequest(AppleRequest appleRequest,
AppleResponse appleResponse)
throws java.lang.Exception
- Throws:
java.lang.Exception
needsInitialisation
protected abstract boolean needsInitialisation()
getDocumentId
protected long getDocumentId()
getBranchId
protected long getBranchId()
getLanguageId
protected long getLanguageId()
getVersionId
protected long getVersionId()
getVariantParams
protected java.lang.String getVariantParams()
getVariantQueryString
protected java.lang.String getVariantQueryString()
getSiteConf
protected SiteConf getSiteConf()
getRepository
protected org.outerj.daisy.repository.clientimpl.RemoteRepositoryImpl getRepository()
getServiceManager
protected ServiceManager getServiceManager()
getRequestedNavigationPath
protected java.lang.String getRequestedNavigationPath()
Copyright © -2006 . All Rights Reserved.