Package org.apache.ofbiz.product.config
Class ProductConfigItemContentWrapper
java.lang.Object
org.apache.ofbiz.product.config.ProductConfigItemContentWrapper
- All Implemented Interfaces:
ContentWrapper
Product Config Item Content Worker: gets product content to display
-
Field Summary
Fields inherited from interface org.apache.ofbiz.content.content.ContentWrapper
CACHE_KEY_SEPARATOR
-
Constructor Summary
ConstructorDescriptionProductConfigItemContentWrapper
(GenericValue productConfigItem, HttpServletRequest request) ProductConfigItemContentWrapper
(LocalDispatcher dispatcher, GenericValue productConfigItem, Locale locale, String mimeTypeId) -
Method Summary
Modifier and TypeMethodDescriptionGets delegator.Gets dispatcher.static void
getProductConfigItemContentAsText
(String configItemId, GenericValue productConfigItem, String confItemContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, Writer outWriter) static void
getProductConfigItemContentAsText
(String configItemId, GenericValue productConfigItem, String confItemContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, Writer outWriter, boolean cache) static String
getProductConfigItemContentAsText
(GenericValue productConfigItem, String confItemContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, String encoderType) static String
getProductConfigItemContentAsText
(GenericValue productConfigItem, String confItemContentTypeId, Locale locale, LocalDispatcher dispatcher, String encoderType) static String
getProductConfigItemContentAsText
(GenericValue productConfigItem, String confItemContentTypeId, HttpServletRequest request, String encoderType) makeProductConfigItemContentWrapper
(GenericValue productConfigItem, HttpServletRequest request)
-
Constructor Details
-
ProductConfigItemContentWrapper
public ProductConfigItemContentWrapper(LocalDispatcher dispatcher, GenericValue productConfigItem, Locale locale, String mimeTypeId) -
ProductConfigItemContentWrapper
-
-
Method Details
-
makeProductConfigItemContentWrapper
public static ProductConfigItemContentWrapper makeProductConfigItemContentWrapper(GenericValue productConfigItem, HttpServletRequest request) -
get
- Specified by:
get
in interfaceContentWrapper
-
getDelegator
Gets delegator.- Returns:
- the delegator
-
getDispatcher
Gets dispatcher.- Returns:
- the dispatcher
-
getProductConfigItemContentAsText
public static String getProductConfigItemContentAsText(GenericValue productConfigItem, String confItemContentTypeId, HttpServletRequest request, String encoderType) -
getProductConfigItemContentAsText
public static String getProductConfigItemContentAsText(GenericValue productConfigItem, String confItemContentTypeId, Locale locale, LocalDispatcher dispatcher, String encoderType) -
getProductConfigItemContentAsText
public static String getProductConfigItemContentAsText(GenericValue productConfigItem, String confItemContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, String encoderType) -
getProductConfigItemContentAsText
public static void getProductConfigItemContentAsText(String configItemId, GenericValue productConfigItem, String confItemContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, Writer outWriter) throws GeneralException, IOException - Throws:
GeneralException
IOException
-
getProductConfigItemContentAsText
public static void getProductConfigItemContentAsText(String configItemId, GenericValue productConfigItem, String confItemContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, Writer outWriter, boolean cache) throws GeneralException, IOException - Throws:
GeneralException
IOException
-