--- /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.institutionalList.service.persistence;
+
+import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
+import com.liferay.portal.kernel.util.ReferenceRegistry;
+
+/**
+ * @author DIMIER Cedric
+ */
+public class ListeInstFinderUtil {
+ public static boolean removeListInstForAnEtab(long pEtabId) {
+ return getFinder().removeListInstForAnEtab(pEtabId);
+ }
+
+ public static boolean removeListInstDetailsForAnEtab(long pEtabId) {
+ return getFinder().removeListInstDetailsForAnEtab(pEtabId);
+ }
+
+ public static boolean commitListInstDetails(
+ java.util.List<com.pentila.entSavoie.institutionalList.model.ListeInstDetails> pListInstDetailsToCommit) {
+ return getFinder().commitListInstDetails(pListInstDetailsToCommit);
+ }
+
+ public static ListeInstFinder getFinder() {
+ if (_finder == null) {
+ _finder = (ListeInstFinder)PortletBeanLocatorUtil.locate(com.pentila.entSavoie.institutionalList.service.ClpSerializer.getServletContextName(),
+ ListeInstFinder.class.getName());
+
+ ReferenceRegistry.registerReference(ListeInstFinderUtil.class,
+ "_finder");
+ }
+
+ return _finder;
+ }
+
+ public void setFinder(ListeInstFinder finder) {
+ _finder = finder;
+
+ ReferenceRegistry.registerReference(ListeInstFinderUtil.class, "_finder");
+ }
+
+ private static ListeInstFinder _finder;
+}
\ No newline at end of file