Class DiscussionTag
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.comment.taglib.servlet.taglib.DiscussionTag
- 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 DiscussionTag
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected void
cleanUp()
long
com.liferay.portal.kernel.comment.Discussion
protected String
getEditorURL
(javax.servlet.http.HttpServletRequest httpServletRequest) protected String
getFormAction
(javax.servlet.http.HttpServletRequest httpServletRequest) protected String
getPage()
protected String
getPaginationURL
(javax.servlet.http.HttpServletRequest httpServletRequest) long
boolean
protected boolean
boolean
boolean
boolean
void
setAssetEntryVisible
(boolean assetEntryVisible) protected void
setAttributes
(javax.servlet.http.HttpServletRequest httpServletRequest) void
setClassName
(String className) void
setClassPK
(long classPK) void
setDiscussion
(com.liferay.portal.kernel.comment.Discussion discussion) void
setFormAction
(String formAction) void
setFormName
(String formName) void
setHideControls
(boolean hideControls) void
setPageContext
(javax.servlet.jsp.PageContext pageContext) void
setRatingsEnabled
(boolean ratingsEnabled) void
setRedirect
(String redirect) void
setRefreshPageOnReply
(boolean refreshPageOnReply) 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, processEndTag, 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
-
DiscussionTag
public DiscussionTag()
-
-
Method Details
-
getClassName
-
getClassPK
public long getClassPK() -
getDiscussion
public com.liferay.portal.kernel.comment.Discussion getDiscussion() -
getFormName
-
getRedirect
-
getUserId
public long getUserId() -
isAssetEntryVisible
public boolean isAssetEntryVisible() -
isHideControls
public boolean isHideControls() -
isRatingsEnabled
public boolean isRatingsEnabled() -
isRefreshPageOnReply
public boolean isRefreshPageOnReply() -
setAssetEntryVisible
public void setAssetEntryVisible(boolean assetEntryVisible) -
setClassName
-
setClassPK
public void setClassPK(long classPK) -
setDiscussion
public void setDiscussion(com.liferay.portal.kernel.comment.Discussion discussion) -
setFormAction
-
setFormName
-
setHideControls
public void setHideControls(boolean hideControls) -
setPageContext
public void setPageContext(javax.servlet.jsp.PageContext pageContext) - Specified by:
setPageContext
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
setPageContext
in classcom.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
-
setRatingsEnabled
public void setRatingsEnabled(boolean ratingsEnabled) -
setRedirect
-
setRefreshPageOnReply
public void setRefreshPageOnReply(boolean refreshPageOnReply) -
setUserId
public void setUserId(long userId) -
cleanUp
protected void cleanUp()- Overrides:
cleanUp
in classcom.liferay.taglib.util.IncludeTag
-
getEditorURL
-
getFormAction
-
getPage
- Overrides:
getPage
in classcom.liferay.taglib.util.IncludeTag
-
getPaginationURL
-
isCleanUpSetAttributes
protected boolean isCleanUpSetAttributes()- Overrides:
isCleanUpSetAttributes
in classcom.liferay.taglib.util.IncludeTag
-
setAttributes
protected void setAttributes(javax.servlet.http.HttpServletRequest httpServletRequest) - Overrides:
setAttributes
in classcom.liferay.taglib.util.IncludeTag
-