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 LayoutSetServiceUtil {
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
062 public static void updateLayoutSetPrototypeLinkEnabled(long groupId,
063 boolean privateLayout, boolean layoutSetPrototypeLinkEnabled)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 getService()
067 .updateLayoutSetPrototypeLinkEnabled(groupId, privateLayout,
068 layoutSetPrototypeLinkEnabled);
069 }
070
071
091 public static void updateLayoutSetPrototypeLinkEnabled(long groupId,
092 boolean privateLayout, boolean layoutSetPrototypeLinkEnabled,
093 java.lang.String layoutSetPrototypeUuid)
094 throws com.liferay.portal.kernel.exception.PortalException,
095 com.liferay.portal.kernel.exception.SystemException {
096 getService()
097 .updateLayoutSetPrototypeLinkEnabled(groupId, privateLayout,
098 layoutSetPrototypeLinkEnabled, layoutSetPrototypeUuid);
099 }
100
101 public static void updateLogo(long groupId, boolean privateLayout,
102 boolean logo, java.io.InputStream inputStream)
103 throws com.liferay.portal.kernel.exception.PortalException,
104 com.liferay.portal.kernel.exception.SystemException {
105 getService().updateLogo(groupId, privateLayout, logo, inputStream);
106 }
107
108 public static void updateLogo(long groupId, boolean privateLayout,
109 boolean logo, java.io.InputStream inputStream, boolean cleanUpStream)
110 throws com.liferay.portal.kernel.exception.PortalException,
111 com.liferay.portal.kernel.exception.SystemException {
112 getService()
113 .updateLogo(groupId, privateLayout, logo, inputStream, cleanUpStream);
114 }
115
116 public static com.liferay.portal.model.LayoutSet updateLookAndFeel(
117 long groupId, boolean privateLayout, java.lang.String themeId,
118 java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
119 throws com.liferay.portal.kernel.exception.PortalException,
120 com.liferay.portal.kernel.exception.SystemException {
121 return getService()
122 .updateLookAndFeel(groupId, privateLayout, themeId,
123 colorSchemeId, css, wapTheme);
124 }
125
126 public static com.liferay.portal.model.LayoutSet updateSettings(
127 long groupId, boolean privateLayout, java.lang.String settings)
128 throws com.liferay.portal.kernel.exception.PortalException,
129 com.liferay.portal.kernel.exception.SystemException {
130 return getService().updateSettings(groupId, privateLayout, settings);
131 }
132
133 public static com.liferay.portal.model.LayoutSet updateVirtualHost(
134 long groupId, boolean privateLayout, java.lang.String virtualHost)
135 throws com.liferay.portal.kernel.exception.PortalException,
136 com.liferay.portal.kernel.exception.SystemException {
137 return getService()
138 .updateVirtualHost(groupId, privateLayout, virtualHost);
139 }
140
141 public static LayoutSetService getService() {
142 if (_service == null) {
143 _service = (LayoutSetService)PortalBeanLocatorUtil.locate(LayoutSetService.class.getName());
144
145 ReferenceRegistry.registerReference(LayoutSetServiceUtil.class,
146 "_service");
147 }
148
149 return _service;
150 }
151
152
155 public void setService(LayoutSetService service) {
156 }
157
158 private static LayoutSetService _service;
159 }