001    /**
002     * Copyright (c) 2000-present 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     * @generated
022     */
023    @ProviderType
024    public interface WikiPageFinder {
025            public int countByCreateDate(long groupId, long nodeId,
026                    java.util.Date createDate, boolean before);
027    
028            public int countByCreateDate(long groupId, long nodeId,
029                    java.sql.Timestamp createDate, boolean before);
030    
031            public int filterCountByCreateDate(long groupId, long nodeId,
032                    java.util.Date createDate, boolean before);
033    
034            public int filterCountByCreateDate(long groupId, long nodeId,
035                    java.sql.Timestamp createDate, boolean before);
036    
037            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByCreateDate(
038                    long groupId, long nodeId, java.util.Date createDate, boolean before,
039                    int start, int end);
040    
041            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByCreateDate(
042                    long groupId, long nodeId, java.sql.Timestamp createDate,
043                    boolean before, int start, int end);
044    
045            public com.liferay.portlet.wiki.model.WikiPage findByResourcePrimKey(
046                    long resourcePrimKey)
047                    throws com.liferay.portlet.wiki.NoSuchPageException;
048    
049            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByCreateDate(
050                    long groupId, long nodeId, java.util.Date createDate, boolean before,
051                    int start, int end);
052    
053            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByCreateDate(
054                    long groupId, long nodeId, java.sql.Timestamp createDate,
055                    boolean before, int start, int end);
056    
057            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNoAssets();
058    }