Package com.avoka.fc.core.service.fop
Class FopRenderReceiptService
- java.lang.Object
-
- com.avoka.fc.core.service.BaseService
-
- com.avoka.fc.core.service.CayenneService
-
- com.avoka.fc.core.service.AbstractRenderReceiptService
-
- com.avoka.fc.core.service.fop.FopRenderReceiptService
-
- All Implemented Interfaces:
IRenderReceiptService
,IServiceDefinitionAware
public class FopRenderReceiptService extends AbstractRenderReceiptService
Provides an Apache FOP PDF Receipt Rendering service.
-
-
Field Summary
-
Fields inherited from class com.avoka.fc.core.service.AbstractRenderReceiptService
CONTENT_TYPE_PDF
-
-
Constructor Summary
Constructors Constructor Description FopRenderReceiptService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DataDocument
getReceiptDocument(Submission submission, HttpServletRequest request, RequestLog requestLog, String receiptMode)
Return the PDF Receipt DataDocument for the submission, request and requestLog.boolean
requiresLiveCycle()
Returns false.-
Methods inherited from class com.avoka.fc.core.service.AbstractRenderReceiptService
getMaxProcesses, getServiceDefinition, hasSignatureReceiptTemplate, isSignatureReceiptRequest, renderReceipt, renderReceipt, setMaxProcesses, setServiceDefinition, setTestMode, updateReceiptMode, updateReceiptMode
-
Methods inherited from class com.avoka.fc.core.service.CayenneService
commitChanges, deleteObject, deleteObjects, findObject, getDataContext, getDataDomain, getObjectForPK, getObjectStore, newObject, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, refetchEntity, refetchObject, registerNewObject, rollbackChanges, toMap, toMap
-
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
-
-
-
Method Detail
-
requiresLiveCycle
public boolean requiresLiveCycle()
Returns false.- Returns:
- false
- See Also:
IRenderReceiptService.requiresLiveCycle()
-
getReceiptDocument
protected DataDocument getReceiptDocument(Submission submission, HttpServletRequest request, RequestLog requestLog, String receiptMode) throws ApplicationException
Description copied from class:AbstractRenderReceiptService
Return the PDF Receipt DataDocument for the submission, request and requestLog.- Specified by:
getReceiptDocument
in classAbstractRenderReceiptService
- Parameters:
submission
- the form submissionrequest
- the servlet requestrequestLog
- the request logreceiptMode
- receipt mode in [ Web | Email | Delivery ]- Returns:
- the PDF Receipt DataDocument for the submission, request and requestLog
- Throws:
ApplicationException
-
-