Liferay 7.0-ce-b4

com.liferay.portal.service
Class LayoutTemplateLocalServiceUtil

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

@ProviderType
public class LayoutTemplateLocalServiceUtil
extends Object

Provides the local service utility for LayoutTemplate. This utility wraps com.liferay.portal.service.impl.LayoutTemplateLocalServiceImpl and is the primary access point for service operations in application layer code running on the local server. 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:
LayoutTemplateLocalService, LayoutTemplateLocalServiceBaseImpl, com.liferay.portal.service.impl.LayoutTemplateLocalServiceImpl

Constructor Summary
LayoutTemplateLocalServiceUtil()
           
 
Method Summary
static String getContent(String layoutTemplateId, boolean standard, String themeId)
           
static LayoutTemplate getLayoutTemplate(String layoutTemplateId, boolean standard, String themeId)
           
static List<LayoutTemplate> getLayoutTemplates()
           
static List<LayoutTemplate> getLayoutTemplates(String themeId)
           
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
static LayoutTemplateLocalService getService()
           
static String getWapContent(String layoutTemplateId, boolean standard, String themeId)
           
static List<LayoutTemplate> init(javax.servlet.ServletContext servletContext, String[] xmls, PluginPackage pluginPackage)
           
static List<LayoutTemplate> init(String servletContextName, javax.servlet.ServletContext servletContext, String[] xmls, PluginPackage pluginPackage)
           
static void readLayoutTemplate(String servletContextName, javax.servlet.ServletContext servletContext, Set<LayoutTemplate> layoutTemplates, Element element, boolean standard, String themeId, PluginPackage pluginPackage)
           
static void uninstallLayoutTemplate(String layoutTemplateId, boolean standard)
           
static void uninstallLayoutTemplates(String themeId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutTemplateLocalServiceUtil

public LayoutTemplateLocalServiceUtil()
Method Detail

getContent

public static String getContent(String layoutTemplateId,
                                boolean standard,
                                String themeId)

getLayoutTemplate

public static LayoutTemplate getLayoutTemplate(String layoutTemplateId,
                                               boolean standard,
                                               String themeId)

getLayoutTemplates

public static List<LayoutTemplate> getLayoutTemplates()

getLayoutTemplates

public static List<LayoutTemplate> getLayoutTemplates(String themeId)

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getWapContent

public static String getWapContent(String layoutTemplateId,
                                   boolean standard,
                                   String themeId)

init

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

init

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

readLayoutTemplate

public static void readLayoutTemplate(String servletContextName,
                                      javax.servlet.ServletContext servletContext,
                                      Set<LayoutTemplate> layoutTemplates,
                                      Element element,
                                      boolean standard,
                                      String themeId,
                                      PluginPackage pluginPackage)

uninstallLayoutTemplate

public static void uninstallLayoutTemplate(String layoutTemplateId,
                                           boolean standard)

uninstallLayoutTemplates

public static void uninstallLayoutTemplates(String themeId)

getService

public static LayoutTemplateLocalService getService()

Liferay 7.0-ce-b4