Interface Widget

All Superinterfaces:
org.broadleafcommerce.common.copy.MultiTenantCloneable<Widget>, Serializable
All Known Implementing Classes:
WidgetImpl

public interface Widget extends Serializable, org.broadleafcommerce.common.copy.MultiTenantCloneable<Widget>
Author:
Elbert Bautista (elbertbautista)
  • Method Details

    • getId

      Long getId()
    • setId

      void setId(Long id)
    • getName

      String getName()
    • setName

      void setName(String name)
    • getDescription

      String getDescription()
    • setDescription

      void setDescription(String description)
    • getHandleMultipleItems

      Boolean getHandleMultipleItems()
    • setHandleMultipleItems

      void setHandleMultipleItems(Boolean handleMultipleItems)
    • getStructuredContentTypeWidgetXref

      List<StructuredContentTypeWidgetXref> getStructuredContentTypeWidgetXref()
    • setStructuredContentTypeWidgetXref

      void setStructuredContentTypeWidgetXref(List<StructuredContentTypeWidgetXref> structuredContentTypeWidgetXref)
    • getJs

      String getJs()
      Returns:
      the JavaScript content for this widget
    • setJs

      void setJs(String js)
      Sets the JavaScript content for this widget
      Parameters:
      js -
    • getCss

      String getCss()
      Returns:
      the CSS content for this widget
    • setCss

      void setCss(String css)
      Sets the CSS content for this widget
      Parameters:
      css -
    • getHtml

      String getHtml()
      Returns:
      the HTML content for this widget
    • setHtml

      void setHtml(String html)
      Sets the HTML content for this widget
      Parameters:
      html -
    • getZoneDefinitions

      List<ContentZoneDefinitionXref> getZoneDefinitions()
      Returns:
      the zone definitions with which this widget is associated
    • setZoneDefinitions

      void setZoneDefinitions(List<ContentZoneDefinitionXref> zoneDefinitions)
      Sets the zone definitions with which this widget is associated
      Parameters:
      zoneDefinitions -