com.liferay.portlet.documentlibrary.service.persistence
Interface DLFileEntryPersistence

All Superinterfaces:
BasePersistence<DLFileEntry>

public interface DLFileEntryPersistence
extends BasePersistence<DLFileEntry>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
DLFileEntryPersistenceImpl, DLFileEntryUtil
Generated:

Method Summary
 void cacheResult(DLFileEntry dlFileEntry)
           
 void cacheResult(java.util.List<DLFileEntry> dlFileEntries)
           
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByF_N(long folderId, java.lang.String name)
           
 int countByF_T(long folderId, java.lang.String title)
           
 int countByFolderId(long folderId)
           
 int countByG_U(long groupId, long userId)
           
 int countByGroupId(long groupId)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 DLFileEntry create(long fileEntryId)
           
 DLFileEntry fetchByF_N(long folderId, java.lang.String name)
           
 DLFileEntry fetchByF_N(long folderId, java.lang.String name, boolean retrieveFromCache)
           
 DLFileEntry fetchByPrimaryKey(long fileEntryId)
           
 DLFileEntry fetchByUUID_G(java.lang.String uuid, long groupId)
           
 DLFileEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
 java.util.List<DLFileEntry> findAll()
           
 java.util.List<DLFileEntry> findAll(int start, int end)
           
 java.util.List<DLFileEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<DLFileEntry> findByCompanyId(long companyId)
           
 java.util.List<DLFileEntry> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<DLFileEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry findByF_N(long folderId, java.lang.String name)
           
 DLFileEntry findByF_T_First(long folderId, java.lang.String title, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry findByF_T_Last(long folderId, java.lang.String title, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry[] findByF_T_PrevAndNext(long fileEntryId, long folderId, java.lang.String title, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<DLFileEntry> findByF_T(long folderId, java.lang.String title)
           
 java.util.List<DLFileEntry> findByF_T(long folderId, java.lang.String title, int start, int end)
           
 java.util.List<DLFileEntry> findByF_T(long folderId, java.lang.String title, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry findByFolderId_First(long folderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry findByFolderId_Last(long folderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry[] findByFolderId_PrevAndNext(long fileEntryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<DLFileEntry> findByFolderId(long folderId)
           
 java.util.List<DLFileEntry> findByFolderId(long folderId, int start, int end)
           
 java.util.List<DLFileEntry> findByFolderId(long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry[] findByG_U_PrevAndNext(long fileEntryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<DLFileEntry> findByG_U(long groupId, long userId)
           
 java.util.List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end)
           
 java.util.List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry[] findByGroupId_PrevAndNext(long fileEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<DLFileEntry> findByGroupId(long groupId)
           
 java.util.List<DLFileEntry> findByGroupId(long groupId, int start, int end)
           
 java.util.List<DLFileEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry findByPrimaryKey(long fileEntryId)
           
 DLFileEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry findByUUID_G(java.lang.String uuid, long groupId)
           
 DLFileEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<DLFileEntry> findByUuid(java.lang.String uuid)
           
 java.util.List<DLFileEntry> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<DLFileEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileEntry remove(long fileEntryId)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByF_N(long folderId, java.lang.String name)
           
 void removeByF_T(long folderId, java.lang.String title)
           
 void removeByFolderId(long folderId)
           
 void removeByG_U(long groupId, long userId)
           
 void removeByGroupId(long groupId)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 DLFileEntry update(DLFileEntry dlFileEntry)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 DLFileEntry updateImpl(DLFileEntry dlFileEntry, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(DLFileEntry dlFileEntry)

cacheResult

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

create

DLFileEntry create(long fileEntryId)

remove

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

update

DLFileEntry update(DLFileEntry dlFileEntry)
                   throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByUuid

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

findByUuid

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

findByUuid

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

findByUuid_First

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

findByUuid_Last

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

findByUuid_PrevAndNext

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

findByUUID_G

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

fetchByUUID_G

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

fetchByUUID_G

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

findByGroupId

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

findByGroupId

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

findByGroupId

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

findByGroupId_First

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

findByGroupId_Last

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

findByGroupId_PrevAndNext

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

findByCompanyId

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

findByCompanyId

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

findByCompanyId

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

findByCompanyId_First

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

findByCompanyId_Last

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

findByCompanyId_PrevAndNext

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

findByFolderId

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

findByFolderId

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

findByFolderId

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

findByFolderId_First

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

findByFolderId_Last

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

findByFolderId_PrevAndNext

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

findByG_U

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

findByG_U

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

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

findByG_U_First

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

findByG_U_Last

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

findByG_U_PrevAndNext

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

findByF_N

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

fetchByF_N

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

fetchByF_N

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

findByF_T

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

findByF_T

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

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

findByF_T_First

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

findByF_T_Last

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

findByF_T_PrevAndNext

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

findAll

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

findAll

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

findAll

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

removeByUuid

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

removeByUUID_G

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

removeByGroupId

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

removeByCompanyId

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

removeByFolderId

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

removeByG_U

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

removeByF_N

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

removeByF_T

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

removeAll

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

countByUuid

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

countByUUID_G

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

countByGroupId

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

countByCompanyId

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

countByFolderId

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

countByG_U

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

countByF_N

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

countByF_T

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

countAll

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