Class AddToCartTag
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.commerce.frontend.taglib.servlet.taglib.AddToCartTag
- 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 AddToCartTag
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()intcom.liferay.commerce.product.catalog.CPCatalogEntrylongbooleanbooleanprotected StringgetPage()booleanbooleanbooleangetSize()voidsetAlignment(String alignment) voidsetAttributes(javax.servlet.http.HttpServletRequest httpServletRequest) voidsetCPCatalogEntry(com.liferay.commerce.product.catalog.CPCatalogEntry cpCatalogEntry) voidsetCPInstanceId(long cpInstanceId) voidsetIconOnly(boolean iconOnly) voidsetInline(boolean inline) voidsetNamespace(String namespace) voidsetPageContext(javax.servlet.jsp.PageContext pageContext) voidsetPublished(boolean published) voidsetPurchasable(boolean purchasable) voidsetQuantity(BigDecimal quantity) voidsetShowUnitOfMeasureSelector(boolean showUnitOfMeasureSelector) voidvoidsetSkuOptions(String skuOptions) Methods inherited from class com.liferay.taglib.util.IncludeTag
callSetAttributes, cleanUpSetAttributes, doClearTag, doEndTag, doInclude, doIncludeTheme, getBodyContentWrapper, getCustomPage, getEndPage, getOriginalServletRequest, getStartPage, include, includePage, isCleanUpSetAttributes, 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
-
AddToCartTag
public AddToCartTag()
-
-
Method Details
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException- Specified by:
doStartTagin interfacejavax.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classcom.liferay.taglib.util.IncludeTag- Throws:
javax.servlet.jsp.JspException
-
getAlignment
-
getCPCatalogEntry
public com.liferay.commerce.product.catalog.CPCatalogEntry getCPCatalogEntry() -
getCPInstanceId
public long getCPInstanceId() -
getIconOnly
public boolean getIconOnly() -
getInline
public boolean getInline() -
getNamespace
-
getPublished
public boolean getPublished() -
getPurchasable
public boolean getPurchasable() -
getQuantity
-
getShowUnitOfMeasureSelector
public boolean getShowUnitOfMeasureSelector() -
getSize
-
getSkuOptions
-
setAlignment
-
setAttributes
public void setAttributes(javax.servlet.http.HttpServletRequest httpServletRequest) - Overrides:
setAttributesin classcom.liferay.taglib.util.IncludeTag
-
setCPCatalogEntry
public void setCPCatalogEntry(com.liferay.commerce.product.catalog.CPCatalogEntry cpCatalogEntry) -
setCPInstanceId
public void setCPInstanceId(long cpInstanceId) -
setIconOnly
public void setIconOnly(boolean iconOnly) -
setInline
public void setInline(boolean inline) -
setNamespace
-
setPageContext
public void setPageContext(javax.servlet.jsp.PageContext pageContext) - Specified by:
setPageContextin interfacejavax.servlet.jsp.tagext.Tag- Overrides:
setPageContextin classcom.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
-
setPublished
public void setPublished(boolean published) -
setPurchasable
public void setPurchasable(boolean purchasable) -
setQuantity
-
setShowUnitOfMeasureSelector
public void setShowUnitOfMeasureSelector(boolean showUnitOfMeasureSelector) -
setSize
-
setSkuOptions
-
cleanUp
protected void cleanUp()- Overrides:
cleanUpin classcom.liferay.taglib.util.IncludeTag
-
getPage
- Overrides:
getPagein classcom.liferay.taglib.util.IncludeTag
-