--- /dev/null
+/**
+ * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 2.1 of the License, or (at your option)
+ * any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ */
+
+package com.pentila.entSavoie.communityInfos.service;
+
+import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
+import com.liferay.portal.kernel.util.ReferenceRegistry;
+import com.liferay.portal.service.InvokableLocalService;
+
+/**
+ * The utility for the group utils local service. This utility wraps {@link com.pentila.entSavoie.communityInfos.service.impl.GroupUtilsLocalServiceImpl} and is the primary access point for service operations in application layer code running on the local server.
+ *
+ * <p>
+ * This is a local service. 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.
+ * </p>
+ *
+ * @author Barma Igor
+ * @see GroupUtilsLocalService
+ * @see com.pentila.entSavoie.communityInfos.service.base.GroupUtilsLocalServiceBaseImpl
+ * @see com.pentila.entSavoie.communityInfos.service.impl.GroupUtilsLocalServiceImpl
+ * @generated
+ */
+public class GroupUtilsLocalServiceUtil {
+ /*
+ * NOTE FOR DEVELOPERS:
+ *
+ * Never modify this class directly. Add custom service methods to {@link com.pentila.entSavoie.communityInfos.service.impl.GroupUtilsLocalServiceImpl} and rerun ServiceBuilder to regenerate this class.
+ */
+
+ /**
+ * Returns the Spring bean ID for this bean.
+ *
+ * @return the Spring bean ID for this bean
+ */
+ public static java.lang.String getBeanIdentifier() {
+ return getService().getBeanIdentifier();
+ }
+
+ /**
+ * Sets the Spring bean ID for this bean.
+ *
+ * @param beanIdentifier the Spring bean ID for this bean
+ */
+ public static void setBeanIdentifier(java.lang.String beanIdentifier) {
+ getService().setBeanIdentifier(beanIdentifier);
+ }
+
+ public static java.lang.Object invokeMethod(java.lang.String name,
+ java.lang.String[] parameterTypes, java.lang.Object[] arguments)
+ throws java.lang.Throwable {
+ return getService().invokeMethod(name, parameterTypes, arguments);
+ }
+
+ /**
+ * GEt the layout for a list of user groups
+ *
+ * @param pGroupIds the groupId you want the layout
+ * @param pPrivateLayout boolean which permit to retrun only the public or private layout
+ * @return a map with group id as key and the list of layout of the group in value
+ * @throws PortalException
+ * @throws SystemException
+ */
+ public static java.util.Map<java.lang.Long, java.util.List<com.liferay.portal.model.Layout>> getLayoutForGroups(
+ java.util.List<java.lang.Long> pGroupIds, boolean pPrivateLayout)
+ throws com.liferay.portal.kernel.exception.PortalException,
+ com.liferay.portal.kernel.exception.SystemException {
+ return getService().getLayoutForGroups(pGroupIds, pPrivateLayout);
+ }
+
+ public static void clearService() {
+ _service = null;
+ }
+
+ public static GroupUtilsLocalService getService() {
+ if (_service == null) {
+ InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(),
+ GroupUtilsLocalService.class.getName());
+
+ if (invokableLocalService instanceof GroupUtilsLocalService) {
+ _service = (GroupUtilsLocalService)invokableLocalService;
+ }
+ else {
+ _service = new GroupUtilsLocalServiceClp(invokableLocalService);
+ }
+
+ ReferenceRegistry.registerReference(GroupUtilsLocalServiceUtil.class,
+ "_service");
+ }
+
+ return _service;
+ }
+
+ /**
+ * @deprecated
+ */
+ public void setService(GroupUtilsLocalService service) {
+ }
+
+ private static GroupUtilsLocalService _service;
+}
\ No newline at end of file