1 18 19 package org.apache.roller.model; 20 21 import java.util.List ; 22 import org.apache.roller.RollerException; 23 import org.apache.roller.ThemeNotFoundException; 24 import org.apache.roller.pojos.Theme; 25 import org.apache.roller.pojos.ThemeTemplate; 26 import org.apache.roller.pojos.WebsiteData; 27 28 29 32 public interface ThemeManager { 33 34 40 public Theme getTheme(String name) 41 throws ThemeNotFoundException, RollerException; 42 43 44 50 public Theme getThemeById(String theme_id) 51 throws ThemeNotFoundException, RollerException; 52 53 54 60 public List getThemesList(); 61 62 63 69 public List getEnabledThemesList(); 70 71 72 78 public ThemeTemplate getTemplate(String theme_name, String template_name) 79 throws ThemeNotFoundException, RollerException; 80 81 82 92 public ThemeTemplate getTemplateById(String template_id) 93 throws ThemeNotFoundException, RollerException; 94 95 96 107 public ThemeTemplate getTemplateByLink(String theme_name, String template_link) 108 throws ThemeNotFoundException, RollerException; 109 110 public void saveThemePages(WebsiteData website, Theme theme) throws RollerException; 111 } 112 | Popular Tags |