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 Summary
Modifier and TypeMethodDescriptiongetCss()getHtml()getId()getJs()getName()voidSets the CSS content for this widgetvoidsetDescription(String description) voidsetHandleMultipleItems(Boolean handleMultipleItems) voidSets the HTML content for this widgetvoidvoidSets the JavaScript content for this widgetvoidvoidsetStructuredContentTypeWidgetXref(List<StructuredContentTypeWidgetXref> structuredContentTypeWidgetXref) voidsetZoneDefinitions(List<ContentZoneDefinitionXref> zoneDefinitions) Sets the zone definitions with which this widget is associatedMethods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable
createOrRetrieveCopyInstance
-
Method Details
-
getId
Long getId() -
setId
-
getName
String getName() -
setName
-
getDescription
String getDescription() -
setDescription
-
getHandleMultipleItems
Boolean getHandleMultipleItems() -
setHandleMultipleItems
-
getStructuredContentTypeWidgetXref
List<StructuredContentTypeWidgetXref> getStructuredContentTypeWidgetXref() -
setStructuredContentTypeWidgetXref
void setStructuredContentTypeWidgetXref(List<StructuredContentTypeWidgetXref> structuredContentTypeWidgetXref) -
getJs
String getJs()- Returns:
- the JavaScript content for this widget
-
setJs
Sets the JavaScript content for this widget- Parameters:
js-
-
getCss
String getCss()- Returns:
- the CSS content for this widget
-
setCss
Sets the CSS content for this widget- Parameters:
css-
-
getHtml
String getHtml()- Returns:
- the HTML content for this widget
-
setHtml
Sets the HTML content for this widget- Parameters:
html-
-
getZoneDefinitions
List<ContentZoneDefinitionXref> getZoneDefinitions()- Returns:
- the zone definitions with which this widget is associated
-
setZoneDefinitions
Sets the zone definitions with which this widget is associated- Parameters:
zoneDefinitions-
-