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


public interface DLFileEntryPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 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 countByUuid(java.lang.String uuid)
           
 DLFileEntry create(long fileEntryId)
           
 DLFileEntry fetchByF_N(long folderId, java.lang.String name)
           
 DLFileEntry fetchByPrimaryKey(long fileEntryId)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByCompanyId(long companyId)
           
 java.util.List findByCompanyId(long companyId, int begin, int end)
           
 java.util.List findByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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 obc)
           
 DLFileEntry findByF_T_Last(long folderId, java.lang.String title, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileEntry[] findByF_T_PrevAndNext(long fileEntryId, long folderId, java.lang.String title, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByF_T(long folderId, java.lang.String title)
           
 java.util.List findByF_T(long folderId, java.lang.String title, int begin, int end)
           
 java.util.List findByF_T(long folderId, java.lang.String title, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileEntry findByFolderId_First(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileEntry findByFolderId_Last(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileEntry[] findByFolderId_PrevAndNext(long fileEntryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByFolderId(long folderId)
           
 java.util.List findByFolderId(long folderId, int begin, int end)
           
 java.util.List findByFolderId(long folderId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileEntry findByPrimaryKey(long fileEntryId)
           
 DLFileEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByUuid(java.lang.String uuid)
           
 java.util.List findByUuid(java.lang.String uuid, int begin, int end)
           
 java.util.List findByUuid(java.lang.String uuid, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 DLFileEntry remove(DLFileEntry dlFileEntry)
           
 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 removeByUuid(java.lang.String uuid)
           
 DLFileEntry update(DLFileEntry dlFileEntry)
           
 DLFileEntry update(DLFileEntry dlFileEntry, boolean merge)
           
 DLFileEntry updateImpl(DLFileEntry dlFileEntry, boolean merge)
           
 

Method Detail

create

public DLFileEntry create(long fileEntryId)

remove

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

remove

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

update

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

update

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByUuid

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

findByUuid

public java.util.List findByUuid(java.lang.String uuid,
                                 int begin,
                                 int end)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

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

findByUuid_First

public 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 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 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

findByCompanyId

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

findByCompanyId

public java.util.List findByCompanyId(long companyId,
                                      int begin,
                                      int end)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List findByCompanyId(long companyId,
                                      int begin,
                                      int end,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

public 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 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 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 java.util.List findByFolderId(long folderId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

public java.util.List findByFolderId(long folderId,
                                     int begin,
                                     int end)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId

public java.util.List findByFolderId(long folderId,
                                     int begin,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByFolderId_First

public 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 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 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

findByF_N

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

fetchByF_N

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

findByF_T

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

findByF_T

public java.util.List findByF_T(long folderId,
                                java.lang.String title,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByF_T

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

findByF_T_First

public 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 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 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 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUuid

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

removeByCompanyId

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

removeByFolderId

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

removeByF_N

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

removeByF_T

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

removeAll

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

countByUuid

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

countByCompanyId

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

countByFolderId

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

countByF_N

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

countByF_T

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

countAll

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