content: /*
   * Copyright 2009-2014 PrimeTek.
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   * http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  package com.github.adminfaces.showcase.service;
  
  import com.github.adminfaces.showcase.model.Theme;
  
  import javax.annotation.PostConstruct;
  import javax.enterprise.context.ApplicationScoped;
  import java.io.Serializable;
  import java.util.ArrayList;
  import java.util.List;
  
  @ApplicationScoped
  public class ThemeService implements Serializable {
      
      private List<Theme> themes;
      
      @PostConstruct
      public void init() {
          themes = new ArrayList<Theme>();
          themes.add(new Theme(0, "Afterdark", "afterdark"));
          themes.add(new Theme(1, "Afternoon", "afternoon"));
          themes.add(new Theme(2, "Afterwork", "afterwork"));
          themes.add(new Theme(3, "Aristo", "aristo"));
          themes.add(new Theme(4, "Black-Tie", "black-tie"));
          themes.add(new Theme(5, "Blitzer", "blitzer"));
          themes.add(new Theme(6, "Bluesky", "bluesky"));
          themes.add(new Theme(7, "Bootstrap", "bootstrap"));
          themes.add(new Theme(8, "Casablanca", "casablanca"));
          themes.add(new Theme(9, "Cupertino", "cupertino"));
          themes.add(new Theme(10, "Cruze", "cruze"));
          themes.add(new Theme(11, "Dark-Hive", "dark-hive"));
          themes.add(new Theme(12, "Delta", "delta"));
          themes.add(new Theme(13, "Dot-Luv", "dot-luv"));
          themes.add(new Theme(14, "Eggplant", "eggplant"));
          themes.add(new Theme(15, "Excite-Bike", "excite-bike"));
          themes.add(new Theme(16, "Flick", "flick"));
          themes.add(new Theme(17, "Glass-X", "glass-x"));
          themes.add(new Theme(18, "Home", "home"));
          themes.add(new Theme(19, "Hot-Sneaks", "hot-sneaks"));
          themes.add(new Theme(20, "Humanity", "humanity"));
          themes.add(new Theme(21, "Le-Frog", "le-frog"));
          themes.add(new Theme(22, "Midnight", "midnight"));
          themes.add(new Theme(23, "Mint-Choc", "mint-choc"));
          themes.add(new Theme(24, "Omega", "omega"));
          themes.add(new Theme(25, "Overcast", "overcast"));
          themes.add(new Theme(26, "Pepper-Grinder", "pepper-grinder"));
          themes.add(new Theme(27, "Redmond", "redmond"));
          themes.add(new Theme(28, "Rocket", "rocket"));
          themes.add(new Theme(29, "Sam", "sam"));
          themes.add(new Theme(30, "Smoothness", "smoothness"));
          themes.add(new Theme(31, "South-Street", "south-street"));
          themes.add(new Theme(32, "Start", "start"));
          themes.add(new Theme(33, "Sunny", "sunny"));
          themes.add(new Theme(34, "Swanky-Purse", "swanky-purse"));
          themes.add(new Theme(35, "Trontastic", "trontastic"));
          themes.add(new Theme(36, "UI-Darkness", "ui-darkness"));
          themes.add(new Theme(37, "UI-Lightness", "ui-lightness"));
          themes.add(new Theme(38, "Vader", "vader"));
      }
      
      public List<Theme> getThemes() {
          return themes;
      } 
  }
  