--- /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.cantine.service.persistence;
+
+import com.liferay.portal.service.persistence.BasePersistence;
+
+import com.pentila.entSavoie.cantine.model.CantineMenu;
+
+/**
+ * The persistence interface for the cantine menu service.
+ *
+ * <p>
+ * Caching information and settings can be found in <code>portal.properties</code>
+ * </p>
+ *
+ * @author Mathieu Amblard
+ * @see CantineMenuPersistenceImpl
+ * @see CantineMenuUtil
+ * @generated
+ */
+public interface CantineMenuPersistence extends BasePersistence<CantineMenu> {
+ /*
+ * NOTE FOR DEVELOPERS:
+ *
+ * Never modify or reference this interface directly. Always use {@link CantineMenuUtil} to access the cantine menu persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
+ */
+
+ /**
+ * Caches the cantine menu in the entity cache if it is enabled.
+ *
+ * @param cantineMenu the cantine menu
+ */
+ public void cacheResult(
+ com.pentila.entSavoie.cantine.model.CantineMenu cantineMenu);
+
+ /**
+ * Caches the cantine menus in the entity cache if it is enabled.
+ *
+ * @param cantineMenus the cantine menus
+ */
+ public void cacheResult(
+ java.util.List<com.pentila.entSavoie.cantine.model.CantineMenu> cantineMenus);
+
+ /**
+ * Creates a new cantine menu with the primary key. Does not add the cantine menu to the database.
+ *
+ * @param cantineMenuId the primary key for the new cantine menu
+ * @return the new cantine menu
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu create(
+ long cantineMenuId);
+
+ /**
+ * Removes the cantine menu with the primary key from the database. Also notifies the appropriate model listeners.
+ *
+ * @param cantineMenuId the primary key of the cantine menu
+ * @return the cantine menu that was removed
+ * @throws com.pentila.entSavoie.cantine.NoSuchCantineMenuException if a cantine menu with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu remove(
+ long cantineMenuId)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.cantine.NoSuchCantineMenuException;
+
+ public com.pentila.entSavoie.cantine.model.CantineMenu updateImpl(
+ com.pentila.entSavoie.cantine.model.CantineMenu cantineMenu,
+ boolean merge)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the cantine menu with the primary key or throws a {@link com.pentila.entSavoie.cantine.NoSuchCantineMenuException} if it could not be found.
+ *
+ * @param cantineMenuId the primary key of the cantine menu
+ * @return the cantine menu
+ * @throws com.pentila.entSavoie.cantine.NoSuchCantineMenuException if a cantine menu with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu findByPrimaryKey(
+ long cantineMenuId)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.cantine.NoSuchCantineMenuException;
+
+ /**
+ * Returns the cantine menu with the primary key or returns <code>null</code> if it could not be found.
+ *
+ * @param cantineMenuId the primary key of the cantine menu
+ * @return the cantine menu, or <code>null</code> if a cantine menu with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu fetchByPrimaryKey(
+ long cantineMenuId)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns all the cantine menus where cantineDatePlanAlimentaireId = ? and typeRecette = ?.
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param typeRecette the type recette
+ * @return the matching cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.cantine.model.CantineMenu> findBycantineDatePlanAlimentaireId_typeRecette(
+ long cantineDatePlanAlimentaireId, java.lang.String typeRecette)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns a range of all the cantine menus where cantineDatePlanAlimentaireId = ? and typeRecette = ?.
+ *
+ * <p>
+ * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
+ * </p>
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param typeRecette the type recette
+ * @param start the lower bound of the range of cantine menus
+ * @param end the upper bound of the range of cantine menus (not inclusive)
+ * @return the range of matching cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.cantine.model.CantineMenu> findBycantineDatePlanAlimentaireId_typeRecette(
+ long cantineDatePlanAlimentaireId, java.lang.String typeRecette,
+ int start, int end)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns an ordered range of all the cantine menus where cantineDatePlanAlimentaireId = ? and typeRecette = ?.
+ *
+ * <p>
+ * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
+ * </p>
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param typeRecette the type recette
+ * @param start the lower bound of the range of cantine menus
+ * @param end the upper bound of the range of cantine menus (not inclusive)
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
+ * @return the ordered range of matching cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.cantine.model.CantineMenu> findBycantineDatePlanAlimentaireId_typeRecette(
+ long cantineDatePlanAlimentaireId, java.lang.String typeRecette,
+ int start, int end,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the first cantine menu in the ordered set where cantineDatePlanAlimentaireId = ? and typeRecette = ?.
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param typeRecette the type recette
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching cantine menu
+ * @throws com.pentila.entSavoie.cantine.NoSuchCantineMenuException if a matching cantine menu could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu findBycantineDatePlanAlimentaireId_typeRecette_First(
+ long cantineDatePlanAlimentaireId, java.lang.String typeRecette,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.cantine.NoSuchCantineMenuException;
+
+ /**
+ * Returns the first cantine menu in the ordered set where cantineDatePlanAlimentaireId = ? and typeRecette = ?.
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param typeRecette the type recette
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching cantine menu, or <code>null</code> if a matching cantine menu could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu fetchBycantineDatePlanAlimentaireId_typeRecette_First(
+ long cantineDatePlanAlimentaireId, java.lang.String typeRecette,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the last cantine menu in the ordered set where cantineDatePlanAlimentaireId = ? and typeRecette = ?.
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param typeRecette the type recette
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching cantine menu
+ * @throws com.pentila.entSavoie.cantine.NoSuchCantineMenuException if a matching cantine menu could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu findBycantineDatePlanAlimentaireId_typeRecette_Last(
+ long cantineDatePlanAlimentaireId, java.lang.String typeRecette,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.cantine.NoSuchCantineMenuException;
+
+ /**
+ * Returns the last cantine menu in the ordered set where cantineDatePlanAlimentaireId = ? and typeRecette = ?.
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param typeRecette the type recette
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching cantine menu, or <code>null</code> if a matching cantine menu could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu fetchBycantineDatePlanAlimentaireId_typeRecette_Last(
+ long cantineDatePlanAlimentaireId, java.lang.String typeRecette,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the cantine menus before and after the current cantine menu in the ordered set where cantineDatePlanAlimentaireId = ? and typeRecette = ?.
+ *
+ * @param cantineMenuId the primary key of the current cantine menu
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param typeRecette the type recette
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the previous, current, and next cantine menu
+ * @throws com.pentila.entSavoie.cantine.NoSuchCantineMenuException if a cantine menu with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu[] findBycantineDatePlanAlimentaireId_typeRecette_PrevAndNext(
+ long cantineMenuId, long cantineDatePlanAlimentaireId,
+ java.lang.String typeRecette,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.cantine.NoSuchCantineMenuException;
+
+ /**
+ * Returns all the cantine menus where recetteId = ?.
+ *
+ * @param recetteId the recette ID
+ * @return the matching cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.cantine.model.CantineMenu> findByrecetteId(
+ long recetteId)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns a range of all the cantine menus where recetteId = ?.
+ *
+ * <p>
+ * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
+ * </p>
+ *
+ * @param recetteId the recette ID
+ * @param start the lower bound of the range of cantine menus
+ * @param end the upper bound of the range of cantine menus (not inclusive)
+ * @return the range of matching cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.cantine.model.CantineMenu> findByrecetteId(
+ long recetteId, int start, int end)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns an ordered range of all the cantine menus where recetteId = ?.
+ *
+ * <p>
+ * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
+ * </p>
+ *
+ * @param recetteId the recette ID
+ * @param start the lower bound of the range of cantine menus
+ * @param end the upper bound of the range of cantine menus (not inclusive)
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
+ * @return the ordered range of matching cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.cantine.model.CantineMenu> findByrecetteId(
+ long recetteId, int start, int end,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the first cantine menu in the ordered set where recetteId = ?.
+ *
+ * @param recetteId the recette ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching cantine menu
+ * @throws com.pentila.entSavoie.cantine.NoSuchCantineMenuException if a matching cantine menu could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu findByrecetteId_First(
+ long recetteId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.cantine.NoSuchCantineMenuException;
+
+ /**
+ * Returns the first cantine menu in the ordered set where recetteId = ?.
+ *
+ * @param recetteId the recette ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching cantine menu, or <code>null</code> if a matching cantine menu could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu fetchByrecetteId_First(
+ long recetteId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the last cantine menu in the ordered set where recetteId = ?.
+ *
+ * @param recetteId the recette ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching cantine menu
+ * @throws com.pentila.entSavoie.cantine.NoSuchCantineMenuException if a matching cantine menu could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu findByrecetteId_Last(
+ long recetteId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.cantine.NoSuchCantineMenuException;
+
+ /**
+ * Returns the last cantine menu in the ordered set where recetteId = ?.
+ *
+ * @param recetteId the recette ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching cantine menu, or <code>null</code> if a matching cantine menu could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu fetchByrecetteId_Last(
+ long recetteId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the cantine menus before and after the current cantine menu in the ordered set where recetteId = ?.
+ *
+ * @param cantineMenuId the primary key of the current cantine menu
+ * @param recetteId the recette ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the previous, current, and next cantine menu
+ * @throws com.pentila.entSavoie.cantine.NoSuchCantineMenuException if a cantine menu with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu[] findByrecetteId_PrevAndNext(
+ long cantineMenuId, long recetteId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.cantine.NoSuchCantineMenuException;
+
+ /**
+ * Returns all the cantine menus where cantineDatePlanAlimentaireId = ?.
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @return the matching cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.cantine.model.CantineMenu> findBycantineDatePlanAlimentaireId(
+ long cantineDatePlanAlimentaireId)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns a range of all the cantine menus where cantineDatePlanAlimentaireId = ?.
+ *
+ * <p>
+ * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
+ * </p>
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param start the lower bound of the range of cantine menus
+ * @param end the upper bound of the range of cantine menus (not inclusive)
+ * @return the range of matching cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.cantine.model.CantineMenu> findBycantineDatePlanAlimentaireId(
+ long cantineDatePlanAlimentaireId, int start, int end)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns an ordered range of all the cantine menus where cantineDatePlanAlimentaireId = ?.
+ *
+ * <p>
+ * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
+ * </p>
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param start the lower bound of the range of cantine menus
+ * @param end the upper bound of the range of cantine menus (not inclusive)
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
+ * @return the ordered range of matching cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.cantine.model.CantineMenu> findBycantineDatePlanAlimentaireId(
+ long cantineDatePlanAlimentaireId, int start, int end,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the first cantine menu in the ordered set where cantineDatePlanAlimentaireId = ?.
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching cantine menu
+ * @throws com.pentila.entSavoie.cantine.NoSuchCantineMenuException if a matching cantine menu could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu findBycantineDatePlanAlimentaireId_First(
+ long cantineDatePlanAlimentaireId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.cantine.NoSuchCantineMenuException;
+
+ /**
+ * Returns the first cantine menu in the ordered set where cantineDatePlanAlimentaireId = ?.
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching cantine menu, or <code>null</code> if a matching cantine menu could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu fetchBycantineDatePlanAlimentaireId_First(
+ long cantineDatePlanAlimentaireId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the last cantine menu in the ordered set where cantineDatePlanAlimentaireId = ?.
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching cantine menu
+ * @throws com.pentila.entSavoie.cantine.NoSuchCantineMenuException if a matching cantine menu could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu findBycantineDatePlanAlimentaireId_Last(
+ long cantineDatePlanAlimentaireId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.cantine.NoSuchCantineMenuException;
+
+ /**
+ * Returns the last cantine menu in the ordered set where cantineDatePlanAlimentaireId = ?.
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching cantine menu, or <code>null</code> if a matching cantine menu could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu fetchBycantineDatePlanAlimentaireId_Last(
+ long cantineDatePlanAlimentaireId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the cantine menus before and after the current cantine menu in the ordered set where cantineDatePlanAlimentaireId = ?.
+ *
+ * @param cantineMenuId the primary key of the current cantine menu
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the previous, current, and next cantine menu
+ * @throws com.pentila.entSavoie.cantine.NoSuchCantineMenuException if a cantine menu with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public com.pentila.entSavoie.cantine.model.CantineMenu[] findBycantineDatePlanAlimentaireId_PrevAndNext(
+ long cantineMenuId, long cantineDatePlanAlimentaireId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.cantine.NoSuchCantineMenuException;
+
+ /**
+ * Returns all the cantine menus.
+ *
+ * @return the cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.cantine.model.CantineMenu> findAll()
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns a range of all the cantine menus.
+ *
+ * <p>
+ * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
+ * </p>
+ *
+ * @param start the lower bound of the range of cantine menus
+ * @param end the upper bound of the range of cantine menus (not inclusive)
+ * @return the range of cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.cantine.model.CantineMenu> findAll(
+ int start, int end)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns an ordered range of all the cantine menus.
+ *
+ * <p>
+ * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
+ * </p>
+ *
+ * @param start the lower bound of the range of cantine menus
+ * @param end the upper bound of the range of cantine menus (not inclusive)
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
+ * @return the ordered range of cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List<com.pentila.entSavoie.cantine.model.CantineMenu> findAll(
+ int start, int end,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Removes all the cantine menus where cantineDatePlanAlimentaireId = ? and typeRecette = ? from the database.
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param typeRecette the type recette
+ * @throws SystemException if a system exception occurred
+ */
+ public void removeBycantineDatePlanAlimentaireId_typeRecette(
+ long cantineDatePlanAlimentaireId, java.lang.String typeRecette)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Removes all the cantine menus where recetteId = ? from the database.
+ *
+ * @param recetteId the recette ID
+ * @throws SystemException if a system exception occurred
+ */
+ public void removeByrecetteId(long recetteId)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Removes all the cantine menus where cantineDatePlanAlimentaireId = ? from the database.
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @throws SystemException if a system exception occurred
+ */
+ public void removeBycantineDatePlanAlimentaireId(
+ long cantineDatePlanAlimentaireId)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Removes all the cantine menus from the database.
+ *
+ * @throws SystemException if a system exception occurred
+ */
+ public void removeAll()
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the number of cantine menus where cantineDatePlanAlimentaireId = ? and typeRecette = ?.
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @param typeRecette the type recette
+ * @return the number of matching cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public int countBycantineDatePlanAlimentaireId_typeRecette(
+ long cantineDatePlanAlimentaireId, java.lang.String typeRecette)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the number of cantine menus where recetteId = ?.
+ *
+ * @param recetteId the recette ID
+ * @return the number of matching cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public int countByrecetteId(long recetteId)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the number of cantine menus where cantineDatePlanAlimentaireId = ?.
+ *
+ * @param cantineDatePlanAlimentaireId the cantine date plan alimentaire ID
+ * @return the number of matching cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public int countBycantineDatePlanAlimentaireId(
+ long cantineDatePlanAlimentaireId)
+ throws com.liferay.portal.kernel.exception.SystemException;
+
+ /**
+ * Returns the number of cantine menus.
+ *
+ * @return the number of cantine menus
+ * @throws SystemException if a system exception occurred
+ */
+ public int countAll()
+ throws com.liferay.portal.kernel.exception.SystemException;
+}
\ No newline at end of file