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
bodyContentFields inherited from class com.liferay.taglib.TagSupport
pageContextFields 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 voidcleanUp()longcom.liferay.portal.kernel.comment.Discussionprotected StringgetEditorURL(javax.servlet.http.HttpServletRequest httpServletRequest) protected StringgetFormAction(javax.servlet.http.HttpServletRequest httpServletRequest) protected StringgetPage()protected StringgetPaginationURL(javax.servlet.http.HttpServletRequest httpServletRequest) longbooleanprotected booleanbooleanbooleanbooleanvoidsetAssetEntryVisible(boolean assetEntryVisible) protected voidsetAttributes(javax.servlet.http.HttpServletRequest httpServletRequest) voidsetClassName(String className) voidsetClassPK(long classPK) voidsetDiscussion(com.liferay.portal.kernel.comment.Discussion discussion) voidsetFormAction(String formAction) voidsetFormName(String formName) voidsetHideControls(boolean hideControls) voidsetPageContext(javax.servlet.jsp.PageContext pageContext) voidsetRatingsEnabled(boolean ratingsEnabled) voidsetRedirect(String redirect) voidsetRefreshPageOnReply(boolean refreshPageOnReply) voidsetUserId(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, themeResourceExistsMethods inherited from class com.liferay.taglib.util.AttributesTagSupport
clearDynamicAttributes, getAttributeNamespace, getDynamicAttributes, release, setAttributeNamespace, setDynamicAttribute, setNamespacedAttributeMethods inherited from class com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
addParam, addProperty, clearParams, clearProperties, getParams, getProperties, getRemovedParameterNames, getRequest, getServletContext, isAllowEmptyParam, setAllowEmptyParam, setCopyCurrentRenderParameters, setServletContextMethods inherited from class com.liferay.taglib.BaseBodyTagSupport
doAfterBody, doInitBody, getBodyContent, getBodyContentAsStringBundler, setBodyContent, writeBodyContentMethods inherited from class com.liferay.taglib.TagSupport
findAncestorWithClass, getParent, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
setPageContextin interfacejavax.servlet.jsp.tagext.Tag- Overrides:
setPageContextin 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:
cleanUpin classcom.liferay.taglib.util.IncludeTag
-
getEditorURL
-
getFormAction
-
getPage
- Overrides:
getPagein classcom.liferay.taglib.util.IncludeTag
-
getPaginationURL
-
isCleanUpSetAttributes
protected boolean isCleanUpSetAttributes()- Overrides:
isCleanUpSetAttributesin classcom.liferay.taglib.util.IncludeTag
-
setAttributes
protected void setAttributes(javax.servlet.http.HttpServletRequest httpServletRequest) - Overrides:
setAttributesin classcom.liferay.taglib.util.IncludeTag
-