Class LayoutTemplateLocalServiceUtil
Object
com.liferay.portal.kernel.service.LayoutTemplateLocalServiceUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getContent
(String layoutTemplateId, boolean standard, String themeId) static String
getLangType
(String layoutTemplateId, boolean standard, String themeId) static LayoutTemplate
getLayoutTemplate
(String layoutTemplateId, boolean standard, String themeId) static List<LayoutTemplate>
static List<LayoutTemplate>
getLayoutTemplates
(String themeId) static String
Returns the OSGi service identifier.static LayoutTemplateLocalService
static List<LayoutTemplate>
init
(String servletContextName, javax.servlet.ServletContext servletContext, String[] xmls, PluginPackage pluginPackage) static List<LayoutTemplate>
init
(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
setService
(LayoutTemplateLocalService service) static void
uninstallLayoutTemplate
(String layoutTemplateId, boolean standard) static void
uninstallLayoutTemplates
(String themeId)
-
Constructor Details
-
LayoutTemplateLocalServiceUtil
public LayoutTemplateLocalServiceUtil()
-
-
Method Details
-
getContent
-
getLangType
-
getLayoutTemplate
public static LayoutTemplate getLayoutTemplate(String layoutTemplateId, boolean standard, String themeId) -
getLayoutTemplates
-
getLayoutTemplates
-
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
-
uninstallLayoutTemplates
-
getService
-
setService
-