1 7 8 package org.jboss.portal.server; 9 10 import org.jboss.portal.server.metadata.ServerRegistrationMetaData; 11 import org.jboss.portal.server.metadata.ThemeRegistrationMetaData; 12 import org.jboss.portal.server.theme.PortalTheme; 13 import org.jboss.portal.server.theme.ThemeException; 14 15 import java.util.Collection ; 16 17 25 public interface ThemeServer 26 { 27 37 void addTheme(ThemeRegistrationMetaData metaData) throws ThemeException; 38 39 47 void setDefault(ServerRegistrationID themeID) throws ThemeException; 48 49 60 void removeTheme(ServerRegistrationID themeID) throws ThemeException; 61 62 77 void removeThemes(String applicationName) throws ThemeException; 78 79 95 PortalTheme getTheme(ServerRegistrationID themeID, boolean defaultOnNull); 96 97 113 PortalTheme getTheme(String name, boolean defaultOnNull); 114 115 122 Collection getThemes(); 123 124 131 Collection getThemeNames(); 132 } 133 | Popular Tags |