|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ail.core.Type
com.ail.core.Service
com.ail.core.document.generatedocument.RenderPdfDocumentService
public class RenderPdfDocumentService
This class provides an implementation of the render document service which renders to PDF using Apache FOP.
The render options supported by this implementation match up one-to-one with those supported by the Apache FOP renderer:RenderDocumentArg.getRenderOptionsArg() will result in the
option being enabled. For example, the following will enable allowCopyContent and allowPrint options
(setting them to "TRUE" in the Apache FOP):
command.setRenderOptionsArg("allowCopyContent=TRUE,allowPrint=TRUE,allowEditContent=FALSE");
| Field Summary |
|---|
| Fields inherited from class com.ail.core.Type |
|---|
jXPathContext, NOT_PERSISTED |
| Constructor Summary | |
|---|---|
RenderPdfDocumentService()
Default constructor |
|
| Method Summary | |
|---|---|
CommandArg |
getArgs()
Getter returning the arguments used by this entry point. |
Core |
getCore()
Getter to fetch the entry point's code. |
Version |
getVersion()
Fetch the version of this entry point. |
void |
invoke()
The 'business logic' of the entry point. |
void |
setArgs(CommandArg args)
Setter used to the set the entry points arguments. |
| Methods inherited from class com.ail.core.Service |
|---|
getConfiguration, getConfigurationNamespace, getSecurityPrincipal, getVersionEffectiveDate, resetConfiguration, setConfiguration |
| Methods inherited from class com.ail.core.Type |
|---|
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RenderPdfDocumentService()
| Method Detail |
|---|
public Core getCore()
getCore in class Servicepublic Version getVersion()
getVersion in class Servicepublic void setArgs(CommandArg args)
setArgs in class Serviceargs - for invokepublic CommandArg getArgs()
getArgs in class Service
public void invoke()
throws PreconditionException,
PostconditionException,
RenderException
invoke in class ServicePreconditionException
PostconditionException
RenderException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||