org.broadleafcommerce.common.site.domain
Class ThemeDTO

java.lang.Object
  extended by org.broadleafcommerce.common.site.domain.ThemeDTO
All Implemented Interfaces:
Serializable, Theme

public class ThemeDTO
extends Object
implements Theme

Stores the path to the theme. Created by bpolster.

See Also:
Serialized Form

Field Summary
 String name
           
 String path
           
 
Constructor Summary
ThemeDTO()
           
ThemeDTO(String name, String path)
           
 
Method Summary
 String getName()
           
 String getPath()
          The display name for a site.
 void setName(String name)
           
 void setPath(String path)
          Sets the path of the theme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

path

public String path

name

public String name
Constructor Detail

ThemeDTO

public ThemeDTO()

ThemeDTO

public ThemeDTO(String name,
                String path)
Method Detail

getPath

public String getPath()
Description copied from interface: Theme
The display name for a site. Returns blank if no theme if no path is available. Should return a path that does not start with "/" and that ends with a "/". For example, "store/".

Specified by:
getPath in interface Theme
Returns:

setPath

public void setPath(String path)
Description copied from interface: Theme
Sets the path of the theme.

Specified by:
setPath in interface Theme

getName

public String getName()
Specified by:
getName in interface Theme

setName

public void setName(String name)
Specified by:
setName in interface Theme


Copyright © 2012. All Rights Reserved.