Package org.apache.ofbiz.product.config
Class ProductConfigItemContentWrapper
- java.lang.Object
-
- org.apache.ofbiz.product.config.ProductConfigItemContentWrapper
-
- All Implemented Interfaces:
ContentWrapper
public class ProductConfigItemContentWrapper extends java.lang.Object implements ContentWrapper
Product Config Item Content Worker: gets product content to display
-
-
Field Summary
Fields Modifier and Type Field Description protected Delegator
delegator
protected java.lang.String
delegatorName
protected LocalDispatcher
dispatcher
protected java.lang.String
dispatcherName
protected java.util.Locale
locale
protected java.lang.String
mimeTypeId
static java.lang.String
module
protected GenericValue
productConfigItem
static java.lang.String
SEPARATOR
-
Constructor Summary
Constructors Constructor Description ProductConfigItemContentWrapper(GenericValue productConfigItem, javax.servlet.http.HttpServletRequest request)
ProductConfigItemContentWrapper(LocalDispatcher dispatcher, GenericValue productConfigItem, java.util.Locale locale, java.lang.String mimeTypeId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringUtil.StringWrapper
get(java.lang.String confItemContentTypeId, java.lang.String encoderType)
Delegator
getDelegator()
LocalDispatcher
getDispatcher()
static void
getProductConfigItemContentAsText(java.lang.String configItemId, GenericValue productConfigItem, java.lang.String confItemContentTypeId, java.util.Locale locale, java.lang.String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, java.io.Writer outWriter)
static void
getProductConfigItemContentAsText(java.lang.String configItemId, GenericValue productConfigItem, java.lang.String confItemContentTypeId, java.util.Locale locale, java.lang.String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, java.io.Writer outWriter, boolean cache)
static java.lang.String
getProductConfigItemContentAsText(GenericValue productConfigItem, java.lang.String confItemContentTypeId, java.util.Locale locale, java.lang.String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, java.lang.String encoderType)
static java.lang.String
getProductConfigItemContentAsText(GenericValue productConfigItem, java.lang.String confItemContentTypeId, java.util.Locale locale, LocalDispatcher dispatcher, java.lang.String encoderType)
static java.lang.String
getProductConfigItemContentAsText(GenericValue productConfigItem, java.lang.String confItemContentTypeId, javax.servlet.http.HttpServletRequest request, java.lang.String encoderType)
static ProductConfigItemContentWrapper
makeProductConfigItemContentWrapper(GenericValue productConfigItem, javax.servlet.http.HttpServletRequest request)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
SEPARATOR
public static final java.lang.String SEPARATOR
- See Also:
- Constant Field Values
-
dispatcher
protected transient LocalDispatcher dispatcher
-
dispatcherName
protected java.lang.String dispatcherName
-
delegator
protected transient Delegator delegator
-
delegatorName
protected java.lang.String delegatorName
-
productConfigItem
protected GenericValue productConfigItem
-
locale
protected java.util.Locale locale
-
mimeTypeId
protected java.lang.String mimeTypeId
-
-
Constructor Detail
-
ProductConfigItemContentWrapper
public ProductConfigItemContentWrapper(LocalDispatcher dispatcher, GenericValue productConfigItem, java.util.Locale locale, java.lang.String mimeTypeId)
-
ProductConfigItemContentWrapper
public ProductConfigItemContentWrapper(GenericValue productConfigItem, javax.servlet.http.HttpServletRequest request)
-
-
Method Detail
-
makeProductConfigItemContentWrapper
public static ProductConfigItemContentWrapper makeProductConfigItemContentWrapper(GenericValue productConfigItem, javax.servlet.http.HttpServletRequest request)
-
get
public StringUtil.StringWrapper get(java.lang.String confItemContentTypeId, java.lang.String encoderType)
- Specified by:
get
in interfaceContentWrapper
-
getDelegator
public Delegator getDelegator()
-
getDispatcher
public LocalDispatcher getDispatcher()
-
getProductConfigItemContentAsText
public static java.lang.String getProductConfigItemContentAsText(GenericValue productConfigItem, java.lang.String confItemContentTypeId, javax.servlet.http.HttpServletRequest request, java.lang.String encoderType)
-
getProductConfigItemContentAsText
public static java.lang.String getProductConfigItemContentAsText(GenericValue productConfigItem, java.lang.String confItemContentTypeId, java.util.Locale locale, LocalDispatcher dispatcher, java.lang.String encoderType)
-
getProductConfigItemContentAsText
public static java.lang.String getProductConfigItemContentAsText(GenericValue productConfigItem, java.lang.String confItemContentTypeId, java.util.Locale locale, java.lang.String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, java.lang.String encoderType)
-
getProductConfigItemContentAsText
public static void getProductConfigItemContentAsText(java.lang.String configItemId, GenericValue productConfigItem, java.lang.String confItemContentTypeId, java.util.Locale locale, java.lang.String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, java.io.Writer outWriter) throws GeneralException, java.io.IOException
- Throws:
GeneralException
java.io.IOException
-
getProductConfigItemContentAsText
public static void getProductConfigItemContentAsText(java.lang.String configItemId, GenericValue productConfigItem, java.lang.String confItemContentTypeId, java.util.Locale locale, java.lang.String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, java.io.Writer outWriter, boolean cache) throws GeneralException, java.io.IOException
- Throws:
GeneralException
java.io.IOException
-
-