public class ProductConfigItemContentWrapper extends Object implements ContentWrapper
Modifier and Type | Field and Description |
---|---|
protected Delegator |
delegator |
protected String |
delegatorName |
protected LocalDispatcher |
dispatcher |
protected String |
dispatcherName |
protected Locale |
locale |
protected String |
mimeTypeId |
static String |
module |
protected GenericValue |
productConfigItem |
static String |
SEPARATOR |
Constructor and Description |
---|
ProductConfigItemContentWrapper(GenericValue productConfigItem,
HttpServletRequest request) |
ProductConfigItemContentWrapper(LocalDispatcher dispatcher,
GenericValue productConfigItem,
Locale locale,
String mimeTypeId) |
Modifier and Type | Method and Description |
---|---|
StringUtil.StringWrapper |
get(String confItemContentTypeId,
String encoderType) |
Delegator |
getDelegator() |
LocalDispatcher |
getDispatcher() |
static String |
getProductConfigItemContentAsText(GenericValue productConfigItem,
String confItemContentTypeId,
HttpServletRequest request,
String encoderType) |
static String |
getProductConfigItemContentAsText(GenericValue productConfigItem,
String confItemContentTypeId,
Locale locale,
LocalDispatcher dispatcher,
String encoderType) |
static String |
getProductConfigItemContentAsText(GenericValue productConfigItem,
String confItemContentTypeId,
Locale locale,
String mimeTypeId,
Delegator delegator,
LocalDispatcher dispatcher,
String encoderType) |
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 ProductConfigItemContentWrapper |
makeProductConfigItemContentWrapper(GenericValue productConfigItem,
HttpServletRequest request) |
public static final String module
public static final String SEPARATOR
protected transient LocalDispatcher dispatcher
protected String dispatcherName
protected transient Delegator delegator
protected String delegatorName
protected GenericValue productConfigItem
protected Locale locale
protected String mimeTypeId
public ProductConfigItemContentWrapper(LocalDispatcher dispatcher, GenericValue productConfigItem, Locale locale, String mimeTypeId)
public ProductConfigItemContentWrapper(GenericValue productConfigItem, HttpServletRequest request)
public static ProductConfigItemContentWrapper makeProductConfigItemContentWrapper(GenericValue productConfigItem, HttpServletRequest request)
public StringUtil.StringWrapper get(String confItemContentTypeId, String encoderType)
get
in interface ContentWrapper
public Delegator getDelegator()
public LocalDispatcher getDispatcher()
public static String getProductConfigItemContentAsText(GenericValue productConfigItem, String confItemContentTypeId, HttpServletRequest request, String encoderType)
public static String getProductConfigItemContentAsText(GenericValue productConfigItem, String confItemContentTypeId, Locale locale, LocalDispatcher dispatcher, String encoderType)
public static String getProductConfigItemContentAsText(GenericValue productConfigItem, String confItemContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, String encoderType)
public static void getProductConfigItemContentAsText(String configItemId, GenericValue productConfigItem, String confItemContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, Writer outWriter) throws GeneralException, IOException
GeneralException
IOException
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
GeneralException
IOException