--- /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.gestionPlans.service;
+
+
+/**
+ * <a href="FormulaireModificationLocalServiceUtil.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.gestionPlans.service.FormulaireModificationLocalService</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.gestionPlans.service.FormulaireModificationLocalService
+ *
+ */
+public class FormulaireModificationLocalServiceUtil {
+ private static FormulaireModificationLocalService _service;
+
+ public static com.pentila.entSavoie.gestionPlans.model.FormulaireModification addFormulaireModification(
+ com.pentila.entSavoie.gestionPlans.model.FormulaireModification formulaireModification)
+ throws com.liferay.portal.SystemException {
+ return getService().addFormulaireModification(formulaireModification);
+ }
+
+ public static com.pentila.entSavoie.gestionPlans.model.FormulaireModification createFormulaireModification(
+ long formulaireModificationId) {
+ return getService()
+ .createFormulaireModification(formulaireModificationId);
+ }
+
+ public static void deleteFormulaireModification(
+ long formulaireModificationId)
+ throws com.liferay.portal.PortalException,
+ com.liferay.portal.SystemException {
+ getService().deleteFormulaireModification(formulaireModificationId);
+ }
+
+ public static void deleteFormulaireModification(
+ com.pentila.entSavoie.gestionPlans.model.FormulaireModification formulaireModification)
+ throws com.liferay.portal.SystemException {
+ getService().deleteFormulaireModification(formulaireModification);
+ }
+
+ 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.gestionPlans.model.FormulaireModification getFormulaireModification(
+ long formulaireModificationId)
+ throws com.liferay.portal.PortalException,
+ com.liferay.portal.SystemException {
+ return getService().getFormulaireModification(formulaireModificationId);
+ }
+
+ public static java.util.List<com.pentila.entSavoie.gestionPlans.model.FormulaireModification> getFormulaireModifications(
+ int start, int end) throws com.liferay.portal.SystemException {
+ return getService().getFormulaireModifications(start, end);
+ }
+
+ public static int getFormulaireModificationsCount()
+ throws com.liferay.portal.SystemException {
+ return getService().getFormulaireModificationsCount();
+ }
+
+ public static com.pentila.entSavoie.gestionPlans.model.FormulaireModification updateFormulaireModification(
+ com.pentila.entSavoie.gestionPlans.model.FormulaireModification formulaireModification)
+ throws com.liferay.portal.SystemException {
+ return getService().updateFormulaireModification(formulaireModification);
+ }
+
+ public static com.pentila.entSavoie.gestionPlans.model.FormulaireModification updateFormulaireModification(
+ com.pentila.entSavoie.gestionPlans.model.FormulaireModification formulaireModification,
+ boolean merge) throws com.liferay.portal.SystemException {
+ return getService()
+ .updateFormulaireModification(formulaireModification, merge);
+ }
+
+ public static com.pentila.entSavoie.gestionPlans.model.FormulaireModification addFormulaireModification()
+ throws com.liferay.portal.SystemException {
+ return getService().addFormulaireModification();
+ }
+
+ public static com.pentila.entSavoie.gestionPlans.model.FormulaireModification addFormulaireModification(
+ int plan, long etabId, int year)
+ throws com.liferay.portal.SystemException {
+ return getService().addFormulaireModification(plan, etabId, year);
+ }
+
+ public static com.pentila.entSavoie.gestionPlans.model.FormulaireModification addFormulaireModification(
+ int plan, long etabId, int year, java.lang.String modificationXML)
+ throws com.liferay.portal.SystemException {
+ return getService()
+ .addFormulaireModification(plan, etabId, year,
+ modificationXML);
+ }
+
+ public static com.pentila.entSavoie.gestionPlans.model.FormulaireModification getFormulaireModificationByPlanEtabIdYear(
+ int plan, long etabId, int year)
+ throws com.liferay.portal.SystemException,
+ com.pentila.entSavoie.gestionPlans.NoSuchFormulaireModificationException {
+ return getService()
+ .getFormulaireModificationByPlanEtabIdYear(plan, etabId, year);
+ }
+
+ public static void deleteFormulaireModificationByPlanEtabIdYear(int plan,
+ long etabId, int year)
+ throws com.liferay.portal.SystemException,
+ com.pentila.entSavoie.gestionPlans.NoSuchFormulaireModificationException {
+ getService()
+ .deleteFormulaireModificationByPlanEtabIdYear(plan, etabId, year);
+ }
+
+ public static FormulaireModificationLocalService getService() {
+ if (_service == null) {
+ throw new RuntimeException(
+ "FormulaireModificationLocalService is not set");
+ }
+
+ return _service;
+ }
+
+ public void setService(FormulaireModificationLocalService service) {
+ _service = service;
+ }
+}