@Entity public class StructuredContentImpl extends Object implements StructuredContent
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
archivedFlag |
protected AdminAuditable |
auditable |
protected String |
contentName |
protected Boolean |
deletedFlag |
protected Long |
id |
protected Locale |
locale |
protected Boolean |
lockedFlag |
protected Boolean |
offlineFlag |
protected Long |
originalItemId |
protected SandBox |
originalSandBox |
protected Integer |
priority |
protected Set<StructuredContentItemCriteria> |
qualifyingItemCriteria |
protected SandBox |
sandbox |
protected Map<String,StructuredContentField> |
structuredContentFields |
protected StructuredContentType |
structuredContentType |
| Constructor and Description |
|---|
StructuredContentImpl() |
| Modifier and Type | Method and Description |
|---|---|
StructuredContent |
cloneEntity()
Builds a copy of this content item.
|
Boolean |
getArchivedFlag()
Gets the archived indicator.
|
AdminAuditable |
getAuditable()
Returns audit information for this content item.
|
String |
getContentName()
Gets the name.
|
Boolean |
getDeletedFlag()
Gets the "deleted" indicator.
|
Long |
getId()
Gets the primary key.
|
Locale |
getLocale()
Gets the
Locale associated with this content item. |
Boolean |
getLockedFlag()
Returns the locked flag.
|
Boolean |
getOfflineFlag()
Returns the offlineFlag.
|
Long |
getOriginalItemId()
Gets the id of a related content item on which this item is based.
|
SandBox |
getOriginalSandBox()
Gets the
SandBox which originally edited this item. |
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.
|
SandBox |
getSandbox()
Gets the Sandbox associated with the 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 |
setArchivedFlag(Boolean archivedFlag)
Sets the archived flag for this item.
|
void |
setAuditable(AdminAuditable auditable)
Sets audit information for this content item.
|
void |
setContentName(String contentName)
Sets the name.
|
void |
setDeletedFlag(Boolean deletedFlag)
Sets the deleted flag for this item.
|
void |
setId(Long id)
Sets the primary key.
|
void |
setLocale(Locale locale)
Sets the locale associated with this content item.
|
void |
setLockedFlag(Boolean lockedFlag)
Sets the lockedFlag for this item.
|
void |
setOfflineFlag(Boolean offlineFlag)
Sets the offline flag.
|
void |
setOriginalItemId(Long originalItemId)
The id of the item on which this content item is based.
|
void |
setOriginalSandBox(SandBox originalSandBox)
Sets the originalSandBox for this item.
|
void |
setPriority(Integer priority)
Sets the display priority of this item.
|
void |
setQualifyingItemCriteria(Set<StructuredContentItemCriteria> qualifyingItemCriteria)
Sets the item (e.g.
|
void |
setSandbox(SandBox sandbox)
Sets the SandBox for this content item.
|
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. |
protected Long id
protected AdminAuditable auditable
protected String contentName
protected Locale locale
protected Integer priority
protected Set<StructuredContentItemCriteria> qualifyingItemCriteria
protected Long originalItemId
protected SandBox sandbox
protected SandBox originalSandBox
protected StructuredContentType structuredContentType
protected Map<String,StructuredContentField> structuredContentFields
protected Boolean deletedFlag
protected Boolean archivedFlag
protected Boolean offlineFlag
protected Boolean lockedFlag
public Long getId()
StructuredContentgetId in interface StructuredContentpublic void setId(Long id)
StructuredContentsetId in interface StructuredContentid - the new primary keypublic String getContentName()
StructuredContentgetContentName in interface StructuredContentpublic void setContentName(String contentName)
StructuredContentsetContentName in interface StructuredContentpublic Locale getLocale()
StructuredContentLocale associated with this content item.getLocale in interface StructuredContentpublic void setLocale(Locale locale)
StructuredContentsetLocale in interface StructuredContentpublic SandBox getSandbox()
StructuredContentgetSandbox in interface StructuredContentpublic void setSandbox(SandBox sandbox)
StructuredContentsetSandbox 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)
StructuredContentsetStructuredContentFields in interface StructuredContentpublic Boolean getDeletedFlag()
StructuredContentorg.broadleafcommerce.cms.structure.service.StructuredContentService#lookupStructuredContentItemsByType(org.broadleafcommerce.common.sandbox.domain.SandBox, StructuredContentType, org.broadleafcommerce.common.locale.domain.Locale, Integer, java.util.Map)'s}.
In a "production sandbox", an item that returns true for getDeletedFlag
should also return true for getArchivedFlaggetDeletedFlag in interface StructuredContentpublic void setDeletedFlag(Boolean deletedFlag)
StructuredContentsetDeletedFlag in interface StructuredContentpublic Boolean getOfflineFlag()
StructuredContentgetOfflineFlag in interface StructuredContentpublic void setOfflineFlag(Boolean offlineFlag)
StructuredContentsetOfflineFlag in interface StructuredContentpublic Integer getPriority()
StructuredContentgetPriority in interface StructuredContentpublic void setPriority(Integer priority)
StructuredContentsetPriority in interface StructuredContentpublic Long getOriginalItemId()
StructuredContentgetOriginalItemId in interface StructuredContentpublic void setOriginalItemId(Long originalItemId)
StructuredContentsetOriginalItemId in interface StructuredContentpublic Boolean getArchivedFlag()
StructuredContentgetArchivedFlag in interface StructuredContentpublic void setArchivedFlag(Boolean archivedFlag)
StructuredContentsetArchivedFlag in interface StructuredContentpublic AdminAuditable getAuditable()
StructuredContentgetAuditable in interface StructuredContentpublic void setAuditable(AdminAuditable auditable)
StructuredContentsetAuditable in interface StructuredContentpublic Boolean getLockedFlag()
StructuredContentgetLockedFlag in interface StructuredContentpublic void setLockedFlag(Boolean lockedFlag)
StructuredContentsetLockedFlag in interface StructuredContentpublic SandBox getOriginalSandBox()
StructuredContentSandBox which originally edited this item. Used by the
Content Management System to determine where to return an item that is being
rejected.getOriginalSandBox in interface StructuredContentpublic void setOriginalSandBox(SandBox originalSandBox)
StructuredContentsetOriginalSandBox in interface StructuredContentpublic Map<String,StructuredContentRule> getStructuredContentMatchRules()
StructuredContentgetStructuredContentMatchRules in interface StructuredContentpublic void setStructuredContentMatchRules(Map<String,StructuredContentRule> structuredContentMatchRules)
StructuredContentsetStructuredContentMatchRules in interface StructuredContentpublic Set<StructuredContentItemCriteria> getQualifyingItemCriteria()
StructuredContentgetQualifyingItemCriteria in interface StructuredContentpublic void setQualifyingItemCriteria(Set<StructuredContentItemCriteria> qualifyingItemCriteria)
StructuredContentsetQualifyingItemCriteria in interface StructuredContentpublic StructuredContent cloneEntity()
StructuredContentcloneEntity in interface StructuredContentCopyright © 2013. All rights reserved.