Liferay 6.1.2-ce-ga3

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

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

public class DLFolderFinderImpl
extends BasePersistenceImpl<DLFolder>
implements DLFolderFinder


Field Summary
static String COUNT_F_BY_G_M_F
           
static String COUNT_FE_BY_G_F
           
static String COUNT_FE_BY_G_F_S
           
static String COUNT_FS_BY_G_F_S
           
static String FIND_F_BY_G_M_F
           
static String FIND_FE_BY_G_F
           
static String FIND_FE_BY_G_F_S
           
static String FIND_FS_BY_G_F_S
           
static String JOIN_FS_BY_DL_FILE_ENTRY
           
static String JOIN_FV_BY_DL_FILE_ENTRY
           
 
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
DLFolderFinderImpl()
           
 
Method Summary
 int countF_FE_FS_ByG_F_S_M_M(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders)
           
 int countFE_ByG_F_S(long groupId, long folderId, int status)
           
protected  int doCountF_FE_FS_ByG_F_S_M_M(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders, boolean inlineSQLHelper)
           
protected  int doCountFE_ByG_F_S(long groupId, long folderId, int status, boolean inlineSQLHelper)
           
protected  int doCountFE_FS_ByG_F_S_M(long groupId, long folderId, int status, String[] mimeTypes, boolean inlineSQLHelper)
           
protected  List<Object> doFindF_FE_FS_ByG_F_S_M_M(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders, int start, int end, OrderByComparator obc, boolean inlineSQLHelper)
           
protected  List<Object> doFindFE_FS_ByG_F_S(long groupId, long folderId, int status, int start, int end, boolean inlineSQLHelper)
           
 int filterCountF_FE_FS_ByG_F_S_M_M(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders)
           
 int filterCountFE_ByG_F_S(long groupId, long folderId, int status)
           
 int filterCountFE_FS_ByG_F_S_M(long groupId, long folderId, int status, String[] mimeTypes)
           
 List<Object> filterFindF_FE_FS_ByG_F_S_M_M(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders, int start, int end, OrderByComparator obc)
           
 List<Object> filterFindFE_FS_ByG_F_S(long groupId, long folderId, int status, int start, int end)
           
 List<Object> findF_FE_FS_ByG_F_S_M_M(long groupId, long folderId, int status, String[] mimeTypes, boolean includeMountFolders, int start, int end, OrderByComparator obc)
           
 List<Object> findFE_FS_ByG_F_S(long groupId, long folderId, int status, int start, int end)
           
protected  String getFileEntriesSQL(long groupId, int status, String[] mimeTypes, boolean inlineSQLHelper)
           
protected  String getFileShortcutsSQL(long groupId, int status, String[] mimeTypes, boolean inlineSQLHelper)
           
protected  String getFolderId(long folderId, String table)
           
protected  String getMimeTypes(String[] mimeTypes, String table)
           
protected  String updateSQL(String sql, long folderId, int status, boolean includeMountFolders)
           
 
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_F_BY_G_M_F

public static final String COUNT_F_BY_G_M_F

COUNT_FE_BY_G_F

public static final String COUNT_FE_BY_G_F

COUNT_FE_BY_G_F_S

public static final String COUNT_FE_BY_G_F_S

COUNT_FS_BY_G_F_S

public static final String COUNT_FS_BY_G_F_S

FIND_F_BY_G_M_F

public static final String FIND_F_BY_G_M_F

FIND_FE_BY_G_F

public static final String FIND_FE_BY_G_F

FIND_FE_BY_G_F_S

public static final String FIND_FE_BY_G_F_S

FIND_FS_BY_G_F_S

public static final String FIND_FS_BY_G_F_S

JOIN_FS_BY_DL_FILE_ENTRY

public static final String JOIN_FS_BY_DL_FILE_ENTRY

JOIN_FV_BY_DL_FILE_ENTRY

public static final String JOIN_FV_BY_DL_FILE_ENTRY
Constructor Detail

DLFolderFinderImpl

public DLFolderFinderImpl()
Method Detail

countF_FE_FS_ByG_F_S_M_M

public int countF_FE_FS_ByG_F_S_M_M(long groupId,
                                    long folderId,
                                    int status,
                                    String[] mimeTypes,
                                    boolean includeMountFolders)
                             throws SystemException
Specified by:
countF_FE_FS_ByG_F_S_M_M in interface DLFolderFinder
Throws:
SystemException

countFE_ByG_F_S

public int countFE_ByG_F_S(long groupId,
                           long folderId,
                           int status)
                    throws SystemException
Specified by:
countFE_ByG_F_S in interface DLFolderFinder
Throws:
SystemException

filterCountF_FE_FS_ByG_F_S_M_M

public int filterCountF_FE_FS_ByG_F_S_M_M(long groupId,
                                          long folderId,
                                          int status,
                                          String[] mimeTypes,
                                          boolean includeMountFolders)
                                   throws SystemException
Specified by:
filterCountF_FE_FS_ByG_F_S_M_M in interface DLFolderFinder
Throws:
SystemException

filterCountFE_ByG_F_S

public int filterCountFE_ByG_F_S(long groupId,
                                 long folderId,
                                 int status)
                          throws SystemException
Specified by:
filterCountFE_ByG_F_S in interface DLFolderFinder
Throws:
SystemException

filterCountFE_FS_ByG_F_S_M

public int filterCountFE_FS_ByG_F_S_M(long groupId,
                                      long folderId,
                                      int status,
                                      String[] mimeTypes)
                               throws SystemException
Specified by:
filterCountFE_FS_ByG_F_S_M in interface DLFolderFinder
Throws:
SystemException

filterFindF_FE_FS_ByG_F_S_M_M

public List<Object> filterFindF_FE_FS_ByG_F_S_M_M(long groupId,
                                                  long folderId,
                                                  int status,
                                                  String[] mimeTypes,
                                                  boolean includeMountFolders,
                                                  int start,
                                                  int end,
                                                  OrderByComparator obc)
                                           throws SystemException
Specified by:
filterFindF_FE_FS_ByG_F_S_M_M in interface DLFolderFinder
Throws:
SystemException

filterFindFE_FS_ByG_F_S

public List<Object> filterFindFE_FS_ByG_F_S(long groupId,
                                            long folderId,
                                            int status,
                                            int start,
                                            int end)
                                     throws SystemException
Specified by:
filterFindFE_FS_ByG_F_S in interface DLFolderFinder
Throws:
SystemException

findF_FE_FS_ByG_F_S_M_M

public List<Object> findF_FE_FS_ByG_F_S_M_M(long groupId,
                                            long folderId,
                                            int status,
                                            String[] mimeTypes,
                                            boolean includeMountFolders,
                                            int start,
                                            int end,
                                            OrderByComparator obc)
                                     throws SystemException
Specified by:
findF_FE_FS_ByG_F_S_M_M in interface DLFolderFinder
Throws:
SystemException

findFE_FS_ByG_F_S

public List<Object> findFE_FS_ByG_F_S(long groupId,
                                      long folderId,
                                      int status,
                                      int start,
                                      int end)
                               throws SystemException
Specified by:
findFE_FS_ByG_F_S in interface DLFolderFinder
Throws:
SystemException

doCountF_FE_FS_ByG_F_S_M_M

protected int doCountF_FE_FS_ByG_F_S_M_M(long groupId,
                                         long folderId,
                                         int status,
                                         String[] mimeTypes,
                                         boolean includeMountFolders,
                                         boolean inlineSQLHelper)
                                  throws SystemException
Throws:
SystemException

doCountFE_ByG_F_S

protected int doCountFE_ByG_F_S(long groupId,
                                long folderId,
                                int status,
                                boolean inlineSQLHelper)
                         throws SystemException
Throws:
SystemException

doCountFE_FS_ByG_F_S_M

protected int doCountFE_FS_ByG_F_S_M(long groupId,
                                     long folderId,
                                     int status,
                                     String[] mimeTypes,
                                     boolean inlineSQLHelper)
                              throws SystemException
Throws:
SystemException

doFindF_FE_FS_ByG_F_S_M_M

protected List<Object> doFindF_FE_FS_ByG_F_S_M_M(long groupId,
                                                 long folderId,
                                                 int status,
                                                 String[] mimeTypes,
                                                 boolean includeMountFolders,
                                                 int start,
                                                 int end,
                                                 OrderByComparator obc,
                                                 boolean inlineSQLHelper)
                                          throws SystemException
Throws:
SystemException

doFindFE_FS_ByG_F_S

protected List<Object> doFindFE_FS_ByG_F_S(long groupId,
                                           long folderId,
                                           int status,
                                           int start,
                                           int end,
                                           boolean inlineSQLHelper)
                                    throws SystemException
Throws:
SystemException

getFileEntriesSQL

protected String getFileEntriesSQL(long groupId,
                                   int status,
                                   String[] mimeTypes,
                                   boolean inlineSQLHelper)

getFileShortcutsSQL

protected String getFileShortcutsSQL(long groupId,
                                     int status,
                                     String[] mimeTypes,
                                     boolean inlineSQLHelper)

getFolderId

protected String getFolderId(long folderId,
                             String table)

getMimeTypes

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

updateSQL

protected String updateSQL(String sql,
                           long folderId,
                           int status,
                           boolean includeMountFolders)

Liferay 6.1.2-ce-ga3