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.documentlibrary.service.persistence;
016    
017    /**
018     * @author Brian Wing Shun Chan
019     */
020    public interface DLFolderFinder {
021            public int countF_FE_FS_ByG_F_S_M_M(long groupId, long folderId,
022                    int status, java.lang.String[] mimeTypes, boolean includeMountFolders)
023                    throws com.liferay.portal.kernel.exception.SystemException;
024    
025            public int countFE_ByG_F_S(long groupId, long folderId, int status)
026                    throws com.liferay.portal.kernel.exception.SystemException;
027    
028            public int filterCountF_FE_FS_ByG_F_S_M_M(long groupId, long folderId,
029                    int status, java.lang.String[] mimeTypes, boolean includeMountFolders)
030                    throws com.liferay.portal.kernel.exception.SystemException;
031    
032            public int filterCountFE_ByG_F_S(long groupId, long folderId, int status)
033                    throws com.liferay.portal.kernel.exception.SystemException;
034    
035            public int filterCountFE_FS_ByG_F_S_M(long groupId, long folderId,
036                    int status, java.lang.String[] mimeTypes)
037                    throws com.liferay.portal.kernel.exception.SystemException;
038    
039            public java.util.List<java.lang.Object> filterFindF_FE_FS_ByG_F_S_M_M(
040                    long groupId, long folderId, int status, java.lang.String[] mimeTypes,
041                    boolean includeMountFolders, int start, int end,
042                    com.liferay.portal.kernel.util.OrderByComparator obc)
043                    throws com.liferay.portal.kernel.exception.SystemException;
044    
045            public java.util.List<java.lang.Object> filterFindFE_FS_ByG_F_S(
046                    long groupId, long folderId, int status, int start, int end)
047                    throws com.liferay.portal.kernel.exception.SystemException;
048    
049            public java.util.List<java.lang.Object> findF_FE_FS_ByG_F_S_M_M(
050                    long groupId, long folderId, int status, java.lang.String[] mimeTypes,
051                    boolean includeMountFolders, int start, int end,
052                    com.liferay.portal.kernel.util.OrderByComparator obc)
053                    throws com.liferay.portal.kernel.exception.SystemException;
054    
055            public java.util.List<java.lang.Object> findFE_FS_ByG_F_S(long groupId,
056                    long folderId, int status, int start, int end)
057                    throws com.liferay.portal.kernel.exception.SystemException;
058    }