001
014
015 package com.liferay.portlet.blogs.service.persistence;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018
019
022 public class BlogsEntryFinderUtil {
023 public static int countByOrganizationId(long organizationId,
024 java.util.Date displayDate, int status)
025 throws com.liferay.portal.kernel.exception.SystemException {
026 return getFinder()
027 .countByOrganizationId(organizationId, displayDate, status);
028 }
029
030 public static int countByOrganizationIds(
031 java.util.List<java.lang.Long> organizationIds,
032 java.util.Date displayDate, int status)
033 throws com.liferay.portal.kernel.exception.SystemException {
034 return getFinder()
035 .countByOrganizationIds(organizationIds, displayDate, status);
036 }
037
038 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupIds(
039 long companyId, long groupId, int status, int start, int end)
040 throws com.liferay.portal.kernel.exception.SystemException {
041 return getFinder().findByGroupIds(companyId, groupId, status, start, end);
042 }
043
044 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByOrganizationId(
045 long organizationId, java.util.Date displayDate, int status, int start,
046 int end) throws com.liferay.portal.kernel.exception.SystemException {
047 return getFinder()
048 .findByOrganizationId(organizationId, displayDate, status,
049 start, end);
050 }
051
052 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByOrganizationIds(
053 java.util.List<java.lang.Long> organizationIds,
054 java.util.Date displayDate, int status, int start, int end)
055 throws com.liferay.portal.kernel.exception.SystemException {
056 return getFinder()
057 .findByOrganizationIds(organizationIds, displayDate, status,
058 start, end);
059 }
060
061 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByNoAssets()
062 throws com.liferay.portal.kernel.exception.SystemException {
063 return getFinder().findByNoAssets();
064 }
065
066 public static BlogsEntryFinder getFinder() {
067 if (_finder == null) {
068 _finder = (BlogsEntryFinder)PortalBeanLocatorUtil.locate(BlogsEntryFinder.class.getName());
069 }
070
071 return _finder;
072 }
073
074 public void setFinder(BlogsEntryFinder finder) {
075 _finder = finder;
076 }
077
078 private static BlogsEntryFinder _finder;
079 }