2 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
\r
4 * This library is free software; you can redistribute it and/or modify it under
\r
5 * the terms of the GNU Lesser General Public License as published by the Free
\r
6 * Software Foundation; either version 2.1 of the License, or (at your option)
\r
9 * This library is distributed in the hope that it will be useful, but WITHOUT
\r
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
\r
11 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
\r
15 package com.liferay.portlet.blogs.service.persistence;
\r
17 import java.util.List;
\r
19 import com.pentila.entSavoie.blogs.BlogsEntryHeader;
\r
22 * @author Brian Wing Shun Chan
\r
24 public interface BlogsEntryFinder {
\r
25 public int countByOrganizationId(long organizationId,
\r
26 java.util.Date displayDate, int status)
\r
27 throws com.liferay.portal.kernel.exception.SystemException;
\r
29 public int countByOrganizationIds(
\r
30 java.util.List<java.lang.Long> organizationIds,
\r
31 java.util.Date displayDate, int status)
\r
32 throws com.liferay.portal.kernel.exception.SystemException;
\r
34 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupIds(
\r
35 long companyId, long groupId, java.util.Date displayDate, int status,
\r
37 throws com.liferay.portal.kernel.exception.SystemException;
\r
39 public java.util.List<BlogsEntryHeader> findHeadersByGroupIds(
\r
40 List<Long> groupIds)
\r
41 throws com.liferay.portal.kernel.exception.SystemException;
\r
43 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByOrganizationId(
\r
44 long organizationId, java.util.Date displayDate, int status, int start,
\r
45 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
\r
46 throws com.liferay.portal.kernel.exception.SystemException;
\r
48 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByOrganizationIds(
\r
49 java.util.List<java.lang.Long> organizationIds,
\r
50 java.util.Date displayDate, int status, int start, int end,
\r
51 com.liferay.portal.kernel.util.OrderByComparator obc)
\r
52 throws com.liferay.portal.kernel.exception.SystemException;
\r
54 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByNoAssets()
\r
55 throws com.liferay.portal.kernel.exception.SystemException;
\r