org.broadleafcommerce.cms.page.domain
Class PageImpl

java.lang.Object
  extended by org.broadleafcommerce.cms.page.domain.PageImpl
All Implemented Interfaces:
Serializable, Page

@Entity
public class PageImpl
extends Object
implements Page

Created by bpolster.

See Also:
Serialized Form

Field Summary
protected  Boolean archivedFlag
           
protected  AdminAuditable auditable
           
protected  Boolean deletedFlag
           
protected  String description
           
protected  String fullUrl
           
protected  Long id
           
protected  Boolean lockedFlag
           
protected  Boolean offlineFlag
           
protected  Long originalPageId
           
protected  SandBox originalSandBox
           
protected  Map<String,PageField> pageFields
           
protected  PageTemplate pageTemplate
           
protected  Integer priority
           
protected  Set<PageItemCriteria> qualifyingItemCriteria
           
protected  SandBox sandbox
           
 
Constructor Summary
PageImpl()
           
 
Method Summary
 Page cloneEntity()
           
 Boolean getArchivedFlag()
           
 AdminAuditable getAuditable()
           
 Boolean getDeletedFlag()
           
 String getDescription()
           
 String getFullUrl()
           
 Long getId()
           
 Boolean getLockedFlag()
           
 Boolean getOfflineFlag()
          Returns the offlineFlag.
 Long getOriginalPageId()
           
 SandBox getOriginalSandBox()
           
 Map<String,PageField> getPageFields()
           
 Map<String,PageRule> getPageMatchRules()
          Returns a map of the targeting rules associated with this page.
 PageTemplate getPageTemplate()
           
 Integer getPriority()
          Gets the integer priority of this content item.
 Set<PageItemCriteria> getQualifyingItemCriteria()
          Returns the item (or cart) based rules associated with this content item.
 SandBox getSandbox()
           
 void setArchivedFlag(Boolean archivedFlag)
           
 void setAuditable(AdminAuditable auditable)
           
 void setDeletedFlag(Boolean deletedFlag)
           
 void setDescription(String description)
           
 void setFullUrl(String fullUrl)
           
 void setId(Long id)
           
 void setLockedFlag(Boolean lockedFlag)
           
 void setOfflineFlag(Boolean offlineFlag)
          Sets the offline flag.
 void setOriginalPageId(Long originalPageId)
           
 void setOriginalSandBox(SandBox originalSandBox)
           
 void setPageFields(Map<String,PageField> pageFields)
           
 void setPageMatchRules(Map<String,PageRule> pageMatchRules)
          Sets the targeting rules for this content item.
 void setPageTemplate(PageTemplate pageTemplate)
           
 void setPriority(Integer priority)
          Sets the display priority of this item.
 void setQualifyingItemCriteria(Set<PageItemCriteria> qualifyingItemCriteria)
          Sets the item (e.g.
 void setSandbox(SandBox sandbox)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

pageTemplate

protected PageTemplate pageTemplate

description

protected String description

fullUrl

protected String fullUrl

pageFields

protected Map<String,PageField> pageFields

sandbox

protected SandBox sandbox

originalSandBox

protected SandBox originalSandBox

deletedFlag

protected Boolean deletedFlag

archivedFlag

protected Boolean archivedFlag

lockedFlag

protected Boolean lockedFlag

originalPageId

protected Long originalPageId

priority

protected Integer priority

offlineFlag

protected Boolean offlineFlag

qualifyingItemCriteria

protected Set<PageItemCriteria> qualifyingItemCriteria

auditable

protected AdminAuditable auditable
Constructor Detail

PageImpl

public PageImpl()
Method Detail

getId

public Long getId()
Specified by:
getId in interface Page

setId

public void setId(Long id)
Specified by:
setId in interface Page

getPageTemplate

public PageTemplate getPageTemplate()
Specified by:
getPageTemplate in interface Page

setPageTemplate

public void setPageTemplate(PageTemplate pageTemplate)
Specified by:
setPageTemplate in interface Page

getPageFields

public Map<String,PageField> getPageFields()
Specified by:
getPageFields in interface Page

setPageFields

public void setPageFields(Map<String,PageField> pageFields)
Specified by:
setPageFields in interface Page

getDeletedFlag

public Boolean getDeletedFlag()
Specified by:
getDeletedFlag in interface Page

setDeletedFlag

public void setDeletedFlag(Boolean deletedFlag)
Specified by:
setDeletedFlag in interface Page

getArchivedFlag

public Boolean getArchivedFlag()
Specified by:
getArchivedFlag in interface Page

setArchivedFlag

public void setArchivedFlag(Boolean archivedFlag)
Specified by:
setArchivedFlag in interface Page

getSandbox

public SandBox getSandbox()
Specified by:
getSandbox in interface Page

setSandbox

public void setSandbox(SandBox sandbox)
Specified by:
setSandbox in interface Page

getOriginalPageId

public Long getOriginalPageId()
Specified by:
getOriginalPageId in interface Page

setOriginalPageId

public void setOriginalPageId(Long originalPageId)
Specified by:
setOriginalPageId in interface Page

getFullUrl

public String getFullUrl()
Specified by:
getFullUrl in interface Page

setFullUrl

public void setFullUrl(String fullUrl)
Specified by:
setFullUrl in interface Page

getDescription

public String getDescription()
Specified by:
getDescription in interface Page

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface Page

getOriginalSandBox

public SandBox getOriginalSandBox()
Specified by:
getOriginalSandBox in interface Page

setOriginalSandBox

public void setOriginalSandBox(SandBox originalSandBox)
Specified by:
setOriginalSandBox in interface Page

getAuditable

public AdminAuditable getAuditable()
Specified by:
getAuditable in interface Page

setAuditable

public void setAuditable(AdminAuditable auditable)
Specified by:
setAuditable in interface Page

getLockedFlag

public Boolean getLockedFlag()
Specified by:
getLockedFlag in interface Page

setLockedFlag

public void setLockedFlag(Boolean lockedFlag)
Specified by:
setLockedFlag in interface Page

getOfflineFlag

public Boolean getOfflineFlag()
Description copied from interface: Page
Returns the offlineFlag. True indicates that the page should no longer appear on the site. The item will still appear within the content administration program but no longer be returned as part of the client facing APIs.

Specified by:
getOfflineFlag in interface Page
Returns:
true if this item is offline

setOfflineFlag

public void setOfflineFlag(Boolean offlineFlag)
Description copied from interface: Page
Sets the offline flag.

Specified by:
setOfflineFlag in interface Page

getPriority

public Integer getPriority()
Description copied from interface: Page
Gets the integer priority of this content item. Items with a lower priority should be displayed before items with a higher priority.

Specified by:
getPriority in interface Page
Returns:
the priority as a numeric value

setPriority

public void setPriority(Integer priority)
Description copied from interface: Page
Sets the display priority of this item. Lower priorities should be displayed first.

Specified by:
setPriority in interface Page

getPageMatchRules

public Map<String,PageRule> getPageMatchRules()
Description copied from interface: Page
Returns a map of the targeting rules associated with this page. Targeting rules are defined in the content mangagement system and used to enforce which page is returned to the client.

Specified by:
getPageMatchRules in interface Page
Returns:

setPageMatchRules

public void setPageMatchRules(Map<String,PageRule> pageMatchRules)
Description copied from interface: Page
Sets the targeting rules for this content item.

Specified by:
setPageMatchRules in interface Page

getQualifyingItemCriteria

public Set<PageItemCriteria> getQualifyingItemCriteria()
Description copied from interface: Page
Returns the item (or cart) based rules associated with this content item.

Specified by:
getQualifyingItemCriteria in interface Page
Returns:

setQualifyingItemCriteria

public void setQualifyingItemCriteria(Set<PageItemCriteria> qualifyingItemCriteria)
Description copied from interface: Page
Sets the item (e.g. cart) based rules associated with this content item.

Specified by:
setQualifyingItemCriteria in interface Page

cloneEntity

public Page cloneEntity()
Specified by:
cloneEntity in interface Page


Copyright © 2013. All Rights Reserved.