Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Class ThemeLocalServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.ThemeLocalServiceUtil

public class ThemeLocalServiceUtil
extends Object

The utility for the theme local service. This utility wraps ThemeLocalServiceImpl and is the primary access point for service operations in application layer code running on the local server.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

See Also:
ThemeLocalService, ThemeLocalServiceBaseImpl, ThemeLocalServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
ThemeLocalServiceUtil()
           
 
Method Summary
static ColorScheme fetchColorScheme(long companyId, String themeId, String colorSchemeId)
           
static Theme fetchTheme(long companyId, String themeId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static ColorScheme getColorScheme(long companyId, String themeId, String colorSchemeId, boolean wapTheme)
           
static ThemeLocalService getService()
           
static Theme getTheme(long companyId, String themeId, boolean wapTheme)
           
static List<Theme> getThemes(long companyId)
           
static List<Theme> getThemes(long companyId, long groupId, long userId, boolean wapTheme)
           
static List<Theme> getWARThemes()
           
static List<String> init(javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage)
           
static List<String> init(String servletContextName, javax.servlet.ServletContext servletContext, String themesPath, boolean loadFromServletContext, String[] xmls, PluginPackage pluginPackage)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(ThemeLocalService service)
          Deprecated.  
static void uninstallThemes(List<String> themeIds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeLocalServiceUtil

public ThemeLocalServiceUtil()
Method Detail

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

fetchColorScheme

public static ColorScheme fetchColorScheme(long companyId,
                                           String themeId,
                                           String colorSchemeId)

fetchTheme

public static Theme fetchTheme(long companyId,
                               String themeId)

getColorScheme

public static ColorScheme getColorScheme(long companyId,
                                         String themeId,
                                         String colorSchemeId,
                                         boolean wapTheme)
                                  throws SystemException
Throws:
SystemException

getTheme

public static Theme getTheme(long companyId,
                             String themeId,
                             boolean wapTheme)
                      throws SystemException
Throws:
SystemException

getThemes

public static List<Theme> getThemes(long companyId)

getThemes

public static List<Theme> getThemes(long companyId,
                                    long groupId,
                                    long userId,
                                    boolean wapTheme)
                             throws SystemException
Throws:
SystemException

getWARThemes

public static List<Theme> getWARThemes()

init

public static List<String> init(javax.servlet.ServletContext servletContext,
                                String themesPath,
                                boolean loadFromServletContext,
                                String[] xmls,
                                PluginPackage pluginPackage)

init

public static List<String> init(String servletContextName,
                                javax.servlet.ServletContext servletContext,
                                String themesPath,
                                boolean loadFromServletContext,
                                String[] xmls,
                                PluginPackage pluginPackage)

uninstallThemes

public static void uninstallThemes(List<String> themeIds)

getService

public static ThemeLocalService getService()

setService

public void setService(ThemeLocalService service)
Deprecated. 


Liferay 6.1.2-ce-ga3