public class ThemeUtil extends Object
Constructor and Description |
---|
ThemeUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
applyTheme(String themeName,
String tenantPass,
org.wso2.carbon.registry.core.session.UserRegistry systemTenantRegistry) |
static void |
applyThemeForDomain(String themeName,
org.wso2.carbon.registry.core.session.UserRegistry systemTenantRegistry) |
static String[] |
getAvailableThemes() |
static String |
getCurrentTheme(String tenantPass,
org.wso2.carbon.registry.core.session.UserRegistry registry) |
static org.wso2.carbon.user.core.service.RealmService |
getRealmService() |
static org.wso2.carbon.registry.core.service.RegistryService |
getRegistryService() |
static org.wso2.carbon.registry.core.session.UserRegistry |
getThemeMgtSystemRegistry(String tenantPass) |
static org.wso2.carbon.registry.core.session.UserRegistry |
getThemeRegistry(org.wso2.carbon.registry.core.Registry registry) |
static org.wso2.carbon.registry.core.session.UserRegistry |
getThemeRegistryFromTenantPass(String tenantPass) |
static void |
loadResourceThemes() |
static void |
loadTheme(int tenantId) |
static void |
removeTheUUID(String tenantPass) |
static void |
setRealmService(org.wso2.carbon.user.core.service.RealmService service) |
static void |
setRegistryService(org.wso2.carbon.registry.core.service.RegistryService service) |
static void |
transferAllThemesToRegistry(File rootDirectory,
org.wso2.carbon.registry.core.Registry registry,
String registryPath) |
public static void setRegistryService(org.wso2.carbon.registry.core.service.RegistryService service)
public static org.wso2.carbon.registry.core.service.RegistryService getRegistryService()
public static void setRealmService(org.wso2.carbon.user.core.service.RealmService service)
public static org.wso2.carbon.user.core.service.RealmService getRealmService()
public static org.wso2.carbon.registry.core.session.UserRegistry getThemeMgtSystemRegistry(String tenantPass) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public static void removeTheUUID(String tenantPass) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public static void transferAllThemesToRegistry(File rootDirectory, org.wso2.carbon.registry.core.Registry registry, String registryPath) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public static org.wso2.carbon.registry.core.session.UserRegistry getThemeRegistryFromTenantPass(String tenantPass) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public static org.wso2.carbon.registry.core.session.UserRegistry getThemeRegistry(org.wso2.carbon.registry.core.Registry registry) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public static void loadResourceThemes() throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public static String[] getAvailableThemes() throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public static void loadTheme(int tenantId) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public static void applyTheme(String themeName, String tenantPass, org.wso2.carbon.registry.core.session.UserRegistry systemTenantRegistry) throws Exception
Exception
public static void applyThemeForDomain(String themeName, org.wso2.carbon.registry.core.session.UserRegistry systemTenantRegistry) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
Copyright © 2024 WSO2. All rights reserved.