|
||||||||||
| 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.
| Field Summary | |
|---|---|
protected java.lang.Boolean |
archivedFlag
|
protected AdminAuditable |
auditable
|
protected java.lang.String |
contentName
|
protected java.lang.Boolean |
deletedFlag
|
protected java.lang.Long |
id
|
protected Locale |
locale
|
protected java.lang.Boolean |
lockedFlag
|
protected java.lang.Boolean |
offlineFlag
|
protected java.lang.Long |
originalItemId
|
protected SandBox |
originalSandBox
|
protected java.lang.Integer |
priority
|
protected java.util.Set<StructuredContentItemCriteria> |
qualifyingItemCriteria
|
protected SandBox |
sandbox
|
protected java.util.Map<java.lang.String,StructuredContentField> |
structuredContentFields
|
protected StructuredContentType |
structuredContentType
|
| Constructor Summary | |
|---|---|
StructuredContentImpl()
|
|
| Method Summary | |
|---|---|
StructuredContent |
cloneEntity()
Builds a copy of this content item. |
java.lang.Boolean |
getArchivedFlag()
Gets the archived indicator. |
AdminAuditable |
getAuditable()
Returns audit information for this content item. |
java.lang.String |
getContentName()
Gets the name. |
java.lang.Boolean |
getDeletedFlag()
Gets the "deleted" indicator. |
java.lang.Long |
getId()
Gets the primary key. |
Locale |
getLocale()
Gets the Locale associated with this content item. |
java.lang.Boolean |
getLockedFlag()
Returns the locked flag. |
java.lang.Boolean |
getOfflineFlag()
Returns the offlineFlag. |
java.lang.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. |
java.lang.Integer |
getPriority()
Gets the integer priority of this content item. |
java.util.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. |
java.util.Map<java.lang.String,StructuredContentField> |
getStructuredContentFields()
Gets a map with the custom fields associated with this content item. The map keys are based on the field types. |
java.util.Map<java.lang.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(java.lang.Boolean archivedFlag)
Sets the archived flag for this item. |
void |
setAuditable(AdminAuditable auditable)
Sets audit information for this content item. |
void |
setContentName(java.lang.String contentName)
Sets the name. |
void |
setDeletedFlag(java.lang.Boolean deletedFlag)
Sets the deleted flag for this item. |
void |
setId(java.lang.Long id)
Sets the primary key. |
void |
setLocale(Locale locale)
Sets the locale associated with this content item. |
void |
setLockedFlag(java.lang.Boolean lockedFlag)
Sets the lockedFlag for this item. |
void |
setOfflineFlag(java.lang.Boolean offlineFlag)
Sets the offline flag. |
void |
setOriginalItemId(java.lang.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(java.lang.Integer priority)
Sets the display priority of this item. |
void |
setQualifyingItemCriteria(java.util.Set<StructuredContentItemCriteria> qualifyingItemCriteria)
Sets the item (e.g. |
void |
setSandbox(SandBox sandbox)
Sets the SandBox for this content item. |
void |
setStructuredContentFields(java.util.Map<java.lang.String,StructuredContentField> structuredContentFields)
Sets the structured content fields for this item. |
void |
setStructuredContentMatchRules(java.util.Map<java.lang.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 java.lang.Long id
protected AdminAuditable auditable
protected java.lang.String contentName
protected Locale locale
protected java.lang.Integer priority
protected java.util.Set<StructuredContentItemCriteria> qualifyingItemCriteria
protected java.lang.Long originalItemId
protected SandBox sandbox
protected SandBox originalSandBox
protected StructuredContentType structuredContentType
protected java.util.Map<java.lang.String,StructuredContentField> structuredContentFields
protected java.lang.Boolean deletedFlag
protected java.lang.Boolean archivedFlag
protected java.lang.Boolean offlineFlag
protected java.lang.Boolean lockedFlag
| Constructor Detail |
|---|
public StructuredContentImpl()
| Method Detail |
|---|
public java.lang.Long getId()
StructuredContent
getId in interface StructuredContentpublic void setId(java.lang.Long id)
StructuredContent
setId in interface StructuredContentid - the new primary keypublic java.lang.String getContentName()
StructuredContent
getContentName in interface StructuredContentpublic void setContentName(java.lang.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 SandBox getSandbox()
StructuredContent
getSandbox in interface StructuredContentpublic void setSandbox(SandBox sandbox)
StructuredContent
setSandbox 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 java.util.Map<java.lang.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(java.util.Map<java.lang.String,StructuredContentField> structuredContentFields)
StructuredContent
setStructuredContentFields in interface StructuredContentpublic java.lang.Boolean getDeletedFlag()
StructuredContentStructuredContentService.lookupStructuredContentItemsByType(org.broadleafcommerce.openadmin.server.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 getArchivedFlag
getDeletedFlag in interface StructuredContentpublic void setDeletedFlag(java.lang.Boolean deletedFlag)
StructuredContent
setDeletedFlag in interface StructuredContentpublic java.lang.Boolean getOfflineFlag()
StructuredContent
getOfflineFlag in interface StructuredContentpublic void setOfflineFlag(java.lang.Boolean offlineFlag)
StructuredContent
setOfflineFlag in interface StructuredContentpublic java.lang.Integer getPriority()
StructuredContent
getPriority in interface StructuredContentpublic void setPriority(java.lang.Integer priority)
StructuredContent
setPriority in interface StructuredContentpublic java.lang.Long getOriginalItemId()
StructuredContent
getOriginalItemId in interface StructuredContentpublic void setOriginalItemId(java.lang.Long originalItemId)
StructuredContent
setOriginalItemId in interface StructuredContentpublic java.lang.Boolean getArchivedFlag()
StructuredContent
getArchivedFlag in interface StructuredContentpublic void setArchivedFlag(java.lang.Boolean archivedFlag)
StructuredContent
setArchivedFlag in interface StructuredContentpublic AdminAuditable getAuditable()
StructuredContent
getAuditable in interface StructuredContentpublic void setAuditable(AdminAuditable auditable)
StructuredContent
setAuditable in interface StructuredContentpublic java.lang.Boolean getLockedFlag()
StructuredContent
getLockedFlag in interface StructuredContentpublic void setLockedFlag(java.lang.Boolean lockedFlag)
StructuredContent
setLockedFlag 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)
StructuredContent
setOriginalSandBox in interface StructuredContentpublic java.util.Map<java.lang.String,StructuredContentRule> getStructuredContentMatchRules()
StructuredContent
getStructuredContentMatchRules in interface StructuredContentpublic void setStructuredContentMatchRules(java.util.Map<java.lang.String,StructuredContentRule> structuredContentMatchRules)
StructuredContent
setStructuredContentMatchRules in interface StructuredContentpublic java.util.Set<StructuredContentItemCriteria> getQualifyingItemCriteria()
StructuredContent
getQualifyingItemCriteria in interface StructuredContentpublic void setQualifyingItemCriteria(java.util.Set<StructuredContentItemCriteria> qualifyingItemCriteria)
StructuredContent
setQualifyingItemCriteria in interface StructuredContentpublic StructuredContent cloneEntity()
StructuredContent
cloneEntity in interface StructuredContent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||