--- /dev/null
+/*******************************************************************************
+ * Copyright © Igor Barma, Alexandre Desoubeaux, Christian Martel, Eric Brun, Mathieu Amblard, Gwenael Gevet, Pierre Guillot, 2012
+ *
+ * This file is part of the work and learning management system Pentila Nero.
+ *
+ * Pentila Nero is free software. You can redistribute it and/or modify since
+ * you respect the terms of either (at least one of the both license) :
+ * - under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ * - the CeCILL-C as published by CeCILL-C; either version 1 of the
+ * License, or any later version
+ * - the GNU Lesser General Public License as published by the
+ * Free Software Foundation, either version 3 of the license,
+ * or (at your option) any later version.
+ *
+ * There are special exceptions to the terms and conditions of the
+ * licenses as they are applied to this software. View the full text of
+ * the exception in file LICENSE-PROJECT.txt in the directory of this software
+ * distribution.
+ *
+ * Pentila Nero 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
+ * Licenses for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * and the CeCILL-C and the GNU Lesser General Public License along with
+ * Pentila Nero. If not, see :
+ * <http://www.gnu.org/licenses/> and
+ * <http://www.cecill.info/licences.fr.html>.
+ ******************************************************************************/
+package com.pentila.entSavoie.quota.service;
+
+
+/**
+ * <a href="QuotaRoleLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
+ *
+ * <p>
+ * ServiceBuilder generated this class. Modifications in this class will be
+ * overwritten the next time is generated.
+ * </p>
+ *
+ * <p>
+ * This class provides static methods for the
+ * <code>com.pentila.entSavoie.quota.service.QuotaRoleLocalService</code>
+ * bean. The static methods of this class calls the same methods of the bean
+ * instance. It's convenient to be able to just write one line to call a method
+ * on a bean instead of writing a lookup call and a method call.
+ * </p>
+ *
+ * @author Brian Wing Shun Chan
+ *
+ * @see com.pentila.entSavoie.quota.service.QuotaRoleLocalService
+ *
+ */
+public class QuotaRoleLocalServiceUtil {
+ private static QuotaRoleLocalService _service;
+
+ public static com.pentila.entSavoie.quota.model.QuotaRole addQuotaRole(
+ com.pentila.entSavoie.quota.model.QuotaRole quotaRole)
+ throws com.liferay.portal.SystemException {
+ return getService().addQuotaRole(quotaRole);
+ }
+
+ public static com.pentila.entSavoie.quota.model.QuotaRole createQuotaRole(
+ long quotaRoleId) {
+ return getService().createQuotaRole(quotaRoleId);
+ }
+
+ public static void deleteQuotaRole(long quotaRoleId)
+ throws com.liferay.portal.PortalException,
+ com.liferay.portal.SystemException {
+ getService().deleteQuotaRole(quotaRoleId);
+ }
+
+ public static void deleteQuotaRole(
+ com.pentila.entSavoie.quota.model.QuotaRole quotaRole)
+ throws com.liferay.portal.SystemException {
+ getService().deleteQuotaRole(quotaRole);
+ }
+
+ public static java.util.List<Object> dynamicQuery(
+ com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
+ throws com.liferay.portal.SystemException {
+ return getService().dynamicQuery(dynamicQuery);
+ }
+
+ public static java.util.List<Object> dynamicQuery(
+ com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
+ int end) throws com.liferay.portal.SystemException {
+ return getService().dynamicQuery(dynamicQuery, start, end);
+ }
+
+ public static com.pentila.entSavoie.quota.model.QuotaRole getQuotaRole(
+ long quotaRoleId)
+ throws com.liferay.portal.PortalException,
+ com.liferay.portal.SystemException {
+ return getService().getQuotaRole(quotaRoleId);
+ }
+
+ public static java.util.List<com.pentila.entSavoie.quota.model.QuotaRole> getQuotaRoles(
+ int start, int end) throws com.liferay.portal.SystemException {
+ return getService().getQuotaRoles(start, end);
+ }
+
+ public static int getQuotaRolesCount()
+ throws com.liferay.portal.SystemException {
+ return getService().getQuotaRolesCount();
+ }
+
+ public static com.pentila.entSavoie.quota.model.QuotaRole updateQuotaRole(
+ com.pentila.entSavoie.quota.model.QuotaRole quotaRole)
+ throws com.liferay.portal.SystemException {
+ return getService().updateQuotaRole(quotaRole);
+ }
+
+ public static com.pentila.entSavoie.quota.model.QuotaRole updateQuotaRole(
+ com.pentila.entSavoie.quota.model.QuotaRole quotaRole, boolean merge)
+ throws com.liferay.portal.SystemException {
+ return getService().updateQuotaRole(quotaRole, merge);
+ }
+
+ public static com.pentila.entSavoie.quota.model.QuotaRole addQuotaRole()
+ throws com.liferay.portal.PortalException,
+ com.liferay.portal.SystemException {
+ return getService().addQuotaRole();
+ }
+
+ public static com.pentila.entSavoie.quota.model.QuotaRole addQuotaRole(
+ long roleId, long qMess, long qDoc, boolean disableQuota)
+ throws com.liferay.portal.PortalException,
+ com.liferay.portal.SystemException {
+ return getService().addQuotaRole(roleId, qMess, qDoc, disableQuota);
+ }
+
+ public static com.pentila.entSavoie.quota.model.QuotaRole getOrCreateQuotaRole(
+ long roleId)
+ throws com.liferay.portal.PortalException,
+ com.liferay.portal.SystemException {
+ return getService().getOrCreateQuotaRole(roleId);
+ }
+
+ public static QuotaRoleLocalService getService() {
+ if (_service == null) {
+ throw new RuntimeException("QuotaRoleLocalService is not set");
+ }
+
+ return _service;
+ }
+
+ public void setService(QuotaRoleLocalService service) {
+ _service = service;
+ }
+}