--- /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.internalMessaging.service.persistence;
+
+import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
+import com.liferay.portal.kernel.dao.orm.DynamicQuery;
+import com.liferay.portal.kernel.exception.SystemException;
+import com.liferay.portal.kernel.util.OrderByComparator;
+import com.liferay.portal.kernel.util.ReferenceRegistry;
+import com.liferay.portal.service.ServiceContext;
+
+import com.pentila.entSavoie.internalMessaging.model.RssItem;
+
+import java.util.List;
+
+/**
+ * The persistence utility for the rss item service. This utility wraps {@link RssItemPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
+ *
+ * <p>
+ * Caching information and settings can be found in <code>portal.properties</code>
+ * </p>
+ *
+ * @author Igor Barma - Mathieu Amblard
+ * @see RssItemPersistence
+ * @see RssItemPersistenceImpl
+ * @generated
+ */
+public class RssItemUtil {
+ /*
+ * NOTE FOR DEVELOPERS:
+ *
+ * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class.
+ */
+
+ /**
+ * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
+ */
+ public static void clearCache() {
+ getPersistence().clearCache();
+ }
+
+ /**
+ * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
+ */
+ public static void clearCache(RssItem rssItem) {
+ getPersistence().clearCache(rssItem);
+ }
+
+ /**
+ * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
+ */
+ public long countWithDynamicQuery(DynamicQuery dynamicQuery)
+ throws SystemException {
+ return getPersistence().countWithDynamicQuery(dynamicQuery);
+ }
+
+ /**
+ * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
+ */
+ public static List<RssItem> findWithDynamicQuery(DynamicQuery dynamicQuery)
+ throws SystemException {
+ return getPersistence().findWithDynamicQuery(dynamicQuery);
+ }
+
+ /**
+ * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
+ */
+ public static List<RssItem> findWithDynamicQuery(
+ DynamicQuery dynamicQuery, int start, int end)
+ throws SystemException {
+ return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
+ }
+
+ /**
+ * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
+ */
+ public static List<RssItem> findWithDynamicQuery(
+ DynamicQuery dynamicQuery, int start, int end,
+ OrderByComparator orderByComparator) throws SystemException {
+ return getPersistence()
+ .findWithDynamicQuery(dynamicQuery, start, end,
+ orderByComparator);
+ }
+
+ /**
+ * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
+ */
+ public static RssItem update(RssItem rssItem, boolean merge)
+ throws SystemException {
+ return getPersistence().update(rssItem, merge);
+ }
+
+ /**
+ * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
+ */
+ public static RssItem update(RssItem rssItem, boolean merge,
+ ServiceContext serviceContext) throws SystemException {
+ return getPersistence().update(rssItem, merge, serviceContext);
+ }
+
+ /**
+ * Caches the rss item in the entity cache if it is enabled.
+ *
+ * @param rssItem the rss item
+ */
+ public static void cacheResult(
+ com.pentila.entSavoie.internalMessaging.model.RssItem rssItem) {
+ getPersistence().cacheResult(rssItem);
+ }
+
+ /**
+ * Caches the rss items in the entity cache if it is enabled.
+ *
+ * @param rssItems the rss items
+ */
+ public static void cacheResult(
+ java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> rssItems) {
+ getPersistence().cacheResult(rssItems);
+ }
+
+ /**
+ * Creates a new rss item with the primary key. Does not add the rss item to the database.
+ *
+ * @param itemId the primary key for the new rss item
+ * @return the new rss item
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem create(
+ long itemId) {
+ return getPersistence().create(itemId);
+ }
+
+ /**
+ * Removes the rss item with the primary key from the database. Also notifies the appropriate model listeners.
+ *
+ * @param itemId the primary key of the rss item
+ * @return the rss item that was removed
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a rss item with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem remove(
+ long itemId)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence().remove(itemId);
+ }
+
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem updateImpl(
+ com.pentila.entSavoie.internalMessaging.model.RssItem rssItem,
+ boolean merge)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().updateImpl(rssItem, merge);
+ }
+
+ /**
+ * Returns the rss item with the primary key or throws a {@link com.pentila.entSavoie.internalMessaging.NoSuchRssItemException} if it could not be found.
+ *
+ * @param itemId the primary key of the rss item
+ * @return the rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a rss item with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem findByPrimaryKey(
+ long itemId)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence().findByPrimaryKey(itemId);
+ }
+
+ /**
+ * Returns the rss item with the primary key or returns <code>null</code> if it could not be found.
+ *
+ * @param itemId the primary key of the rss item
+ * @return the rss item, or <code>null</code> if a rss item with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem fetchByPrimaryKey(
+ long itemId) throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().fetchByPrimaryKey(itemId);
+ }
+
+ /**
+ * Returns all the rss items where companyId = ?.
+ *
+ * @param companyId the company ID
+ * @return the matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findBycompanyId(
+ long companyId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().findBycompanyId(companyId);
+ }
+
+ /**
+ * Returns a range of all the rss items where companyId = ?.
+ *
+ * <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 companyId the company ID
+ * @param start the lower bound of the range of rss items
+ * @param end the upper bound of the range of rss items (not inclusive)
+ * @return the range of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findBycompanyId(
+ long companyId, int start, int end)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().findBycompanyId(companyId, start, end);
+ }
+
+ /**
+ * Returns an ordered range of all the rss items where companyId = ?.
+ *
+ * <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 companyId the company ID
+ * @param start the lower bound of the range of rss items
+ * @param end the upper bound of the range of rss items (not inclusive)
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
+ * @return the ordered range of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findBycompanyId(
+ long companyId, int start, int end,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence()
+ .findBycompanyId(companyId, start, end, orderByComparator);
+ }
+
+ /**
+ * Returns the first rss item in the ordered set where companyId = ?.
+ *
+ * @param companyId the company ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem findBycompanyId_First(
+ long companyId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence()
+ .findBycompanyId_First(companyId, orderByComparator);
+ }
+
+ /**
+ * Returns the first rss item in the ordered set where companyId = ?.
+ *
+ * @param companyId the company ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching rss item, or <code>null</code> if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem fetchBycompanyId_First(
+ long companyId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence()
+ .fetchBycompanyId_First(companyId, orderByComparator);
+ }
+
+ /**
+ * Returns the last rss item in the ordered set where companyId = ?.
+ *
+ * @param companyId the company ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem findBycompanyId_Last(
+ long companyId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence()
+ .findBycompanyId_Last(companyId, orderByComparator);
+ }
+
+ /**
+ * Returns the last rss item in the ordered set where companyId = ?.
+ *
+ * @param companyId the company ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching rss item, or <code>null</code> if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem fetchBycompanyId_Last(
+ long companyId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence()
+ .fetchBycompanyId_Last(companyId, orderByComparator);
+ }
+
+ /**
+ * Returns the rss items before and after the current rss item in the ordered set where companyId = ?.
+ *
+ * @param itemId the primary key of the current rss item
+ * @param companyId the company ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the previous, current, and next rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a rss item with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem[] findBycompanyId_PrevAndNext(
+ long itemId, long companyId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence()
+ .findBycompanyId_PrevAndNext(itemId, companyId,
+ orderByComparator);
+ }
+
+ /**
+ * Returns all the rss items where userId = ?.
+ *
+ * @param userId the user ID
+ * @return the matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findByuserId(
+ long userId) throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().findByuserId(userId);
+ }
+
+ /**
+ * Returns a range of all the rss items where userId = ?.
+ *
+ * <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 userId the user ID
+ * @param start the lower bound of the range of rss items
+ * @param end the upper bound of the range of rss items (not inclusive)
+ * @return the range of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findByuserId(
+ long userId, int start, int end)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().findByuserId(userId, start, end);
+ }
+
+ /**
+ * Returns an ordered range of all the rss items where userId = ?.
+ *
+ * <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 userId the user ID
+ * @param start the lower bound of the range of rss items
+ * @param end the upper bound of the range of rss items (not inclusive)
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
+ * @return the ordered range of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findByuserId(
+ long userId, int start, int end,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence()
+ .findByuserId(userId, start, end, orderByComparator);
+ }
+
+ /**
+ * Returns the first rss item in the ordered set where userId = ?.
+ *
+ * @param userId the user ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem findByuserId_First(
+ long userId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence().findByuserId_First(userId, orderByComparator);
+ }
+
+ /**
+ * Returns the first rss item in the ordered set where userId = ?.
+ *
+ * @param userId the user ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching rss item, or <code>null</code> if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem fetchByuserId_First(
+ long userId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().fetchByuserId_First(userId, orderByComparator);
+ }
+
+ /**
+ * Returns the last rss item in the ordered set where userId = ?.
+ *
+ * @param userId the user ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem findByuserId_Last(
+ long userId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence().findByuserId_Last(userId, orderByComparator);
+ }
+
+ /**
+ * Returns the last rss item in the ordered set where userId = ?.
+ *
+ * @param userId the user ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching rss item, or <code>null</code> if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem fetchByuserId_Last(
+ long userId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().fetchByuserId_Last(userId, orderByComparator);
+ }
+
+ /**
+ * Returns the rss items before and after the current rss item in the ordered set where userId = ?.
+ *
+ * @param itemId the primary key of the current rss item
+ * @param userId the user ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the previous, current, and next rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a rss item with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem[] findByuserId_PrevAndNext(
+ long itemId, long userId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence()
+ .findByuserId_PrevAndNext(itemId, userId, orderByComparator);
+ }
+
+ /**
+ * Returns all the rss items where chanelId = ?.
+ *
+ * @param chanelId the chanel ID
+ * @return the matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findBychanelId(
+ long chanelId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().findBychanelId(chanelId);
+ }
+
+ /**
+ * Returns a range of all the rss items where chanelId = ?.
+ *
+ * <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 chanelId the chanel ID
+ * @param start the lower bound of the range of rss items
+ * @param end the upper bound of the range of rss items (not inclusive)
+ * @return the range of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findBychanelId(
+ long chanelId, int start, int end)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().findBychanelId(chanelId, start, end);
+ }
+
+ /**
+ * Returns an ordered range of all the rss items where chanelId = ?.
+ *
+ * <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 chanelId the chanel ID
+ * @param start the lower bound of the range of rss items
+ * @param end the upper bound of the range of rss items (not inclusive)
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
+ * @return the ordered range of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findBychanelId(
+ long chanelId, int start, int end,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence()
+ .findBychanelId(chanelId, start, end, orderByComparator);
+ }
+
+ /**
+ * Returns the first rss item in the ordered set where chanelId = ?.
+ *
+ * @param chanelId the chanel ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem findBychanelId_First(
+ long chanelId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence().findBychanelId_First(chanelId, orderByComparator);
+ }
+
+ /**
+ * Returns the first rss item in the ordered set where chanelId = ?.
+ *
+ * @param chanelId the chanel ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching rss item, or <code>null</code> if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem fetchBychanelId_First(
+ long chanelId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence()
+ .fetchBychanelId_First(chanelId, orderByComparator);
+ }
+
+ /**
+ * Returns the last rss item in the ordered set where chanelId = ?.
+ *
+ * @param chanelId the chanel ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem findBychanelId_Last(
+ long chanelId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence().findBychanelId_Last(chanelId, orderByComparator);
+ }
+
+ /**
+ * Returns the last rss item in the ordered set where chanelId = ?.
+ *
+ * @param chanelId the chanel ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching rss item, or <code>null</code> if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem fetchBychanelId_Last(
+ long chanelId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().fetchBychanelId_Last(chanelId, orderByComparator);
+ }
+
+ /**
+ * Returns the rss items before and after the current rss item in the ordered set where chanelId = ?.
+ *
+ * @param itemId the primary key of the current rss item
+ * @param chanelId the chanel ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the previous, current, and next rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a rss item with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem[] findBychanelId_PrevAndNext(
+ long itemId, long chanelId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence()
+ .findBychanelId_PrevAndNext(itemId, chanelId,
+ orderByComparator);
+ }
+
+ /**
+ * Returns all the rss items where userId = ? and chanelId = ?.
+ *
+ * @param userId the user ID
+ * @param chanelId the chanel ID
+ * @return the matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findByuserId_chanelId(
+ long userId, long chanelId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().findByuserId_chanelId(userId, chanelId);
+ }
+
+ /**
+ * Returns a range of all the rss items where userId = ? and chanelId = ?.
+ *
+ * <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 userId the user ID
+ * @param chanelId the chanel ID
+ * @param start the lower bound of the range of rss items
+ * @param end the upper bound of the range of rss items (not inclusive)
+ * @return the range of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findByuserId_chanelId(
+ long userId, long chanelId, int start, int end)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence()
+ .findByuserId_chanelId(userId, chanelId, start, end);
+ }
+
+ /**
+ * Returns an ordered range of all the rss items where userId = ? and chanelId = ?.
+ *
+ * <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 userId the user ID
+ * @param chanelId the chanel ID
+ * @param start the lower bound of the range of rss items
+ * @param end the upper bound of the range of rss items (not inclusive)
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
+ * @return the ordered range of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findByuserId_chanelId(
+ long userId, long chanelId, int start, int end,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence()
+ .findByuserId_chanelId(userId, chanelId, start, end,
+ orderByComparator);
+ }
+
+ /**
+ * Returns the first rss item in the ordered set where userId = ? and chanelId = ?.
+ *
+ * @param userId the user ID
+ * @param chanelId the chanel ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem findByuserId_chanelId_First(
+ long userId, long chanelId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence()
+ .findByuserId_chanelId_First(userId, chanelId,
+ orderByComparator);
+ }
+
+ /**
+ * Returns the first rss item in the ordered set where userId = ? and chanelId = ?.
+ *
+ * @param userId the user ID
+ * @param chanelId the chanel ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching rss item, or <code>null</code> if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem fetchByuserId_chanelId_First(
+ long userId, long chanelId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence()
+ .fetchByuserId_chanelId_First(userId, chanelId,
+ orderByComparator);
+ }
+
+ /**
+ * Returns the last rss item in the ordered set where userId = ? and chanelId = ?.
+ *
+ * @param userId the user ID
+ * @param chanelId the chanel ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem findByuserId_chanelId_Last(
+ long userId, long chanelId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence()
+ .findByuserId_chanelId_Last(userId, chanelId,
+ orderByComparator);
+ }
+
+ /**
+ * Returns the last rss item in the ordered set where userId = ? and chanelId = ?.
+ *
+ * @param userId the user ID
+ * @param chanelId the chanel ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching rss item, or <code>null</code> if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem fetchByuserId_chanelId_Last(
+ long userId, long chanelId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence()
+ .fetchByuserId_chanelId_Last(userId, chanelId,
+ orderByComparator);
+ }
+
+ /**
+ * Returns the rss items before and after the current rss item in the ordered set where userId = ? and chanelId = ?.
+ *
+ * @param itemId the primary key of the current rss item
+ * @param userId the user ID
+ * @param chanelId the chanel ID
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the previous, current, and next rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a rss item with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem[] findByuserId_chanelId_PrevAndNext(
+ long itemId, long userId, long chanelId,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence()
+ .findByuserId_chanelId_PrevAndNext(itemId, userId, chanelId,
+ orderByComparator);
+ }
+
+ /**
+ * Returns the rss item where guid = ? or throws a {@link com.pentila.entSavoie.internalMessaging.NoSuchRssItemException} if it could not be found.
+ *
+ * @param guid the guid
+ * @return the matching rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem findByguid(
+ int guid)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence().findByguid(guid);
+ }
+
+ /**
+ * Returns the rss item where guid = ? or returns <code>null</code> if it could not be found. Uses the finder cache.
+ *
+ * @param guid the guid
+ * @return the matching rss item, or <code>null</code> if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem fetchByguid(
+ int guid) throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().fetchByguid(guid);
+ }
+
+ /**
+ * Returns the rss item where guid = ? or returns <code>null</code> if it could not be found, optionally using the finder cache.
+ *
+ * @param guid the guid
+ * @param retrieveFromCache whether to use the finder cache
+ * @return the matching rss item, or <code>null</code> if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem fetchByguid(
+ int guid, boolean retrieveFromCache)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().fetchByguid(guid, retrieveFromCache);
+ }
+
+ /**
+ * Returns all the rss items where pubDate < ?.
+ *
+ * @param pubDate the pub date
+ * @return the matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findBypubDate(
+ java.util.Date pubDate)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().findBypubDate(pubDate);
+ }
+
+ /**
+ * Returns a range of all the rss items where pubDate < ?.
+ *
+ * <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 pubDate the pub date
+ * @param start the lower bound of the range of rss items
+ * @param end the upper bound of the range of rss items (not inclusive)
+ * @return the range of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findBypubDate(
+ java.util.Date pubDate, int start, int end)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().findBypubDate(pubDate, start, end);
+ }
+
+ /**
+ * Returns an ordered range of all the rss items where pubDate < ?.
+ *
+ * <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 pubDate the pub date
+ * @param start the lower bound of the range of rss items
+ * @param end the upper bound of the range of rss items (not inclusive)
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
+ * @return the ordered range of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findBypubDate(
+ java.util.Date pubDate, int start, int end,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence()
+ .findBypubDate(pubDate, start, end, orderByComparator);
+ }
+
+ /**
+ * Returns the first rss item in the ordered set where pubDate < ?.
+ *
+ * @param pubDate the pub date
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem findBypubDate_First(
+ java.util.Date pubDate,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence().findBypubDate_First(pubDate, orderByComparator);
+ }
+
+ /**
+ * Returns the first rss item in the ordered set where pubDate < ?.
+ *
+ * @param pubDate the pub date
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the first matching rss item, or <code>null</code> if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem fetchBypubDate_First(
+ java.util.Date pubDate,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().fetchBypubDate_First(pubDate, orderByComparator);
+ }
+
+ /**
+ * Returns the last rss item in the ordered set where pubDate < ?.
+ *
+ * @param pubDate the pub date
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem findBypubDate_Last(
+ java.util.Date pubDate,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence().findBypubDate_Last(pubDate, orderByComparator);
+ }
+
+ /**
+ * Returns the last rss item in the ordered set where pubDate < ?.
+ *
+ * @param pubDate the pub date
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the last matching rss item, or <code>null</code> if a matching rss item could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem fetchBypubDate_Last(
+ java.util.Date pubDate,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().fetchBypubDate_Last(pubDate, orderByComparator);
+ }
+
+ /**
+ * Returns the rss items before and after the current rss item in the ordered set where pubDate < ?.
+ *
+ * @param itemId the primary key of the current rss item
+ * @param pubDate the pub date
+ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
+ * @return the previous, current, and next rss item
+ * @throws com.pentila.entSavoie.internalMessaging.NoSuchRssItemException if a rss item with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem[] findBypubDate_PrevAndNext(
+ long itemId, java.util.Date pubDate,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence()
+ .findBypubDate_PrevAndNext(itemId, pubDate, orderByComparator);
+ }
+
+ /**
+ * Returns all the rss items.
+ *
+ * @return the rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findAll()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().findAll();
+ }
+
+ /**
+ * Returns a range of all the rss items.
+ *
+ * <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 rss items
+ * @param end the upper bound of the range of rss items (not inclusive)
+ * @return the range of rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findAll(
+ int start, int end)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().findAll(start, end);
+ }
+
+ /**
+ * Returns an ordered range of all the rss items.
+ *
+ * <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 rss items
+ * @param end the upper bound of the range of rss items (not inclusive)
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
+ * @return the ordered range of rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List<com.pentila.entSavoie.internalMessaging.model.RssItem> findAll(
+ int start, int end,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().findAll(start, end, orderByComparator);
+ }
+
+ /**
+ * Removes all the rss items where companyId = ? from the database.
+ *
+ * @param companyId the company ID
+ * @throws SystemException if a system exception occurred
+ */
+ public static void removeBycompanyId(long companyId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ getPersistence().removeBycompanyId(companyId);
+ }
+
+ /**
+ * Removes all the rss items where userId = ? from the database.
+ *
+ * @param userId the user ID
+ * @throws SystemException if a system exception occurred
+ */
+ public static void removeByuserId(long userId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ getPersistence().removeByuserId(userId);
+ }
+
+ /**
+ * Removes all the rss items where chanelId = ? from the database.
+ *
+ * @param chanelId the chanel ID
+ * @throws SystemException if a system exception occurred
+ */
+ public static void removeBychanelId(long chanelId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ getPersistence().removeBychanelId(chanelId);
+ }
+
+ /**
+ * Removes all the rss items where userId = ? and chanelId = ? from the database.
+ *
+ * @param userId the user ID
+ * @param chanelId the chanel ID
+ * @throws SystemException if a system exception occurred
+ */
+ public static void removeByuserId_chanelId(long userId, long chanelId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ getPersistence().removeByuserId_chanelId(userId, chanelId);
+ }
+
+ /**
+ * Removes the rss item where guid = ? from the database.
+ *
+ * @param guid the guid
+ * @return the rss item that was removed
+ * @throws SystemException if a system exception occurred
+ */
+ public static com.pentila.entSavoie.internalMessaging.model.RssItem removeByguid(
+ int guid)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ com.pentila.entSavoie.internalMessaging.NoSuchRssItemException {
+ return getPersistence().removeByguid(guid);
+ }
+
+ /**
+ * Removes all the rss items where pubDate < ? from the database.
+ *
+ * @param pubDate the pub date
+ * @throws SystemException if a system exception occurred
+ */
+ public static void removeBypubDate(java.util.Date pubDate)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ getPersistence().removeBypubDate(pubDate);
+ }
+
+ /**
+ * Removes all the rss items from the database.
+ *
+ * @throws SystemException if a system exception occurred
+ */
+ public static void removeAll()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ getPersistence().removeAll();
+ }
+
+ /**
+ * Returns the number of rss items where companyId = ?.
+ *
+ * @param companyId the company ID
+ * @return the number of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static int countBycompanyId(long companyId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().countBycompanyId(companyId);
+ }
+
+ /**
+ * Returns the number of rss items where userId = ?.
+ *
+ * @param userId the user ID
+ * @return the number of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static int countByuserId(long userId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().countByuserId(userId);
+ }
+
+ /**
+ * Returns the number of rss items where chanelId = ?.
+ *
+ * @param chanelId the chanel ID
+ * @return the number of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static int countBychanelId(long chanelId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().countBychanelId(chanelId);
+ }
+
+ /**
+ * Returns the number of rss items where userId = ? and chanelId = ?.
+ *
+ * @param userId the user ID
+ * @param chanelId the chanel ID
+ * @return the number of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static int countByuserId_chanelId(long userId, long chanelId)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().countByuserId_chanelId(userId, chanelId);
+ }
+
+ /**
+ * Returns the number of rss items where guid = ?.
+ *
+ * @param guid the guid
+ * @return the number of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static int countByguid(int guid)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().countByguid(guid);
+ }
+
+ /**
+ * Returns the number of rss items where pubDate < ?.
+ *
+ * @param pubDate the pub date
+ * @return the number of matching rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static int countBypubDate(java.util.Date pubDate)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().countBypubDate(pubDate);
+ }
+
+ /**
+ * Returns the number of rss items.
+ *
+ * @return the number of rss items
+ * @throws SystemException if a system exception occurred
+ */
+ public static int countAll()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence().countAll();
+ }
+
+ public static RssItemPersistence getPersistence() {
+ if (_persistence == null) {
+ _persistence = (RssItemPersistence)PortletBeanLocatorUtil.locate(com.pentila.entSavoie.internalMessaging.service.ClpSerializer.getServletContextName(),
+ RssItemPersistence.class.getName());
+
+ ReferenceRegistry.registerReference(RssItemUtil.class,
+ "_persistence");
+ }
+
+ return _persistence;
+ }
+
+ /**
+ * @deprecated
+ */
+ public void setPersistence(RssItemPersistence persistence) {
+ }
+
+ private static RssItemPersistence _persistence;
+}
\ No newline at end of file