Class UserPortraitTag

java.lang.Object
com.liferay.taglib.TagSupport
com.liferay.taglib.BaseBodyTagSupport
com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
com.liferay.taglib.util.AttributesTagSupport
com.liferay.taglib.util.IncludeTag
com.liferay.user.taglib.servlet.taglib.UserPortraitTag
All Implemented Interfaces:
com.liferay.taglib.DirectTag, com.liferay.taglib.util.ParamAncestorTag, com.liferay.taglib.util.PropertyAncestorTag, javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class UserPortraitTag extends com.liferay.taglib.util.IncludeTag
  • Field Summary

    Fields inherited from class com.liferay.taglib.BaseBodyTagSupport

    bodyContent

    Fields inherited from class com.liferay.taglib.TagSupport

    pageContext

    Fields inherited from interface javax.servlet.jsp.tagext.Tag

    EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected String
     
     
    com.liferay.portal.kernel.model.User
     
    long
     
    static String
    getUserPortraitHTML(String size, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
     
    protected boolean
     
    int
     
    protected void
    setAttributes(javax.servlet.http.HttpServletRequest httpServletRequest)
     
    void
    setPageContext(javax.servlet.jsp.PageContext pageContext)
     
    void
     
    void
    setUser(com.liferay.portal.kernel.model.User user)
     
    void
    setUserId(long userId)
     

    Methods inherited from class com.liferay.taglib.util.IncludeTag

    callSetAttributes, cleanUpSetAttributes, doClearTag, doEndTag, doInclude, doIncludeTheme, doStartTag, getBodyContentWrapper, getCustomPage, getEndPage, getOriginalServletRequest, getStartPage, include, includePage, isPortalPage, isUseCustomPage, logUnavailablePage, processStartTag, runTag, setPage, setPortletId, setStrict, setUseCustomPage, themeResourceExists

    Methods inherited from class com.liferay.taglib.util.AttributesTagSupport

    clearDynamicAttributes, getAttributeNamespace, getDynamicAttributes, release, setAttributeNamespace, setDynamicAttribute, setNamespacedAttribute

    Methods inherited from class com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl

    addParam, addProperty, clearParams, clearProperties, getParams, getProperties, getRemovedParameterNames, getRequest, getServletContext, isAllowEmptyParam, setAllowEmptyParam, setCopyCurrentRenderParameters, setServletContext

    Methods inherited from class com.liferay.taglib.BaseBodyTagSupport

    doAfterBody, doInitBody, getBodyContent, getBodyContentAsStringBundler, setBodyContent, writeBodyContent

    Methods inherited from class com.liferay.taglib.TagSupport

    findAncestorWithClass, getParent, setParent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.liferay.taglib.DirectTag

    doBodyTag, doBodyTag, doBodyTagAsString, doBodyTagAsString, doTag, doTag, doTagAsString, doTagAsString
  • Constructor Details

    • UserPortraitTag

      public UserPortraitTag()
  • Method Details

    • getUserPortraitHTML

      public static String getUserPortraitHTML(String size, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
    • getSize

      public String getSize()
    • getUser

      public com.liferay.portal.kernel.model.User getUser()
    • getUserId

      public long getUserId()
    • processEndTag

      public int processEndTag() throws Exception
      Overrides:
      processEndTag in class com.liferay.taglib.util.IncludeTag
      Throws:
      Exception
    • setPageContext

      public void setPageContext(javax.servlet.jsp.PageContext pageContext)
      Specified by:
      setPageContext in interface javax.servlet.jsp.tagext.Tag
      Overrides:
      setPageContext in class com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
    • setSize

      public void setSize(String size)
    • setUser

      public void setUser(com.liferay.portal.kernel.model.User user)
    • setUserId

      public void setUserId(long userId)
    • cleanUp

      protected void cleanUp()
      Overrides:
      cleanUp in class com.liferay.taglib.util.IncludeTag
    • getPage

      protected String getPage()
      Overrides:
      getPage in class com.liferay.taglib.util.IncludeTag
    • isCleanUpSetAttributes

      protected boolean isCleanUpSetAttributes()
      Overrides:
      isCleanUpSetAttributes in class com.liferay.taglib.util.IncludeTag
    • setAttributes

      protected void setAttributes(javax.servlet.http.HttpServletRequest httpServletRequest)
      Overrides:
      setAttributes in class com.liferay.taglib.util.IncludeTag