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

    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
     
    int
     
     
    com.liferay.commerce.product.catalog.CPCatalogEntry
     
    long
     
    boolean
     
    boolean
     
     
    protected String
     
    boolean
     
    boolean
     
     
    boolean
     
     
     
    void
    setAlignment(String alignment)
     
    void
    setAttributes(javax.servlet.http.HttpServletRequest httpServletRequest)
     
    void
    setCPCatalogEntry(com.liferay.commerce.product.catalog.CPCatalogEntry cpCatalogEntry)
     
    void
    setCPInstanceId(long cpInstanceId)
     
    void
    setIconOnly(boolean iconOnly)
     
    void
    setInline(boolean inline)
     
    void
    setNamespace(String namespace)
     
    void
    setPageContext(javax.servlet.jsp.PageContext pageContext)
     
    void
    setPublished(boolean published)
     
    void
    setPurchasable(boolean purchasable)
     
    void
     
    void
    setShowUnitOfMeasureSelector(boolean showUnitOfMeasureSelector)
     
    void
     
    void
    setSkuOptions(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, 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

    • AddToCartTag

      public AddToCartTag()
  • Method Details

    • doStartTag

      public int doStartTag() throws javax.servlet.jsp.JspException
      Specified by:
      doStartTag in interface javax.servlet.jsp.tagext.Tag
      Overrides:
      doStartTag in class com.liferay.taglib.util.IncludeTag
      Throws:
      javax.servlet.jsp.JspException
    • getAlignment

      public String getAlignment()
    • getCPCatalogEntry

      public com.liferay.commerce.product.catalog.CPCatalogEntry getCPCatalogEntry()
    • getCPInstanceId

      public long getCPInstanceId()
    • getIconOnly

      public boolean getIconOnly()
    • getInline

      public boolean getInline()
    • getNamespace

      public String getNamespace()
    • getPublished

      public boolean getPublished()
    • getPurchasable

      public boolean getPurchasable()
    • getQuantity

      public BigDecimal getQuantity()
    • getShowUnitOfMeasureSelector

      public boolean getShowUnitOfMeasureSelector()
    • getSize

      public String getSize()
    • getSkuOptions

      public String getSkuOptions()
    • setAlignment

      public void setAlignment(String alignment)
    • setAttributes

      public void setAttributes(javax.servlet.http.HttpServletRequest httpServletRequest)
      Overrides:
      setAttributes in class com.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

      public void setNamespace(String namespace)
    • 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
    • setPublished

      public void setPublished(boolean published)
    • setPurchasable

      public void setPurchasable(boolean purchasable)
    • setQuantity

      public void setQuantity(BigDecimal quantity)
    • setShowUnitOfMeasureSelector

      public void setShowUnitOfMeasureSelector(boolean showUnitOfMeasureSelector)
    • setSize

      public void setSize(String size)
    • setSkuOptions

      public void setSkuOptions(String skuOptions)
    • 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