keycloak-scim/server-spi/src/main/java/org/keycloak/models/ThemeManager.java

40 lines
807 B
Java
Raw Normal View History

2018-01-17 07:55:24 +00:00
package org.keycloak.models;
import org.keycloak.theme.Theme;
import java.io.IOException;
import java.util.Set;
public interface ThemeManager {
/**
* Returns the theme for the specified type. The theme is determined by the theme selector.
*
* @param type
* @return
* @throws IOException
*/
Theme getTheme(Theme.Type type) throws IOException;
/**
* Returns the specified theme for the specified type.
*
* @param name
* @param type
* @return
* @throws IOException
*/
Theme getTheme(String name, Theme.Type type) throws IOException;
/**
* Returns a set of all theme names for the specified type.
*
* @param type
* @return
*/
Set<String> nameSet(Theme.Type type);
void clearCache();
2018-01-17 07:55:24 +00:00
}