|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.cms.structure.domain.StructuredContentImpl
@Entity public class StructuredContentImpl
Created by bpolster.
| Nested Class Summary | |
|---|---|
static class |
StructuredContentImpl.Presentation
|
| Field Summary | |
|---|---|
protected AdminAuditable |
auditable
|
protected String |
contentName
|
protected Long |
id
|
protected Locale |
locale
|
protected Boolean |
offlineFlag
|
protected Integer |
priority
|
protected Set<StructuredContentItemCriteria> |
qualifyingItemCriteria
|
protected Map<String,StructuredContentField> |
structuredContentFields
|
protected StructuredContentType |
structuredContentType
|
| Fields inherited from interface org.broadleafcommerce.common.admin.domain.AdminMainEntity |
|---|
MAIN_ENTITY_NAME_PROPERTY |
| Constructor Summary | |
|---|---|
StructuredContentImpl()
|
|
| Method Summary | |
|---|---|
AdminAuditable |
getAuditable()
Returns audit information for this content item. |
String |
getContentName()
Gets the name. |
Long |
getId()
Gets the primary key. |
Locale |
getLocale()
Gets the Locale associated with this content item. |
String |
getMainEntityName()
|
Boolean |
getOfflineFlag()
Returns the offlineFlag. |
Integer |
getPriority()
Gets the integer priority of this content item. |
Set<StructuredContentItemCriteria> |
getQualifyingItemCriteria()
Returns the item (or cart) based rules associated with this content item. |
Map<String,StructuredContentField> |
getStructuredContentFields()
Gets a map with the custom fields associated with this content item. The map keys are based on the field types. |
Map<String,StructuredContentRule> |
getStructuredContentMatchRules()
Returns a map of the targeting rules associated with this content item. |
StructuredContentType |
getStructuredContentType()
Gets the StructuredContentType associated with this content item. |
void |
setAuditable(AdminAuditable auditable)
Sets audit information for this content item. |
void |
setContentName(String contentName)
Sets the name. |
void |
setId(Long id)
Sets the primary key. |
void |
setLocale(Locale locale)
Sets the locale associated with this content item. |
void |
setOfflineFlag(Boolean offlineFlag)
Sets the offline flag. |
void |
setPriority(Integer priority)
Sets the display priority of this item. |
void |
setQualifyingItemCriteria(Set<StructuredContentItemCriteria> qualifyingItemCriteria)
Sets the item (e.g. |
void |
setStructuredContentFields(Map<String,StructuredContentField> structuredContentFields)
Sets the structured content fields for this item. |
void |
setStructuredContentMatchRules(Map<String,StructuredContentRule> structuredContentMatchRules)
Sets the targeting rules for this content item. |
void |
setStructuredContentType(StructuredContentType structuredContentType)
Sets the StructuredContentType associated with this content item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Long id
protected AdminAuditable auditable
protected String contentName
protected Locale locale
protected Integer priority
protected Set<StructuredContentItemCriteria> qualifyingItemCriteria
protected StructuredContentType structuredContentType
protected Map<String,StructuredContentField> structuredContentFields
protected Boolean offlineFlag
| Constructor Detail |
|---|
public StructuredContentImpl()
| Method Detail |
|---|
public Long getId()
StructuredContent
getId in interface StructuredContentpublic void setId(Long id)
StructuredContent
setId in interface StructuredContentid - the new primary keypublic String getContentName()
StructuredContent
getContentName in interface StructuredContentpublic void setContentName(String contentName)
StructuredContent
setContentName in interface StructuredContentpublic Locale getLocale()
StructuredContentLocale associated with this content item.
getLocale in interface StructuredContentpublic void setLocale(Locale locale)
StructuredContent
setLocale in interface StructuredContentpublic StructuredContentType getStructuredContentType()
StructuredContentStructuredContentType associated with this content item.
getStructuredContentType in interface StructuredContentpublic void setStructuredContentType(StructuredContentType structuredContentType)
StructuredContentStructuredContentType associated with this content item.
setStructuredContentType in interface StructuredContentpublic Map<String,StructuredContentField> getStructuredContentFields()
StructuredContentStructuredContentType of ad which defined a field
named targetUrl. The field could be accessed with
structuredContentItem.getStructuredContentFields().get("targetUrl")
getStructuredContentFields in interface StructuredContentpublic void setStructuredContentFields(Map<String,StructuredContentField> structuredContentFields)
StructuredContent
setStructuredContentFields in interface StructuredContentpublic Boolean getOfflineFlag()
StructuredContent
getOfflineFlag in interface StructuredContentpublic void setOfflineFlag(Boolean offlineFlag)
StructuredContent
setOfflineFlag in interface StructuredContentpublic Integer getPriority()
StructuredContent
getPriority in interface StructuredContentpublic void setPriority(Integer priority)
StructuredContent
setPriority in interface StructuredContentpublic AdminAuditable getAuditable()
StructuredContent
getAuditable in interface StructuredContentpublic void setAuditable(AdminAuditable auditable)
StructuredContent
setAuditable in interface StructuredContentpublic Map<String,StructuredContentRule> getStructuredContentMatchRules()
StructuredContent
getStructuredContentMatchRules in interface StructuredContentpublic void setStructuredContentMatchRules(Map<String,StructuredContentRule> structuredContentMatchRules)
StructuredContent
setStructuredContentMatchRules in interface StructuredContentpublic Set<StructuredContentItemCriteria> getQualifyingItemCriteria()
StructuredContent
getQualifyingItemCriteria in interface StructuredContentpublic void setQualifyingItemCriteria(Set<StructuredContentItemCriteria> qualifyingItemCriteria)
StructuredContent
setQualifyingItemCriteria in interface StructuredContentpublic String getMainEntityName()
getMainEntityName in interface AdminMainEntity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||