Package com.avoka.tm.vo
Class MarshalUtils
- java.lang.Object
-
- com.avoka.tm.vo.MarshalUtils
-
public final class MarshalUtils extends Object
Provides internal utility function which are not publicly available in the API. Use the class TxnVoBuilder instead.- Since:
- 5.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Txn
marshalTxn(com.avoka.fc.core.entity.Submission sub, boolean withFormDataMap, boolean withFormXml, boolean withGroupNames, boolean withPropertyMap, boolean withReceiptPdf, boolean withFileAttachList, boolean withDeliveryFuncs)
Marshal a submission entity into a new Txn value object.static Txn
marshalTxn(com.avoka.fc.core.entity.Submission sub, boolean withFormDataMap, boolean withFormXml, boolean withGroupNames, boolean withPropertyMap, boolean withReceiptPdf, boolean withFileAttachList, boolean withDeliveryFuncs, boolean withComments)
Marshal a submission entity into a new Txn value object.
-
-
-
Method Detail
-
marshalTxn
public static Txn marshalTxn(com.avoka.fc.core.entity.Submission sub, boolean withFormDataMap, boolean withFormXml, boolean withGroupNames, boolean withPropertyMap, boolean withReceiptPdf, boolean withFileAttachList, boolean withDeliveryFuncs)
Marshal a submission entity into a new Txn value object.- Parameters:
sub
- the submission entitywithFormDataMap
- include form data mapwithFormXml
- include form XMLwithGroupNames
- include submission group nameswithPropertyMap
- include property mapwithReceiptPdf
- include the receipt PDF datawithFileAttachList
- include file attachmentswithDeliveryFuncs
- include transaction delivery functions- Returns:
- the new Txn value object
-
marshalTxn
public static Txn marshalTxn(com.avoka.fc.core.entity.Submission sub, boolean withFormDataMap, boolean withFormXml, boolean withGroupNames, boolean withPropertyMap, boolean withReceiptPdf, boolean withFileAttachList, boolean withDeliveryFuncs, boolean withComments)
Marshal a submission entity into a new Txn value object.- Parameters:
sub
- the submission entitywithFormDataMap
- include form data mapwithFormXml
- include form XMLwithGroupNames
- include submission group nameswithPropertyMap
- include property mapwithReceiptPdf
- include the receipt PDF datawithFileAttachList
- include file attachmentswithDeliveryFuncs
- include transaction delivery functionswithComments
- include workspaces comments- Returns:
- the new Txn value object
- Since:
- 19.11.0
-
-