001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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    }