Class LayoutTemplateLocalServiceUtil

Object
com.liferay.portal.kernel.service.LayoutTemplateLocalServiceUtil

public class LayoutTemplateLocalServiceUtil extends Object
Provides the local service utility for LayoutTemplate. This utility wraps com.liferay.portal.service.impl.LayoutTemplateLocalServiceImpl and is an 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.
Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Constructor Details

    • LayoutTemplateLocalServiceUtil

      public LayoutTemplateLocalServiceUtil()
  • Method Details

    • getContent

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

      public static String getLangType(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
    • 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()
    • setService

      public static void setService(LayoutTemplateLocalService service)