Theme.java

  1. /*
  2.  * Copyright (c) 2002-2022, City of Paris
  3.  * All rights reserved.
  4.  *
  5.  * Redistribution and use in source and binary forms, with or without
  6.  * modification, are permitted provided that the following conditions
  7.  * are met:
  8.  *
  9.  *  1. Redistributions of source code must retain the above copyright notice
  10.  *     and the following disclaimer.
  11.  *
  12.  *  2. Redistributions in binary form must reproduce the above copyright notice
  13.  *     and the following disclaimer in the documentation and/or other materials
  14.  *     provided with the distribution.
  15.  *
  16.  *  3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its
  17.  *     contributors may be used to endorse or promote products derived from
  18.  *     this software without specific prior written permission.
  19.  *
  20.  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  21.  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  22.  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  23.  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
  24.  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  25.  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  26.  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  27.  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  28.  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  29.  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  30.  * POSSIBILITY OF SUCH DAMAGE.
  31.  *
  32.  * License 1.0
  33.  */
  34. package fr.paris.lutece.portal.business.style;

  35. import java.io.Serializable;

  36. /**
  37.  * This class represents business objects Mode
  38.  */
  39. public class Theme implements Serializable
  40. {
  41.     public static final String RESOURCE_TYPE = "THEME";
  42.     private static final long serialVersionUID = -1423380460541137444L;
  43.     private String _strCodeTheme;
  44.     private String _strThemeDescription;
  45.     private String _strPathImages;
  46.     private String _strPathCss;
  47.     private String _strPathJs;
  48.     private String _strThemeAuthor;
  49.     private String _strThemeAuthorUrl;
  50.     private String _strThemeVersion;
  51.     private String _strThemeLicence;

  52.     /**
  53.      * Returns the _strCodeTheme
  54.      *
  55.      * @return the _strCodeTheme
  56.      */
  57.     public String getCodeTheme( )
  58.     {
  59.         return _strCodeTheme;
  60.     }

  61.     /**
  62.      * Sets the _strCodeTheme
  63.      *
  64.      * @param strCodeTheme
  65.      *            the _strCodeTheme to set
  66.      */
  67.     public void setCodeTheme( String strCodeTheme )
  68.     {
  69.         _strCodeTheme = strCodeTheme;
  70.     }

  71.     /**
  72.      * Returns the _strThemeDescription
  73.      *
  74.      * @return the _strThemeDescription
  75.      */
  76.     public String getThemeDescription( )
  77.     {
  78.         return _strThemeDescription;
  79.     }

  80.     /**
  81.      * Sets the _strThemeDescription
  82.      *
  83.      * @param strThemeDescription
  84.      *            the _strThemeDescription to set
  85.      */
  86.     public void setThemeDescription( String strThemeDescription )
  87.     {
  88.         _strThemeDescription = strThemeDescription;
  89.     }

  90.     /**
  91.      * Returns the _strPathImages
  92.      *
  93.      * @return the _strPathImages
  94.      */
  95.     public String getPathImages( )
  96.     {
  97.         return _strPathImages;
  98.     }

  99.     /**
  100.      * Sets the _strPathImages
  101.      *
  102.      * @param strPathImages
  103.      *            the _strPathImages to set
  104.      */
  105.     public void setPathImages( String strPathImages )
  106.     {
  107.         _strPathImages = strPathImages;
  108.     }

  109.     /**
  110.      * Returns the _strPathCss
  111.      *
  112.      * @return the _strPathCss
  113.      */
  114.     public String getPathCss( )
  115.     {
  116.         return _strPathCss;
  117.     }

  118.     /**
  119.      * Sets the _strPathCss
  120.      *
  121.      * @param strPathCss
  122.      *            the _strPathCss to set
  123.      */
  124.     public void setPathCss( String strPathCss )
  125.     {
  126.         _strPathCss = strPathCss;
  127.     }

  128.     /**
  129.      * Returns the _strPathJs
  130.      *
  131.      * @return the _strPathJs
  132.      */
  133.     public String getPathJs( )
  134.     {
  135.         return _strPathJs;
  136.     }

  137.     /**
  138.      * Sets the _strPathJs
  139.      *
  140.      * @param strPathJs
  141.      *            the _strPathJs to set
  142.      */
  143.     public void setPathJs( String strPathJs )
  144.     {
  145.         _strPathJs = strPathJs;
  146.     }

  147.     /**
  148.      * Returns the _strThemeAuthor
  149.      *
  150.      * @return the _strThemeAuthor
  151.      */
  152.     public String getThemeAuthor( )
  153.     {
  154.         return _strThemeAuthor;
  155.     }

  156.     /**
  157.      * Sets the _strThemeAuthor
  158.      *
  159.      * @param strThemeAuthor
  160.      *            the _strThemeAuthor to set
  161.      */
  162.     public void setThemeAuthor( String strThemeAuthor )
  163.     {
  164.         _strThemeAuthor = strThemeAuthor;
  165.     }

  166.     /**
  167.      * Returns the _strThemeAuthorUrl
  168.      *
  169.      * @return the _strThemeAuthorUrl
  170.      */
  171.     public String getThemeAuthorUrl( )
  172.     {
  173.         return _strThemeAuthorUrl;
  174.     }

  175.     /**
  176.      * Sets the _strThemeAuthorUrl
  177.      *
  178.      * @param strThemeAuthorUrl
  179.      *            the _strThemeAuthorUrl to set
  180.      */
  181.     public void setThemeAuthorUrl( String strThemeAuthorUrl )
  182.     {
  183.         _strThemeAuthorUrl = strThemeAuthorUrl;
  184.     }

  185.     /**
  186.      * Returns the _strThemeVersion
  187.      *
  188.      * @return the _strThemeVersion
  189.      */
  190.     public String getThemeVersion( )
  191.     {
  192.         return _strThemeVersion;
  193.     }

  194.     /**
  195.      * Sets the _strThemeVersion
  196.      *
  197.      * @param strThemeVersion
  198.      *            the _strThemeVersion to set
  199.      */
  200.     public void setThemeVersion( String strThemeVersion )
  201.     {
  202.         _strThemeVersion = strThemeVersion;
  203.     }

  204.     /**
  205.      * Returns the _strThemeLicence
  206.      *
  207.      * @return the _strThemeLicence
  208.      */
  209.     public String getThemeLicence( )
  210.     {
  211.         return _strThemeLicence;
  212.     }

  213.     /**
  214.      * Sets the _strThemeLicence
  215.      *
  216.      * @param strThemeLicence
  217.      *            the _strThemeLicence to set
  218.      */
  219.     public void setThemeLicence( String strThemeLicence )
  220.     {
  221.         _strThemeLicence = strThemeLicence;
  222.     }
  223. }