Package org.apache.ofbiz.order.order
Class OrderContentWrapper
java.lang.Object
org.apache.ofbiz.order.order.OrderContentWrapper
- All Implemented Interfaces:
ContentWrapper
Order Content Worker: gets order content to display
-
Field Summary
Fields inherited from interface org.apache.ofbiz.content.content.ContentWrapper
CACHE_KEY_SEPARATOR
-
Constructor Summary
ConstructorDescriptionOrderContentWrapper
(GenericValue order, HttpServletRequest request) OrderContentWrapper
(LocalDispatcher dispatcher, GenericValue order, Locale locale, String mimeTypeId) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
getOrderContentAsText
(String orderId, String orderItemSeqId, GenericValue order, String orderContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, Writer outWriter) static void
getOrderContentAsText
(String orderId, String orderItemSeqId, GenericValue order, String orderContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, Writer outWriter, boolean cache) static String
getOrderContentAsText
(GenericValue order, String orderContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, String encoderType) static String
getOrderContentAsText
(GenericValue order, String orderContentTypeId, Locale locale, LocalDispatcher dispatcher, String encoderType) static String
getOrderContentAsText
(GenericValue order, String orderContentTypeId, HttpServletRequest request, String encoderType) static OrderContentWrapper
makeOrderContentWrapper
(GenericValue order, HttpServletRequest request)
-
Constructor Details
-
OrderContentWrapper
public OrderContentWrapper(LocalDispatcher dispatcher, GenericValue order, Locale locale, String mimeTypeId) -
OrderContentWrapper
-
-
Method Details
-
makeOrderContentWrapper
public static OrderContentWrapper makeOrderContentWrapper(GenericValue order, HttpServletRequest request) -
get
- Specified by:
get
in interfaceContentWrapper
-
getOrderContentAsText
public static String getOrderContentAsText(GenericValue order, String orderContentTypeId, HttpServletRequest request, String encoderType) -
getOrderContentAsText
public static String getOrderContentAsText(GenericValue order, String orderContentTypeId, Locale locale, LocalDispatcher dispatcher, String encoderType) -
getOrderContentAsText
public static String getOrderContentAsText(GenericValue order, String orderContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, String encoderType) -
getOrderContentAsText
public static void getOrderContentAsText(String orderId, String orderItemSeqId, GenericValue order, String orderContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, Writer outWriter) throws GeneralException, IOException - Throws:
GeneralException
IOException
-
getOrderContentAsText
public static void getOrderContentAsText(String orderId, String orderItemSeqId, GenericValue order, String orderContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, Writer outWriter, boolean cache) throws GeneralException, IOException - Throws:
GeneralException
IOException
-