001
014
015 package com.liferay.portal.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
033 public class LayoutTemplateLocalServiceUtil {
034
039
040
045 public static java.lang.String getBeanIdentifier() {
046 return getService().getBeanIdentifier();
047 }
048
049
054 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
055 getService().setBeanIdentifier(beanIdentifier);
056 }
057
058 public static java.lang.String getContent(
059 java.lang.String layoutTemplateId, boolean standard,
060 java.lang.String themeId)
061 throws com.liferay.portal.kernel.exception.SystemException {
062 return getService().getContent(layoutTemplateId, standard, themeId);
063 }
064
065 public static com.liferay.portal.model.LayoutTemplate getLayoutTemplate(
066 java.lang.String layoutTemplateId, boolean standard,
067 java.lang.String themeId) {
068 return getService()
069 .getLayoutTemplate(layoutTemplateId, standard, themeId);
070 }
071
072 public static java.util.List<com.liferay.portal.model.LayoutTemplate> getLayoutTemplates() {
073 return getService().getLayoutTemplates();
074 }
075
076 public static java.util.List<com.liferay.portal.model.LayoutTemplate> getLayoutTemplates(
077 java.lang.String themeId) {
078 return getService().getLayoutTemplates(themeId);
079 }
080
081 public static java.lang.String getWapContent(
082 java.lang.String layoutTemplateId, boolean standard,
083 java.lang.String themeId)
084 throws com.liferay.portal.kernel.exception.SystemException {
085 return getService().getWapContent(layoutTemplateId, standard, themeId);
086 }
087
088 public static java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.lang.Boolean>> init(
089 javax.servlet.ServletContext servletContext, java.lang.String[] xmls,
090 com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
091 return getService().init(servletContext, xmls, pluginPackage);
092 }
093
094 public static java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.lang.Boolean>> init(
095 java.lang.String servletContextName,
096 javax.servlet.ServletContext servletContext, java.lang.String[] xmls,
097 com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
098 return getService()
099 .init(servletContextName, servletContext, xmls, pluginPackage);
100 }
101
102 public static void readLayoutTemplate(java.lang.String servletContextName,
103 javax.servlet.ServletContext servletContext,
104 java.util.Set<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.lang.Boolean>> layoutTemplateIds,
105 com.liferay.portal.kernel.xml.Element el, boolean standard,
106 java.lang.String themeId,
107 com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
108 getService()
109 .readLayoutTemplate(servletContextName, servletContext,
110 layoutTemplateIds, el, standard, themeId, pluginPackage);
111 }
112
113 public static void uninstallLayoutTemplate(
114 java.lang.String layoutTemplateId, boolean standard) {
115 getService().uninstallLayoutTemplate(layoutTemplateId, standard);
116 }
117
118 public static void uninstallLayoutTemplates(java.lang.String themeId) {
119 getService().uninstallLayoutTemplates(themeId);
120 }
121
122 public static LayoutTemplateLocalService getService() {
123 if (_service == null) {
124 _service = (LayoutTemplateLocalService)PortalBeanLocatorUtil.locate(LayoutTemplateLocalService.class.getName());
125
126 ReferenceRegistry.registerReference(LayoutTemplateLocalServiceUtil.class,
127 "_service");
128 }
129
130 return _service;
131 }
132
133
136 public void setService(LayoutTemplateLocalService service) {
137 }
138
139 private static LayoutTemplateLocalService _service;
140 }