Package org.apache.ofbiz.content.survey
Class PdfSurveyServices
- java.lang.Object
-
- org.apache.ofbiz.content.survey.PdfSurveyServices
-
public class PdfSurveyServices extends java.lang.Object
PdfSurveyServices Class
-
-
Constructor Summary
Constructors Constructor Description PdfSurveyServices()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>
buildPdfFromSurveyResponse(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> rcontext)
static java.util.Map<java.lang.String,java.lang.Object>
buildSurveyFromPdf(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
buildSurveyQuestionsAndAnswers(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
Returns list of maps with "question" -> SurveyQuestion and "response" -> SurveyResponseAnswerstatic java.util.Map<java.lang.String,java.lang.Object>
buildSurveyResponseFromPdf(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
getAcroFieldsFromPdf(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.nio.ByteBuffer
getInputByteBuffer(java.util.Map<java.lang.String,? extends java.lang.Object> context, Delegator delegator)
static java.util.Map<java.lang.String,java.lang.Object>
setAcroFields(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
setAcroFieldsFromSurveyResponse(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
resource
public static final java.lang.String resource
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildSurveyFromPdf
public static java.util.Map<java.lang.String,java.lang.Object> buildSurveyFromPdf(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
buildSurveyResponseFromPdf
public static java.util.Map<java.lang.String,java.lang.Object> buildSurveyResponseFromPdf(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
getAcroFieldsFromPdf
public static java.util.Map<java.lang.String,java.lang.Object> getAcroFieldsFromPdf(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
setAcroFields
public static java.util.Map<java.lang.String,java.lang.Object> setAcroFields(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
buildPdfFromSurveyResponse
public static java.util.Map<java.lang.String,java.lang.Object> buildPdfFromSurveyResponse(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> rcontext)
-
buildSurveyQuestionsAndAnswers
public static java.util.Map<java.lang.String,java.lang.Object> buildSurveyQuestionsAndAnswers(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
Returns list of maps with "question" -> SurveyQuestion and "response" -> SurveyResponseAnswer
-
setAcroFieldsFromSurveyResponse
public static java.util.Map<java.lang.String,java.lang.Object> setAcroFieldsFromSurveyResponse(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
getInputByteBuffer
public static java.nio.ByteBuffer getInputByteBuffer(java.util.Map<java.lang.String,? extends java.lang.Object> context, Delegator delegator) throws GeneralException
- Throws:
GeneralException
-
-