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 LayoutSetPrototypeServiceUtil {
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 public static com.liferay.portal.model.LayoutSetPrototype addLayoutSetPrototype(
063 java.util.Map<java.util.Locale, java.lang.String> nameMap,
064 java.lang.String description, boolean active,
065 boolean layoutsUpdateable,
066 com.liferay.portal.service.ServiceContext serviceContext)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 return getService()
070 .addLayoutSetPrototype(nameMap, description, active,
071 layoutsUpdateable, serviceContext);
072 }
073
074 public static void deleteLayoutSetPrototype(long layoutSetPrototypeId)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 getService().deleteLayoutSetPrototype(layoutSetPrototypeId);
078 }
079
080 public static com.liferay.portal.model.LayoutSetPrototype getLayoutSetPrototype(
081 long layoutSetPrototypeId)
082 throws com.liferay.portal.kernel.exception.PortalException,
083 com.liferay.portal.kernel.exception.SystemException {
084 return getService().getLayoutSetPrototype(layoutSetPrototypeId);
085 }
086
087 public static java.util.List<com.liferay.portal.model.LayoutSetPrototype> search(
088 long companyId, java.lang.Boolean active,
089 com.liferay.portal.kernel.util.OrderByComparator obc)
090 throws com.liferay.portal.kernel.exception.PortalException,
091 com.liferay.portal.kernel.exception.SystemException {
092 return getService().search(companyId, active, obc);
093 }
094
095 public static com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
096 long layoutSetPrototypeId,
097 java.util.Map<java.util.Locale, java.lang.String> nameMap,
098 java.lang.String description, boolean active,
099 boolean layoutsUpdateable,
100 com.liferay.portal.service.ServiceContext serviceContext)
101 throws com.liferay.portal.kernel.exception.PortalException,
102 com.liferay.portal.kernel.exception.SystemException {
103 return getService()
104 .updateLayoutSetPrototype(layoutSetPrototypeId, nameMap,
105 description, active, layoutsUpdateable, serviceContext);
106 }
107
108 public static com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
109 long layoutSetPrototypeId, java.lang.String settings)
110 throws com.liferay.portal.kernel.exception.PortalException,
111 com.liferay.portal.kernel.exception.SystemException {
112 return getService()
113 .updateLayoutSetPrototype(layoutSetPrototypeId, settings);
114 }
115
116 public static LayoutSetPrototypeService getService() {
117 if (_service == null) {
118 _service = (LayoutSetPrototypeService)PortalBeanLocatorUtil.locate(LayoutSetPrototypeService.class.getName());
119
120 ReferenceRegistry.registerReference(LayoutSetPrototypeServiceUtil.class,
121 "_service");
122 }
123
124 return _service;
125 }
126
127
130 public void setService(LayoutSetPrototypeService service) {
131 }
132
133 private static LayoutSetPrototypeService _service;
134 }