com.liferay.portlet.documentlibrary.service.persistence
Class DLFileEntryFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLFileEntry>
com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinderImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.documentlibrary.model.DLFileEntry>, com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder
public class DLFileEntryFinderImpl
- extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLFileEntry>
- implements com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder
- Author:
- Brian Wing Shun Chan, Shuyang Zhou
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
|
Method Summary |
int |
countByExtraSettings()
|
int |
countByG_F_S(long groupId,
java.util.List<java.lang.Long> folderIds,
int status)
|
int |
countByG_U_F_M_S(long groupId,
long userId,
java.util.List<java.lang.Long> folderIds,
java.lang.String[] mimeTypes,
int status)
|
protected int |
doCountByG_F_S(long groupId,
java.util.List<java.lang.Long> folderIds,
int status,
boolean inlineSQLHelper)
|
com.liferay.portlet.documentlibrary.model.DLFileEntry |
fetchByAnyImageId(long imageId)
|
int |
filterCountByG_F_S(long groupId,
java.util.List<java.lang.Long> folderIds,
int status)
|
com.liferay.portlet.documentlibrary.model.DLFileEntry |
findByAnyImageId(long imageId)
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> |
findByExtraSettings(int start,
int end)
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> |
findByG_U_F_M_S(long groupId,
long userId,
java.util.List<java.lang.Long> folderIds,
java.lang.String[] mimeTypes,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> |
findByNoAssets()
|
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> |
findByOrphanedFileEntries()
|
protected java.lang.String |
getFolderIds(java.util.List<java.lang.Long> folderIds,
java.lang.String table)
|
protected java.lang.String |
getMimeTypes(java.lang.String[] mimeTypes,
java.lang.String table)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, remove, removeImpl, setDataSource, setSessionFactory, unregisterListener, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COUNT_BY_EXTRA_SETTINGS
public static java.lang.String COUNT_BY_EXTRA_SETTINGS
COUNT_BY_G_F
public static java.lang.String COUNT_BY_G_F
COUNT_BY_G_U_F
public static java.lang.String COUNT_BY_G_U_F
COUNT_BY_G_F_S
public static java.lang.String COUNT_BY_G_F_S
COUNT_BY_G_U_F_S
public static java.lang.String COUNT_BY_G_U_F_S
FIND_BY_ANY_IMAGE_ID
public static java.lang.String FIND_BY_ANY_IMAGE_ID
FIND_BY_EXTRA_SETTINGS
public static java.lang.String FIND_BY_EXTRA_SETTINGS
FIND_BY_NO_ASSETS
public static java.lang.String FIND_BY_NO_ASSETS
FIND_BY_ORPHANED_FILE_ENTRIES
public static java.lang.String FIND_BY_ORPHANED_FILE_ENTRIES
FIND_BY_G_F
public static java.lang.String FIND_BY_G_F
FIND_BY_G_U_F
public static java.lang.String FIND_BY_G_U_F
FIND_BY_G_F_S
public static java.lang.String FIND_BY_G_F_S
FIND_BY_G_U_F_S
public static java.lang.String FIND_BY_G_U_F_S
DLFileEntryFinderImpl
public DLFileEntryFinderImpl()
countByExtraSettings
public int countByExtraSettings()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
countByExtraSettings in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByG_F_S
public int countByG_F_S(long groupId,
java.util.List<java.lang.Long> folderIds,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
countByG_F_S in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByG_U_F_M_S
public int countByG_U_F_M_S(long groupId,
long userId,
java.util.List<java.lang.Long> folderIds,
java.lang.String[] mimeTypes,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
countByG_U_F_M_S in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByAnyImageId
public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByAnyImageId(long imageId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
fetchByAnyImageId in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
filterCountByG_F_S
public int filterCountByG_F_S(long groupId,
java.util.List<java.lang.Long> folderIds,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
filterCountByG_F_S in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByAnyImageId
public com.liferay.portlet.documentlibrary.model.DLFileEntry findByAnyImageId(long imageId)
throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByAnyImageId in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder
- Throws:
com.liferay.portlet.documentlibrary.NoSuchFileEntryException
com.liferay.portal.kernel.exception.SystemException
findByExtraSettings
public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByExtraSettings(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByExtraSettings in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByNoAssets
public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByNoAssets()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByNoAssets in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByOrphanedFileEntries
public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByOrphanedFileEntries()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByOrphanedFileEntries in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_U_F_M_S
public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F_M_S(long groupId,
long userId,
java.util.List<java.lang.Long> folderIds,
java.lang.String[] mimeTypes,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByG_U_F_M_S in interface com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder
- Throws:
com.liferay.portal.kernel.exception.SystemException
doCountByG_F_S
protected int doCountByG_F_S(long groupId,
java.util.List<java.lang.Long> folderIds,
int status,
boolean inlineSQLHelper)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFolderIds
protected java.lang.String getFolderIds(java.util.List<java.lang.Long> folderIds,
java.lang.String table)
getMimeTypes
protected java.lang.String getMimeTypes(java.lang.String[] mimeTypes,
java.lang.String table)