Class PartyContentWrapper

  • All Implemented Interfaces:
    ContentWrapper

    public class PartyContentWrapper
    extends java.lang.Object
    implements ContentWrapper
    WorkEffortContentWrapper; gets work effort content for display
    • Field Detail

      • module

        public static final java.lang.String module
      • CACHE_KEY_SEPARATOR

        public static final java.lang.String CACHE_KEY_SEPARATOR
        See Also:
        Constant Field Values
      • locale

        protected java.util.Locale locale
      • mimeTypeId

        protected java.lang.String mimeTypeId
    • Method Detail

      • get

        public java.lang.String get​(java.lang.String contentTypeId,
                                    boolean useCache,
                                    java.lang.String encoderType)
      • getId

        public java.lang.String getId​(java.lang.String contentTypeId)
      • getList

        public java.util.List<java.lang.String> getList​(java.lang.String contentTypeId)
      • getContent

        public java.lang.String getContent​(java.lang.String contentId,
                                           boolean useCache,
                                           java.lang.String encoderType)
      • getContent

        public java.lang.String getContent​(java.lang.String contentId,
                                           java.lang.String encoderType)
      • getPartyContentAsText

        public static java.lang.String getPartyContentAsText​(GenericValue party,
                                                             java.lang.String partyContentId,
                                                             HttpServletRequest request,
                                                             java.lang.String encoderType)
      • getPartyContentAsText

        public static java.lang.String getPartyContentAsText​(GenericValue party,
                                                             java.lang.String partyContentId,
                                                             java.util.Locale locale,
                                                             LocalDispatcher dispatcher,
                                                             java.lang.String encoderType)
      • getPartyContentAsText

        public static java.lang.String getPartyContentAsText​(GenericValue party,
                                                             java.lang.String partyContentTypeId,
                                                             java.util.Locale locale,
                                                             java.lang.String mimeTypeId,
                                                             Delegator delegator,
                                                             LocalDispatcher dispatcher,
                                                             boolean useCache,
                                                             java.lang.String encoderType)
      • getPartyContentAsText

        public static java.lang.String getPartyContentAsText​(GenericValue party,
                                                             java.lang.String contentId,
                                                             java.lang.String partyContentTypeId,
                                                             java.util.Locale locale,
                                                             java.lang.String mimeTypeId,
                                                             Delegator delegator,
                                                             LocalDispatcher dispatcher,
                                                             boolean useCache,
                                                             java.lang.String encoderType)
      • getPartyContentAsText

        public static void getPartyContentAsText​(java.lang.String contentId,
                                                 java.lang.String partyId,
                                                 GenericValue party,
                                                 java.lang.String partyContentTypeId,
                                                 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
      • getPartyContentAsText

        public static void getPartyContentAsText​(java.lang.String contentId,
                                                 java.lang.String partyId,
                                                 GenericValue party,
                                                 java.lang.String partyContentTypeId,
                                                 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
      • getPartyContentTextList

        public static java.util.List<java.lang.String> getPartyContentTextList​(GenericValue party,
                                                                               java.lang.String partyContentTypeId,
                                                                               java.util.Locale locale,
                                                                               java.lang.String mimeTypeId,
                                                                               Delegator delegator,
                                                                               LocalDispatcher dispatcher)
                                                                        throws GeneralException,
                                                                               java.io.IOException
        Throws:
        GeneralException
        java.io.IOException
      • getFirstPartyContentByType

        public static GenericValue getFirstPartyContentByType​(java.lang.String partyId,
                                                              GenericValue party,
                                                              java.lang.String partyContentTypeId,
                                                              Delegator delegator)