Package org.apache.ofbiz.content.survey
Class PdfSurveyServices
java.lang.Object
org.apache.ofbiz.content.survey.PdfSurveyServices
PdfSurveyServices Class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildPdfFromSurveyResponse
(DispatchContext dctx, Map<String, ? extends Object> rcontext) buildSurveyFromPdf
(DispatchContext dctx, Map<String, ? extends Object> context) buildSurveyQuestionsAndAnswers
(DispatchContext dctx, Map<String, ? extends Object> context) Returns list of maps with "question" -> SurveyQuestion and "response" -> SurveyResponseAnswerbuildSurveyResponseFromPdf
(DispatchContext dctx, Map<String, ? extends Object> context) getAcroFieldsFromPdf
(DispatchContext dctx, Map<String, ? extends Object> context) static ByteBuffer
getInputByteBuffer
(Map<String, ? extends Object> context, Delegator delegator) setAcroFields
(DispatchContext dctx, Map<String, ? extends Object> context) setAcroFieldsFromSurveyResponse
(DispatchContext dctx, Map<String, ? extends Object> context)
-
Constructor Details
-
PdfSurveyServices
public PdfSurveyServices()
-
-
Method Details
-
buildSurveyFromPdf
-
buildSurveyResponseFromPdf
-
getAcroFieldsFromPdf
-
setAcroFields
-
buildPdfFromSurveyResponse
-
buildSurveyQuestionsAndAnswers
public static Map<String,Object> buildSurveyQuestionsAndAnswers(DispatchContext dctx, Map<String, ? extends Object> context) Returns list of maps with "question" -> SurveyQuestion and "response" -> SurveyResponseAnswer -
setAcroFieldsFromSurveyResponse
-
getInputByteBuffer
public static ByteBuffer getInputByteBuffer(Map<String, ? extends Object> context, Delegator delegator) throws GeneralException- Throws:
GeneralException
-