001
014
015 package com.liferay.portal.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020 import com.liferay.portal.kernel.util.ReferenceRegistry;
021
022
036 @ProviderType
037 public class LayoutSetServiceUtil {
038
043
044
049 public static java.lang.String getBeanIdentifier() {
050 return getService().getBeanIdentifier();
051 }
052
053
058 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
059 getService().setBeanIdentifier(beanIdentifier);
060 }
061
062
081 public static void updateLayoutSetPrototypeLinkEnabled(long groupId,
082 boolean privateLayout, boolean layoutSetPrototypeLinkEnabled,
083 java.lang.String layoutSetPrototypeUuid)
084 throws com.liferay.portal.kernel.exception.PortalException {
085 getService()
086 .updateLayoutSetPrototypeLinkEnabled(groupId, privateLayout,
087 layoutSetPrototypeLinkEnabled, layoutSetPrototypeUuid);
088 }
089
090 public static void updateLogo(long groupId, boolean privateLayout,
091 boolean logo, byte[] bytes)
092 throws com.liferay.portal.kernel.exception.PortalException {
093 getService().updateLogo(groupId, privateLayout, logo, bytes);
094 }
095
096 public static void updateLogo(long groupId, boolean privateLayout,
097 boolean logo, java.io.File file)
098 throws com.liferay.portal.kernel.exception.PortalException {
099 getService().updateLogo(groupId, privateLayout, logo, file);
100 }
101
102 public static void updateLogo(long groupId, boolean privateLayout,
103 boolean logo, java.io.InputStream inputStream)
104 throws com.liferay.portal.kernel.exception.PortalException {
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 getService()
112 .updateLogo(groupId, privateLayout, logo, inputStream, cleanUpStream);
113 }
114
115 public static com.liferay.portal.model.LayoutSet updateLookAndFeel(
116 long groupId, boolean privateLayout, java.lang.String themeId,
117 java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
118 throws com.liferay.portal.kernel.exception.PortalException {
119 return getService()
120 .updateLookAndFeel(groupId, privateLayout, themeId,
121 colorSchemeId, css, wapTheme);
122 }
123
124 public static com.liferay.portal.model.LayoutSet updateSettings(
125 long groupId, boolean privateLayout, java.lang.String settings)
126 throws com.liferay.portal.kernel.exception.PortalException {
127 return getService().updateSettings(groupId, privateLayout, settings);
128 }
129
130 public static com.liferay.portal.model.LayoutSet updateVirtualHost(
131 long groupId, boolean privateLayout, java.lang.String virtualHost)
132 throws com.liferay.portal.kernel.exception.PortalException {
133 return getService()
134 .updateVirtualHost(groupId, privateLayout, virtualHost);
135 }
136
137 public static LayoutSetService getService() {
138 if (_service == null) {
139 _service = (LayoutSetService)PortalBeanLocatorUtil.locate(LayoutSetService.class.getName());
140
141 ReferenceRegistry.registerReference(LayoutSetServiceUtil.class,
142 "_service");
143 }
144
145 return _service;
146 }
147
148
151 @Deprecated
152 public void setService(LayoutSetService service) {
153 }
154
155 private static LayoutSetService _service;
156 }