Class RatingsTag
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.ratings.taglib.servlet.taglib.RatingsTag
- 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 RatingsTag
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
int
protected String
getPage()
com.liferay.ratings.kernel.model.RatingsEntry
com.liferay.ratings.kernel.model.RatingsStats
getType()
getUrl()
boolean
protected void
setAttributes
(javax.servlet.http.HttpServletRequest httpServletRequest) void
setClassName
(String className) void
setClassPK
(long classPK) void
setContentTitle
(String contentTitle) void
setInTrash
(boolean inTrash) void
setNumberOfStars
(int numberOfStars) void
setPageContext
(javax.servlet.jsp.PageContext pageContext) void
setRatingsEntry
(com.liferay.ratings.kernel.model.RatingsEntry ratingsEntry) void
setRatingsStats
(com.liferay.ratings.kernel.model.RatingsStats ratingsStats) void
void
Methods inherited from class com.liferay.taglib.util.IncludeTag
callSetAttributes, cleanUpSetAttributes, doClearTag, doEndTag, doInclude, doIncludeTheme, doStartTag, getBodyContentWrapper, getCustomPage, getEndPage, getOriginalServletRequest, getStartPage, include, includePage, isCleanUpSetAttributes, 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
-
RatingsTag
public RatingsTag()
-
-
Method Details
-
getClassName
-
getClassPK
public long getClassPK() -
getContentTitle
-
getNumberOfStars
public int getNumberOfStars() -
getRatingsEntry
public com.liferay.ratings.kernel.model.RatingsEntry getRatingsEntry() -
getRatingsStats
public com.liferay.ratings.kernel.model.RatingsStats getRatingsStats() -
getType
-
getUrl
-
isInTrash
public boolean isInTrash() -
setClassName
-
setClassPK
public void setClassPK(long classPK) -
setContentTitle
-
setInTrash
public void setInTrash(boolean inTrash) -
setNumberOfStars
public void setNumberOfStars(int numberOfStars) -
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
-
setRatingsEntry
public void setRatingsEntry(com.liferay.ratings.kernel.model.RatingsEntry ratingsEntry) -
setRatingsStats
public void setRatingsStats(com.liferay.ratings.kernel.model.RatingsStats ratingsStats) -
setType
-
setUrl
-
cleanUp
protected void cleanUp()- Overrides:
cleanUp
in classcom.liferay.taglib.util.IncludeTag
-
getPage
- Overrides:
getPage
in classcom.liferay.taglib.util.IncludeTag
-
setAttributes
protected void setAttributes(javax.servlet.http.HttpServletRequest httpServletRequest) - Overrides:
setAttributes
in classcom.liferay.taglib.util.IncludeTag
-