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

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryUtil

public class DLFileEntryUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
DLFileEntryUtil()
           
 
Method Summary
static void cacheResult(DLFileEntry dlFileEntry)
           
static void cacheResult(java.util.List<DLFileEntry> dlFileEntries)
           
static void clearCache()
           
static int countAll()
           
static int countByCompanyId(long companyId)
           
static int countByF_N(long folderId, java.lang.String name)
           
static int countByF_T(long folderId, java.lang.String title)
           
static int countByFolderId(long folderId)
           
static int countByG_U(long groupId, long userId)
           
static int countByGroupId(long groupId)
           
static int countByUUID_G(java.lang.String uuid, long groupId)
           
static int countByUuid(java.lang.String uuid)
           
static DLFileEntry create(long fileEntryId)
           
static DLFileEntry fetchByF_N(long folderId, java.lang.String name)
           
static DLFileEntry fetchByF_N(long folderId, java.lang.String name, boolean retrieveFromCache)
           
static DLFileEntry fetchByPrimaryKey(long fileEntryId)
           
static DLFileEntry fetchByUUID_G(java.lang.String uuid, long groupId)
           
static DLFileEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
static java.util.List<DLFileEntry> findAll()
           
static java.util.List<DLFileEntry> findAll(int start, int end)
           
static java.util.List<DLFileEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<DLFileEntry> findByCompanyId(long companyId)
           
static java.util.List<DLFileEntry> findByCompanyId(long companyId, int start, int end)
           
static java.util.List<DLFileEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry findByF_N(long folderId, java.lang.String name)
           
static DLFileEntry findByF_T_First(long folderId, java.lang.String title, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry findByF_T_Last(long folderId, java.lang.String title, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry[] findByF_T_PrevAndNext(long fileEntryId, long folderId, java.lang.String title, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<DLFileEntry> findByF_T(long folderId, java.lang.String title)
           
static java.util.List<DLFileEntry> findByF_T(long folderId, java.lang.String title, int start, int end)
           
static java.util.List<DLFileEntry> findByF_T(long folderId, java.lang.String title, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry findByFolderId_First(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry findByFolderId_Last(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry[] findByFolderId_PrevAndNext(long fileEntryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<DLFileEntry> findByFolderId(long folderId)
           
static java.util.List<DLFileEntry> findByFolderId(long folderId, int start, int end)
           
static java.util.List<DLFileEntry> findByFolderId(long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry[] findByG_U_PrevAndNext(long fileEntryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<DLFileEntry> findByG_U(long groupId, long userId)
           
static java.util.List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end)
           
static java.util.List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry[] findByGroupId_PrevAndNext(long fileEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<DLFileEntry> findByGroupId(long groupId)
           
static java.util.List<DLFileEntry> findByGroupId(long groupId, int start, int end)
           
static java.util.List<DLFileEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry findByPrimaryKey(long fileEntryId)
           
static DLFileEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry findByUUID_G(java.lang.String uuid, long groupId)
           
static DLFileEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<DLFileEntry> findByUuid(java.lang.String uuid)
           
static java.util.List<DLFileEntry> findByUuid(java.lang.String uuid, int start, int end)
           
static java.util.List<DLFileEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static DLFileEntryPersistence getPersistence()
           
static DLFileEntry remove(DLFileEntry dlFileEntry)
           
static DLFileEntry remove(long fileEntryId)
           
static void removeAll()
           
static void removeByCompanyId(long companyId)
           
static void removeByF_N(long folderId, java.lang.String name)
           
static void removeByF_T(long folderId, java.lang.String title)
           
static void removeByFolderId(long folderId)
           
static void removeByG_U(long groupId, long userId)
           
static void removeByGroupId(long groupId)
           
static void removeByUUID_G(java.lang.String uuid, long groupId)
           
static void removeByUuid(java.lang.String uuid)
           
 void setPersistence(DLFileEntryPersistence persistence)
           
static DLFileEntry update(DLFileEntry dlFileEntry)
          Deprecated. Use update(DLFileEntry dlFileEntry, boolean merge).
static DLFileEntry update(DLFileEntry dlFileEntry, boolean merge)
          Add, update, or merge, the entity.
static DLFileEntry updateImpl(DLFileEntry dlFileEntry, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileEntryUtil

public DLFileEntryUtil()
Method Detail

cacheResult

public static void cacheResult(DLFileEntry dlFileEntry)

cacheResult

public static void cacheResult(java.util.List<DLFileEntry> dlFileEntries)

clearCache

public static void clearCache()

create

public static DLFileEntry create(long fileEntryId)

remove

public static DLFileEntry remove(long fileEntryId)
                          throws com.liferay.portal.SystemException,
                                 NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

remove

public static DLFileEntry remove(DLFileEntry dlFileEntry)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static DLFileEntry update(DLFileEntry dlFileEntry)
                          throws com.liferay.portal.SystemException
Deprecated. Use update(DLFileEntry dlFileEntry, boolean merge).

Throws:
com.liferay.portal.SystemException

update

public static DLFileEntry update(DLFileEntry dlFileEntry,
                                 boolean merge)
                          throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
dlFileEntry - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when dlFileEntry is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

public static DLFileEntry updateImpl(DLFileEntry dlFileEntry,
                                     boolean merge)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public static DLFileEntry findByPrimaryKey(long fileEntryId)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

fetchByPrimaryKey

public static DLFileEntry fetchByPrimaryKey(long fileEntryId)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public static java.util.List<DLFileEntry> findByUuid(java.lang.String uuid)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public static java.util.List<DLFileEntry> findByUuid(java.lang.String uuid,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public static java.util.List<DLFileEntry> findByUuid(java.lang.String uuid,
                                                     int start,
                                                     int end,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid_First

public static DLFileEntry findByUuid_First(java.lang.String uuid,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByUuid_Last

public static DLFileEntry findByUuid_Last(java.lang.String uuid,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByUuid_PrevAndNext

public static DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId,
                                                   java.lang.String uuid,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.SystemException,
                                                   NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByUUID_G

public static DLFileEntry findByUUID_G(java.lang.String uuid,
                                       long groupId)
                                throws com.liferay.portal.SystemException,
                                       NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

fetchByUUID_G

public static DLFileEntry fetchByUUID_G(java.lang.String uuid,
                                        long groupId)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByUUID_G

public static DLFileEntry fetchByUUID_G(java.lang.String uuid,
                                        long groupId,
                                        boolean retrieveFromCache)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public static java.util.List<DLFileEntry> findByGroupId(long groupId)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public static java.util.List<DLFileEntry> findByGroupId(long groupId,
                                                        int start,
                                                        int end)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public static java.util.List<DLFileEntry> findByGroupId(long groupId,
                                                        int start,
                                                        int end,
                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

public static DLFileEntry findByGroupId_First(long groupId,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByGroupId_Last

public static DLFileEntry findByGroupId_Last(long groupId,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByGroupId_PrevAndNext

public static DLFileEntry[] findByGroupId_PrevAndNext(long fileEntryId,
                                                      long groupId,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.SystemException,
                                                      NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByCompanyId

public static java.util.List<DLFileEntry> findByCompanyId(long companyId)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public static java.util.List<DLFileEntry> findByCompanyId(long companyId,
                                                          int start,
                                                          int end)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public static java.util.List<DLFileEntry> findByCompanyId(long companyId,
                                                          int start,
                                                          int end,
                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

public static DLFileEntry findByCompanyId_First(long companyId,
                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByCompanyId_Last

public static DLFileEntry findByCompanyId_Last(long companyId,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByCompanyId_PrevAndNext

public static DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId,
                                                        long companyId,
                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                 throws com.liferay.portal.SystemException,
                                                        NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByFolderId

public static java.util.List<DLFileEntry> findByFolderId(long folderId)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

public static java.util.List<DLFileEntry> findByFolderId(long folderId,
                                                         int start,
                                                         int end)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

public static java.util.List<DLFileEntry> findByFolderId(long folderId,
                                                         int start,
                                                         int end,
                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId_First

public static DLFileEntry findByFolderId_First(long folderId,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByFolderId_Last

public static DLFileEntry findByFolderId_Last(long folderId,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByFolderId_PrevAndNext

public static DLFileEntry[] findByFolderId_PrevAndNext(long fileEntryId,
                                                       long folderId,
                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws com.liferay.portal.SystemException,
                                                       NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByG_U

public static java.util.List<DLFileEntry> findByG_U(long groupId,
                                                    long userId)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U

public static java.util.List<DLFileEntry> findByG_U(long groupId,
                                                    long userId,
                                                    int start,
                                                    int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U

public static java.util.List<DLFileEntry> findByG_U(long groupId,
                                                    long userId,
                                                    int start,
                                                    int end,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U_First

public static DLFileEntry findByG_U_First(long groupId,
                                          long userId,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByG_U_Last

public static DLFileEntry findByG_U_Last(long groupId,
                                         long userId,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByG_U_PrevAndNext

public static DLFileEntry[] findByG_U_PrevAndNext(long fileEntryId,
                                                  long groupId,
                                                  long userId,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByF_N

public static DLFileEntry findByF_N(long folderId,
                                    java.lang.String name)
                             throws com.liferay.portal.SystemException,
                                    NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

fetchByF_N

public static DLFileEntry fetchByF_N(long folderId,
                                     java.lang.String name)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByF_N

public static DLFileEntry fetchByF_N(long folderId,
                                     java.lang.String name,
                                     boolean retrieveFromCache)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByF_T

public static java.util.List<DLFileEntry> findByF_T(long folderId,
                                                    java.lang.String title)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByF_T

public static java.util.List<DLFileEntry> findByF_T(long folderId,
                                                    java.lang.String title,
                                                    int start,
                                                    int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByF_T

public static java.util.List<DLFileEntry> findByF_T(long folderId,
                                                    java.lang.String title,
                                                    int start,
                                                    int end,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByF_T_First

public static DLFileEntry findByF_T_First(long folderId,
                                          java.lang.String title,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByF_T_Last

public static DLFileEntry findByF_T_Last(long folderId,
                                         java.lang.String title,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findByF_T_PrevAndNext

public static DLFileEntry[] findByF_T_PrevAndNext(long fileEntryId,
                                                  long folderId,
                                                  java.lang.String title,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<DLFileEntry> findAll()
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<DLFileEntry> findAll(int start,
                                                  int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<DLFileEntry> findAll(int start,
                                                  int end,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUuid

public static void removeByUuid(java.lang.String uuid)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUUID_G

public static void removeByUUID_G(java.lang.String uuid,
                                  long groupId)
                           throws com.liferay.portal.SystemException,
                                  NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

removeByGroupId

public static void removeByGroupId(long groupId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByCompanyId

public static void removeByCompanyId(long companyId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByFolderId

public static void removeByFolderId(long folderId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_U

public static void removeByG_U(long groupId,
                               long userId)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByF_N

public static void removeByF_N(long folderId,
                               java.lang.String name)
                        throws com.liferay.portal.SystemException,
                               NoSuchFileEntryException
Throws:
com.liferay.portal.SystemException
NoSuchFileEntryException

removeByF_T

public static void removeByF_T(long folderId,
                               java.lang.String title)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

public static void removeAll()
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUuid

public static int countByUuid(java.lang.String uuid)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUUID_G

public static int countByUUID_G(java.lang.String uuid,
                                long groupId)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

public static int countByGroupId(long groupId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByCompanyId

public static int countByCompanyId(long companyId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByFolderId

public static int countByFolderId(long folderId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_U

public static int countByG_U(long groupId,
                             long userId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByF_N

public static int countByF_N(long folderId,
                             java.lang.String name)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByF_T

public static int countByF_T(long folderId,
                             java.lang.String title)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

public static int countAll()
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPersistence

public static DLFileEntryPersistence getPersistence()

setPersistence

public void setPersistence(DLFileEntryPersistence persistence)