@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 Widget
public void setDescription(String description)
setDescription
in interface Widget
public String getTemplatePath()
getTemplatePath
in interface Widget
public void setTemplatePath(String templatePath)
setTemplatePath
in interface Widget
public Boolean getHandleMultipleItems()
getHandleMultipleItems
in interface Widget
public void setHandleMultipleItems(Boolean handleMultipleItems)
setHandleMultipleItems
in interface Widget
public String getJs()
public void setJs(String js)
Widget
public String getCss()
public void setCss(String css)
Widget
public String getHtml()
public void setHtml(String html)
Widget
public String getMainEntityName()
getMainEntityName
in interface org.broadleafcommerce.common.admin.domain.AdminMainEntity
public List<StructuredContentTypeWidgetXref> getStructuredContentTypeWidgetXref()
getStructuredContentTypeWidgetXref
in interface Widget
public void setStructuredContentTypeWidgetXref(List<StructuredContentTypeWidgetXref> structuredContentTypeWidgetXref)
setStructuredContentTypeWidgetXref
in interface Widget
public List<ContentZoneDefinitionXref> getZoneDefinitions()
getZoneDefinitions
in interface Widget
public void setZoneDefinitions(List<ContentZoneDefinitionXref> zoneDefinitions)
Widget
setZoneDefinitions
in interface Widget
public <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>
CloneNotSupportedException
Copyright © 2020. All rights reserved.