@Entity public class WidgetImpl extends Object implements Widget, org.broadleafcommerce.common.admin.domain.AdminMainEntity, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity, WidgetAdminPresentation
WidgetAdminPresentation.GroupName, WidgetAdminPresentation.GroupOrder, WidgetAdminPresentation.TabName, WidgetAdminPresentation.TabOrder| Modifier and Type | Field and Description |
|---|---|
protected String |
css |
protected String |
description |
protected Boolean |
handleMultipleItems |
protected String |
html |
protected Long |
id |
protected String |
js |
protected String |
name |
protected List<StructuredContentTypeWidgetXref> |
structuredContentTypeWidgetXref |
protected String |
templatePath
Deprecated.
|
protected List<ContentZoneDefinitionXref> |
zoneDefinitions |
| Constructor and Description |
|---|
WidgetImpl() |
| Modifier and Type | Method and Description |
|---|---|
<G extends Widget> |
createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) |
boolean |
equals(Object o) |
String |
getCss() |
String |
getDescription() |
Boolean |
getHandleMultipleItems() |
String |
getHtml() |
Long |
getId() |
String |
getJs() |
String |
getMainEntityName() |
String |
getName() |
List<StructuredContentTypeWidgetXref> |
getStructuredContentTypeWidgetXref() |
String |
getTemplatePath() |
List<ContentZoneDefinitionXref> |
getZoneDefinitions() |
int |
hashCode() |
void |
setCss(String css)
Sets the CSS content for this widget
|
void |
setDescription(String description) |
void |
setHandleMultipleItems(Boolean handleMultipleItems) |
void |
setHtml(String html)
Sets the HTML content for this widget
|
void |
setId(Long id) |
void |
setJs(String js)
Sets the JavaScript content for this widget
|
void |
setName(String name) |
void |
setStructuredContentTypeWidgetXref(List<StructuredContentTypeWidgetXref> structuredContentTypeWidgetXref) |
void |
setTemplatePath(String templatePath) |
void |
setZoneDefinitions(List<ContentZoneDefinitionXref> zoneDefinitions)
Sets the zone definitions with which this widget is associated
|
protected Long id
protected String name
protected String description
@Deprecated protected String templatePath
protected Boolean handleMultipleItems
protected String js
protected String css
protected String html
protected List<StructuredContentTypeWidgetXref> structuredContentTypeWidgetXref
protected List<ContentZoneDefinitionXref> zoneDefinitions
public String getDescription()
getDescription in interface Widgetpublic void setDescription(String description)
setDescription in interface Widgetpublic String getTemplatePath()
getTemplatePath in interface Widgetpublic void setTemplatePath(String templatePath)
setTemplatePath in interface Widgetpublic Boolean getHandleMultipleItems()
getHandleMultipleItems in interface Widgetpublic void setHandleMultipleItems(Boolean handleMultipleItems)
setHandleMultipleItems in interface Widgetpublic String getJs()
public void setJs(String js)
Widgetpublic String getCss()
public void setCss(String css)
Widgetpublic String getHtml()
public void setHtml(String html)
Widgetpublic String getMainEntityName()
getMainEntityName in interface org.broadleafcommerce.common.admin.domain.AdminMainEntitypublic List<StructuredContentTypeWidgetXref> getStructuredContentTypeWidgetXref()
getStructuredContentTypeWidgetXref in interface Widgetpublic void setStructuredContentTypeWidgetXref(List<StructuredContentTypeWidgetXref> structuredContentTypeWidgetXref)
setStructuredContentTypeWidgetXref in interface Widgetpublic List<ContentZoneDefinitionXref> getZoneDefinitions()
getZoneDefinitions in interface Widgetpublic void setZoneDefinitions(List<ContentZoneDefinitionXref> zoneDefinitions)
WidgetsetZoneDefinitions in interface Widgetpublic <G extends Widget> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<Widget>CloneNotSupportedExceptionCopyright © 2020. All rights reserved.