java.lang.Object
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:
  • Field Details

  • Constructor Details

    • ThemeDTO

      public ThemeDTO()
    • ThemeDTO

      public ThemeDTO(String name, String path)
  • Method Details

    • 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 does not ends with a "/".
      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
    • getId

      public Long getId()
      Specified by:
      getId in interface Theme
      Returns:
      the id
    • setId

      public void setId(Long id)
      Description copied from interface: Theme
      Sets the id
      Specified by:
      setId in interface Theme
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object