001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.wiki.service.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * @author Brian Wing Shun Chan
021     */
022    @ProviderType
023    public interface WikiPageFinder {
024            public int countByCreateDate(long groupId, long nodeId,
025                    java.util.Date createDate, boolean before)
026                    throws com.liferay.portal.kernel.exception.SystemException;
027    
028            public int countByCreateDate(long groupId, long nodeId,
029                    java.sql.Timestamp createDate, boolean before)
030                    throws com.liferay.portal.kernel.exception.SystemException;
031    
032            public int filterCountByCreateDate(long groupId, long nodeId,
033                    java.util.Date createDate, boolean before)
034                    throws com.liferay.portal.kernel.exception.SystemException;
035    
036            public int filterCountByCreateDate(long groupId, long nodeId,
037                    java.sql.Timestamp createDate, boolean before)
038                    throws com.liferay.portal.kernel.exception.SystemException;
039    
040            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByCreateDate(
041                    long groupId, long nodeId, java.util.Date createDate, boolean before,
042                    int start, int end)
043                    throws com.liferay.portal.kernel.exception.SystemException;
044    
045            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByCreateDate(
046                    long groupId, long nodeId, java.sql.Timestamp createDate,
047                    boolean before, int start, int end)
048                    throws com.liferay.portal.kernel.exception.SystemException;
049    
050            public com.liferay.portlet.wiki.model.WikiPage findByResourcePrimKey(
051                    long resourcePrimKey)
052                    throws com.liferay.portal.kernel.exception.SystemException,
053                            com.liferay.portlet.wiki.NoSuchPageException;
054    
055            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByCreateDate(
056                    long groupId, long nodeId, java.util.Date createDate, boolean before,
057                    int start, int end)
058                    throws com.liferay.portal.kernel.exception.SystemException;
059    
060            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByCreateDate(
061                    long groupId, long nodeId, java.sql.Timestamp createDate,
062                    boolean before, int start, int end)
063                    throws com.liferay.portal.kernel.exception.SystemException;
064    
065            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNoAssets()
066                    throws com.liferay.portal.kernel.exception.SystemException;
067    }