001
014
015 package com.liferay.portlet.blogs.service.persistence;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020 import com.liferay.portal.kernel.util.ReferenceRegistry;
021
022
025 @ProviderType
026 public class BlogsEntryFinderUtil {
027 public static int countByOrganizationId(long organizationId,
028 java.util.Date displayDate,
029 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
030 throws com.liferay.portal.kernel.exception.SystemException {
031 return getFinder()
032 .countByOrganizationId(organizationId, displayDate,
033 queryDefinition);
034 }
035
036 public static int countByOrganizationIds(
037 java.util.List<java.lang.Long> organizationIds,
038 java.util.Date displayDate,
039 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
040 throws com.liferay.portal.kernel.exception.SystemException {
041 return getFinder()
042 .countByOrganizationIds(organizationIds, displayDate,
043 queryDefinition);
044 }
045
046 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupIds(
047 long companyId, long groupId, java.util.Date displayDate,
048 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
049 throws com.liferay.portal.kernel.exception.SystemException {
050 return getFinder()
051 .findByGroupIds(companyId, groupId, displayDate,
052 queryDefinition);
053 }
054
055 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByOrganizationId(
056 long organizationId, java.util.Date displayDate,
057 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
058 throws com.liferay.portal.kernel.exception.SystemException {
059 return getFinder()
060 .findByOrganizationId(organizationId, displayDate,
061 queryDefinition);
062 }
063
064 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByOrganizationIds(
065 java.util.List<java.lang.Long> organizationIds,
066 java.util.Date displayDate,
067 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
068 throws com.liferay.portal.kernel.exception.SystemException {
069 return getFinder()
070 .findByOrganizationIds(organizationIds, displayDate,
071 queryDefinition);
072 }
073
074 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByNoAssets()
075 throws com.liferay.portal.kernel.exception.SystemException {
076 return getFinder().findByNoAssets();
077 }
078
079 public static BlogsEntryFinder getFinder() {
080 if (_finder == null) {
081 _finder = (BlogsEntryFinder)PortalBeanLocatorUtil.locate(BlogsEntryFinder.class.getName());
082
083 ReferenceRegistry.registerReference(BlogsEntryFinderUtil.class,
084 "_finder");
085 }
086
087 return _finder;
088 }
089
090 public void setFinder(BlogsEntryFinder finder) {
091 _finder = finder;
092
093 ReferenceRegistry.registerReference(BlogsEntryFinderUtil.class,
094 "_finder");
095 }
096
097 private static BlogsEntryFinder _finder;
098 }