Class CategoryContentWrapper
java.lang.Object
org.apache.ofbiz.product.category.CategoryContentWrapper
- All Implemented Interfaces:
ContentWrapper
Category Content Worker: gets category content to display
-
Field Summary
Fields inherited from interface org.apache.ofbiz.content.content.ContentWrapper
CACHE_KEY_SEPARATOR
-
Constructor Summary
ConstructorDescriptionCategoryContentWrapper
(GenericValue productCategory, HttpServletRequest request) CategoryContentWrapper
(LocalDispatcher dispatcher, GenericValue productCategory, Locale locale, String mimeTypeId) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
getProductCategoryContentAsText
(String productCategoryId, GenericValue productCategory, String prodCatContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, Writer outWriter) static void
getProductCategoryContentAsText
(String productCategoryId, GenericValue productCategory, String prodCatContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, Writer outWriter, boolean cache) static String
getProductCategoryContentAsText
(GenericValue productCategory, String prodCatContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, String encoderType) static String
getProductCategoryContentAsText
(GenericValue productCategory, String prodCatContentTypeId, Locale locale, LocalDispatcher dispatcher, String encoderType) static String
getProductCategoryContentAsText
(GenericValue productCategory, String prodCatContentTypeId, HttpServletRequest request, String encoderType) static CategoryContentWrapper
makeCategoryContentWrapper
(GenericValue productCategory, HttpServletRequest request)
-
Constructor Details
-
CategoryContentWrapper
public CategoryContentWrapper(LocalDispatcher dispatcher, GenericValue productCategory, Locale locale, String mimeTypeId) -
CategoryContentWrapper
-
-
Method Details
-
makeCategoryContentWrapper
public static CategoryContentWrapper makeCategoryContentWrapper(GenericValue productCategory, HttpServletRequest request) -
get
- Specified by:
get
in interfaceContentWrapper
-
getProductCategoryContentAsText
public static String getProductCategoryContentAsText(GenericValue productCategory, String prodCatContentTypeId, HttpServletRequest request, String encoderType) -
getProductCategoryContentAsText
public static String getProductCategoryContentAsText(GenericValue productCategory, String prodCatContentTypeId, Locale locale, LocalDispatcher dispatcher, String encoderType) -
getProductCategoryContentAsText
public static String getProductCategoryContentAsText(GenericValue productCategory, String prodCatContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, String encoderType) -
getProductCategoryContentAsText
public static void getProductCategoryContentAsText(String productCategoryId, GenericValue productCategory, String prodCatContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, Writer outWriter) throws GeneralException, IOException - Throws:
GeneralException
IOException
-
getProductCategoryContentAsText
public static void getProductCategoryContentAsText(String productCategoryId, GenericValue productCategory, String prodCatContentTypeId, Locale locale, String mimeTypeId, Delegator delegator, LocalDispatcher dispatcher, Writer outWriter, boolean cache) throws GeneralException, IOException - Throws:
GeneralException
IOException
-