org.broadleafcommerce.cms.page.dto
Class PageDTO

java.lang.Object
  extended by org.broadleafcommerce.cms.page.dto.PageDTO
All Implemented Interfaces:
Serializable

public class PageDTO
extends Object
implements Serializable

Page fields must be pre-processed (for example to fix image paths). This DTO allows us to process the PageFields once and then cache the results. Created by bpolster.

See Also:
Serialized Form

Field Summary
protected  String description
           
protected  Long id
           
protected  String localeCode
           
protected  Map pageFields
           
protected  Long sandboxId
           
protected  String templatePath
           
protected  String url
           
 
Constructor Summary
PageDTO()
           
 
Method Summary
 String getDescription()
           
 Long getId()
           
 String getLocaleCode()
           
 Map getPageFields()
           
 Long getSandboxId()
           
 String getTemplatePath()
           
 String getUrl()
           
 void setDescription(String description)
           
 void setId(Long id)
           
 void setLocaleCode(String localeCode)
           
 void setPageFields(Map pageFields)
           
 void setSandboxId(Long sandboxId)
           
 void setTemplatePath(String templatePath)
           
 void setUrl(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

description

protected String description

localeCode

protected String localeCode

templatePath

protected String templatePath

url

protected String url

sandboxId

protected Long sandboxId

pageFields

protected Map pageFields
Constructor Detail

PageDTO

public PageDTO()
Method Detail

getId

public Long getId()

setId

public void setId(Long id)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getLocaleCode

public String getLocaleCode()

setLocaleCode

public void setLocaleCode(String localeCode)

getTemplatePath

public String getTemplatePath()

setTemplatePath

public void setTemplatePath(String templatePath)

getUrl

public String getUrl()

setUrl

public void setUrl(String url)

getSandboxId

public Long getSandboxId()

setSandboxId

public void setSandboxId(Long sandboxId)

getPageFields

public Map getPageFields()

setPageFields

public void setPageFields(Map pageFields)


Copyright © 2012. All Rights Reserved.