com.liferay.portal.kernel.service.ThemeLocalServiceWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.portal.kernel Show documentation
Show all versions of com.liferay.portal.kernel Show documentation
Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.portal.kernel.service;
import aQute.bnd.annotation.ProviderType;
/**
* Provides a wrapper for {@link ThemeLocalService}.
*
* @author Brian Wing Shun Chan
* @see ThemeLocalService
* @generated
*/
@ProviderType
public class ThemeLocalServiceWrapper implements ThemeLocalService,
ServiceWrapper {
public ThemeLocalServiceWrapper(ThemeLocalService themeLocalService) {
_themeLocalService = themeLocalService;
}
@Override
public com.liferay.portal.kernel.model.ColorScheme fetchColorScheme(
long companyId, java.lang.String themeId, java.lang.String colorSchemeId) {
return _themeLocalService.fetchColorScheme(companyId, themeId,
colorSchemeId);
}
@Override
public com.liferay.portal.kernel.model.PortletDecorator fetchPortletDecorator(
long companyId, java.lang.String themeId, java.lang.String colorSchemeId) {
return _themeLocalService.fetchPortletDecorator(companyId, themeId,
colorSchemeId);
}
@Override
public com.liferay.portal.kernel.model.Theme fetchTheme(long companyId,
java.lang.String themeId) {
return _themeLocalService.fetchTheme(companyId, themeId);
}
@Override
public com.liferay.portal.kernel.model.ColorScheme getColorScheme(
long companyId, java.lang.String themeId, java.lang.String colorSchemeId) {
return _themeLocalService.getColorScheme(companyId, themeId,
colorSchemeId);
}
@Override
public java.util.List getControlPanelThemes(
long companyId, long userId) {
return _themeLocalService.getControlPanelThemes(companyId, userId);
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
@Override
public java.lang.String getOSGiServiceIdentifier() {
return _themeLocalService.getOSGiServiceIdentifier();
}
@Override
public java.util.List getPageThemes(
long companyId, long groupId, long userId) {
return _themeLocalService.getPageThemes(companyId, groupId, userId);
}
@Override
public com.liferay.portal.kernel.model.PortletDecorator getPortletDecorator(
long companyId, java.lang.String themeId,
java.lang.String portletDecoratorId) {
return _themeLocalService.getPortletDecorator(companyId, themeId,
portletDecoratorId);
}
@Override
public com.liferay.portal.kernel.model.Theme getTheme(long companyId,
java.lang.String themeId) {
return _themeLocalService.getTheme(companyId, themeId);
}
@Override
public java.util.List getThemes(
long companyId) {
return _themeLocalService.getThemes(companyId);
}
/**
* @deprecated As of 7.0.0, replaced by {@link #getPageThemes}
*/
@Deprecated
@Override
public java.util.List getThemes(
long companyId, long groupId, long userId, boolean wapTheme) {
return _themeLocalService.getThemes(companyId, groupId, userId, wapTheme);
}
@Override
public java.util.List getWARThemes() {
return _themeLocalService.getWARThemes();
}
@Override
public java.util.List init(
javax.servlet.ServletContext servletContext,
java.lang.String themesPath, boolean loadFromServletContext,
java.lang.String[] xmls,
com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
return _themeLocalService.init(servletContext, themesPath,
loadFromServletContext, xmls, pluginPackage);
}
@Override
public java.util.List init(
java.lang.String servletContextName,
javax.servlet.ServletContext servletContext,
java.lang.String themesPath, boolean loadFromServletContext,
java.lang.String[] xmls,
com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
return _themeLocalService.init(servletContextName, servletContext,
themesPath, loadFromServletContext, xmls, pluginPackage);
}
@Override
public void uninstallThemes(
java.util.List themes) {
_themeLocalService.uninstallThemes(themes);
}
@Override
public ThemeLocalService getWrappedService() {
return _themeLocalService;
}
@Override
public void setWrappedService(ThemeLocalService themeLocalService) {
_themeLocalService = themeLocalService;
}
private ThemeLocalService _themeLocalService;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy