Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.service.persistence
Class DLFileEntryFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<DLFileEntry>
      extended by com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinderImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<DLFileEntry>, DLFileEntryFinder

public class DLFileEntryFinderImpl
extends BasePersistenceImpl<DLFileEntry>
implements DLFileEntryFinder


Field Summary
static String COUNT_BY_EXTRA_SETTINGS
           
static String COUNT_BY_G_F
           
static String COUNT_BY_G_F_S
           
static String COUNT_BY_G_U_F
           
static String COUNT_BY_G_U_F_S
           
static String FIND_BY_ANY_IMAGE_ID
           
static String FIND_BY_EXTRA_SETTINGS
           
static String FIND_BY_G_F
           
static String FIND_BY_G_F_M
           
static String FIND_BY_G_F_S
           
static String FIND_BY_G_F_S_M
           
static String FIND_BY_G_U_F
           
static String FIND_BY_G_U_F_M
           
static String FIND_BY_G_U_F_S
           
static String FIND_BY_G_U_F_S_M
           
static String FIND_BY_MISVERSIONED
           
static String FIND_BY_NO_ASSETS
           
static String FIND_BY_ORPHANED_FILE_ENTRIES
           
 
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
 
Constructor Summary
DLFileEntryFinderImpl()
           
 
Method Summary
 int countByExtraSettings()
           
 int countByG_F_S(long groupId, List<Long> folderIds, int status)
           
 int countByG_U_F_M_S(long groupId, long userId, List<Long> folderIds, String[] mimeTypes, int status)
           
protected  int doCountByG_F_S(long groupId, List<Long> folderIds, int status, boolean inlineSQLHelper)
           
 DLFileEntry fetchByAnyImageId(long imageId)
           
 int filterCountByG_F_S(long groupId, List<Long> folderIds, int status)
           
 DLFileEntry findByAnyImageId(long imageId)
           
 List<DLFileEntry> findByExtraSettings(int start, int end)
           
 List<DLFileEntry> findByG_U_F_M_S(long groupId, long userId, List<Long> folderIds, String[] mimeTypes, int status, int start, int end, OrderByComparator obc)
           
 List<DLFileEntry> findByMisversioned()
           
 List<DLFileEntry> findByNoAssets()
           
 List<DLFileEntry> findByOrphanedFileEntries()
           
protected  String getFolderIds(List<Long> folderIds, String table)
           
protected  String getMimeTypes(String[] mimeTypes, String table)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, 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
 

Field Detail

COUNT_BY_EXTRA_SETTINGS

public static final String COUNT_BY_EXTRA_SETTINGS

COUNT_BY_G_F

public static final String COUNT_BY_G_F

COUNT_BY_G_U_F

public static final String COUNT_BY_G_U_F

COUNT_BY_G_F_S

public static final String COUNT_BY_G_F_S

COUNT_BY_G_U_F_S

public static final String COUNT_BY_G_U_F_S

FIND_BY_ANY_IMAGE_ID

public static final String FIND_BY_ANY_IMAGE_ID

FIND_BY_EXTRA_SETTINGS

public static final String FIND_BY_EXTRA_SETTINGS

FIND_BY_MISVERSIONED

public static final String FIND_BY_MISVERSIONED

FIND_BY_NO_ASSETS

public static final String FIND_BY_NO_ASSETS

FIND_BY_ORPHANED_FILE_ENTRIES

public static final String FIND_BY_ORPHANED_FILE_ENTRIES

FIND_BY_G_F

public static final String FIND_BY_G_F

FIND_BY_G_U_F

public static final String FIND_BY_G_U_F

FIND_BY_G_F_M

public static final String FIND_BY_G_F_M

FIND_BY_G_F_S

public static final String FIND_BY_G_F_S

FIND_BY_G_U_F_M

public static final String FIND_BY_G_U_F_M

FIND_BY_G_U_F_S

public static final String FIND_BY_G_U_F_S

FIND_BY_G_F_S_M

public static final String FIND_BY_G_F_S_M

FIND_BY_G_U_F_S_M

public static final String FIND_BY_G_U_F_S_M
Constructor Detail

DLFileEntryFinderImpl

public DLFileEntryFinderImpl()
Method Detail

countByExtraSettings

public int countByExtraSettings()
                         throws SystemException
Specified by:
countByExtraSettings in interface DLFileEntryFinder
Throws:
SystemException

countByG_F_S

public int countByG_F_S(long groupId,
                        List<Long> folderIds,
                        int status)
                 throws SystemException
Specified by:
countByG_F_S in interface DLFileEntryFinder
Throws:
SystemException

countByG_U_F_M_S

public int countByG_U_F_M_S(long groupId,
                            long userId,
                            List<Long> folderIds,
                            String[] mimeTypes,
                            int status)
                     throws SystemException
Specified by:
countByG_U_F_M_S in interface DLFileEntryFinder
Throws:
SystemException

fetchByAnyImageId

public DLFileEntry fetchByAnyImageId(long imageId)
                              throws SystemException
Specified by:
fetchByAnyImageId in interface DLFileEntryFinder
Throws:
SystemException

filterCountByG_F_S

public int filterCountByG_F_S(long groupId,
                              List<Long> folderIds,
                              int status)
                       throws SystemException
Specified by:
filterCountByG_F_S in interface DLFileEntryFinder
Throws:
SystemException

findByAnyImageId

public DLFileEntry findByAnyImageId(long imageId)
                             throws NoSuchFileEntryException,
                                    SystemException
Specified by:
findByAnyImageId in interface DLFileEntryFinder
Throws:
NoSuchFileEntryException
SystemException

findByExtraSettings

public List<DLFileEntry> findByExtraSettings(int start,
                                             int end)
                                      throws SystemException
Specified by:
findByExtraSettings in interface DLFileEntryFinder
Throws:
SystemException

findByMisversioned

public List<DLFileEntry> findByMisversioned()
                                     throws SystemException
Specified by:
findByMisversioned in interface DLFileEntryFinder
Throws:
SystemException

findByNoAssets

public List<DLFileEntry> findByNoAssets()
                                 throws SystemException
Specified by:
findByNoAssets in interface DLFileEntryFinder
Throws:
SystemException

findByOrphanedFileEntries

public List<DLFileEntry> findByOrphanedFileEntries()
                                            throws SystemException
Specified by:
findByOrphanedFileEntries in interface DLFileEntryFinder
Throws:
SystemException

findByG_U_F_M_S

public List<DLFileEntry> findByG_U_F_M_S(long groupId,
                                         long userId,
                                         List<Long> folderIds,
                                         String[] mimeTypes,
                                         int status,
                                         int start,
                                         int end,
                                         OrderByComparator obc)
                                  throws SystemException
Specified by:
findByG_U_F_M_S in interface DLFileEntryFinder
Throws:
SystemException

doCountByG_F_S

protected int doCountByG_F_S(long groupId,
                             List<Long> folderIds,
                             int status,
                             boolean inlineSQLHelper)
                      throws SystemException
Throws:
SystemException

getFolderIds

protected String getFolderIds(List<Long> folderIds,
                              String table)

getMimeTypes

protected String getMimeTypes(String[] mimeTypes,
                              String table)

Liferay 6.1.2-ce-ga3