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    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * @author Brian Wing Shun Chan
021     */
022    @ProviderType
023    public interface DLFolderFinder {
024            public int countF_FE_FS_ByG_F_M_M(long groupId, long folderId,
025                    java.lang.String[] mimeTypes, boolean includeMountFolders,
026                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
027                    throws com.liferay.portal.kernel.exception.SystemException;
028    
029            public int countFE_ByG_F(long groupId, long folderId,
030                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
031                    throws com.liferay.portal.kernel.exception.SystemException;
032    
033            public int countFE_FS_ByG_F(long groupId, long folderId,
034                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
035                    throws com.liferay.portal.kernel.exception.SystemException;
036    
037            public int filterCountF_FE_FS_ByG_F_M_M(long groupId, long folderId,
038                    java.lang.String[] mimeTypes, boolean includeMountFolders,
039                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
040                    throws com.liferay.portal.kernel.exception.SystemException;
041    
042            public int filterCountFE_ByG_F(long groupId, long folderId,
043                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
044                    throws com.liferay.portal.kernel.exception.SystemException;
045    
046            public int filterCountFE_FS_ByG_F(long groupId, long folderId,
047                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
048                    throws com.liferay.portal.kernel.exception.SystemException;
049    
050            public int filterCountFE_FS_ByG_F_M(long groupId, long folderId,
051                    java.lang.String[] mimeTypes,
052                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
053                    throws com.liferay.portal.kernel.exception.SystemException;
054    
055            public java.util.List<java.lang.Object> filterFindF_FE_FS_ByG_F_M_M(
056                    long groupId, long folderId, java.lang.String[] mimeTypes,
057                    boolean includeMountFolders,
058                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
059                    throws com.liferay.portal.kernel.exception.SystemException;
060    
061            public java.util.List<java.lang.Object> filterFindFE_FS_ByG_F(
062                    long groupId, long folderId,
063                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
064                    throws com.liferay.portal.kernel.exception.SystemException;
065    
066            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findF_ByNoAssets()
067                    throws com.liferay.portal.kernel.exception.SystemException;
068    
069            public java.util.List<java.lang.Object> findF_FE_FS_ByG_F_M_M(
070                    long groupId, long folderId, java.lang.String[] mimeTypes,
071                    boolean includeMountFolders,
072                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
073                    throws com.liferay.portal.kernel.exception.SystemException;
074    
075            public java.util.List<java.lang.Object> findFE_FS_ByG_F(long groupId,
076                    long folderId,
077                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
078                    throws com.liferay.portal.kernel.exception.SystemException;
079    }