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.messageboards.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 MBMessageFinder {
025            public int countByC_T(java.util.Date createDate, long threadId);
026    
027            public int countByG_U_C_S(long groupId, long userId, long[] categoryIds,
028                    int status);
029    
030            public int countByG_U_C_A_S(long groupId, long userId, long[] categoryIds,
031                    boolean anonymous, int status);
032    
033            public int filterCountByG_U_C_S(long groupId, long userId,
034                    long[] categoryIds, int status);
035    
036            public int filterCountByG_U_MD_C_S(long groupId, long userId,
037                    java.util.Date modifiedDate, long[] categoryIds, int status);
038    
039            public int filterCountByG_U_C_A_S(long groupId, long userId,
040                    long[] categoryIds, boolean anonymous, int status);
041    
042            public java.util.List<java.lang.Long> filterFindByG_U_C_S(long groupId,
043                    long userId, long[] categoryIds, int status, int start, int end);
044    
045            public java.util.List<java.lang.Long> filterFindByG_U_MD_C_S(long groupId,
046                    long userId, java.util.Date modifiedDate, long[] categoryIds,
047                    int status, int start, int end);
048    
049            public java.util.List<java.lang.Long> filterFindByG_U_C_A_S(long groupId,
050                    long userId, long[] categoryIds, boolean anonymous, int status,
051                    int start, int end);
052    
053            public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByNoAssets();
054    
055            public java.util.List<java.lang.Long> findByG_U_C_S(long groupId,
056                    long userId, long[] categoryIds, int status, int start, int end);
057    
058            public java.util.List<java.lang.Long> findByG_U_C_A_S(long groupId,
059                    long userId, long[] categoryIds, boolean anonymous, int status,
060                    int start, int end);
061    }