Class CategoryContentWrapper

  • All Implemented Interfaces:
    ContentWrapper

    public class CategoryContentWrapper
    extends java.lang.Object
    implements ContentWrapper
    Category Content Worker: gets category content to display
    • Field Detail

      • module

        public static final java.lang.String module
      • locale

        protected java.util.Locale locale
      • mimeTypeId

        protected java.lang.String mimeTypeId
    • Constructor Detail

      • CategoryContentWrapper

        public CategoryContentWrapper​(LocalDispatcher dispatcher,
                                      GenericValue productCategory,
                                      java.util.Locale locale,
                                      java.lang.String mimeTypeId)
    • Method Detail

      • getProductCategoryContentAsText

        public static java.lang.String getProductCategoryContentAsText​(GenericValue productCategory,
                                                                       java.lang.String prodCatContentTypeId,
                                                                       HttpServletRequest request,
                                                                       java.lang.String encoderType)
      • getProductCategoryContentAsText

        public static java.lang.String getProductCategoryContentAsText​(GenericValue productCategory,
                                                                       java.lang.String prodCatContentTypeId,
                                                                       java.util.Locale locale,
                                                                       LocalDispatcher dispatcher,
                                                                       java.lang.String encoderType)
      • getProductCategoryContentAsText

        public static java.lang.String getProductCategoryContentAsText​(GenericValue productCategory,
                                                                       java.lang.String prodCatContentTypeId,
                                                                       java.util.Locale locale,
                                                                       java.lang.String mimeTypeId,
                                                                       Delegator delegator,
                                                                       LocalDispatcher dispatcher,
                                                                       java.lang.String encoderType)
      • getProductCategoryContentAsText

        public static void getProductCategoryContentAsText​(java.lang.String productCategoryId,
                                                           GenericValue productCategory,
                                                           java.lang.String prodCatContentTypeId,
                                                           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
      • getProductCategoryContentAsText

        public static void getProductCategoryContentAsText​(java.lang.String productCategoryId,
                                                           GenericValue productCategory,
                                                           java.lang.String prodCatContentTypeId,
                                                           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