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


public interface DLFileVersionPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByF_N_V(long folderId, java.lang.String name, double version)
           
 int countByF_N(long folderId, java.lang.String name)
           
 DLFileVersion create(long fileVersionId)
           
 DLFileVersion fetchByF_N_V(long folderId, java.lang.String name, double version)
           
 DLFileVersion fetchByPrimaryKey(long fileVersionId)
           
 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)
           
 DLFileVersion findByF_N_First(long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileVersion findByF_N_Last(long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileVersion[] findByF_N_PrevAndNext(long fileVersionId, long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileVersion findByF_N_V(long folderId, java.lang.String name, double version)
           
 java.util.List findByF_N(long folderId, java.lang.String name)
           
 java.util.List findByF_N(long folderId, java.lang.String name, int begin, int end)
           
 java.util.List findByF_N(long folderId, java.lang.String name, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 DLFileVersion findByPrimaryKey(long fileVersionId)
           
 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)
           
 DLFileVersion remove(DLFileVersion dlFileVersion)
           
 DLFileVersion remove(long fileVersionId)
           
 void removeAll()
           
 void removeByF_N_V(long folderId, java.lang.String name, double version)
           
 void removeByF_N(long folderId, java.lang.String name)
           
 DLFileVersion update(DLFileVersion dlFileVersion)
           
 DLFileVersion update(DLFileVersion dlFileVersion, boolean merge)
           
 DLFileVersion updateImpl(DLFileVersion dlFileVersion, boolean merge)
           
 

Method Detail

create

public DLFileVersion create(long fileVersionId)

remove

public DLFileVersion remove(long fileVersionId)
                     throws NoSuchFileVersionException,
                            com.liferay.portal.SystemException
Throws:
NoSuchFileVersionException
com.liferay.portal.SystemException

remove

public DLFileVersion remove(DLFileVersion dlFileVersion)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public DLFileVersion update(DLFileVersion dlFileVersion)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public DLFileVersion update(DLFileVersion dlFileVersion,
                            boolean merge)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public DLFileVersion updateImpl(DLFileVersion dlFileVersion,
                                boolean merge)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public DLFileVersion findByPrimaryKey(long fileVersionId)
                               throws NoSuchFileVersionException,
                                      com.liferay.portal.SystemException
Throws:
NoSuchFileVersionException
com.liferay.portal.SystemException

fetchByPrimaryKey

public DLFileVersion fetchByPrimaryKey(long fileVersionId)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByF_N

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

findByF_N

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

findByF_N

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

findByF_N_First

public DLFileVersion findByF_N_First(long folderId,
                                     java.lang.String name,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws NoSuchFileVersionException,
                                     com.liferay.portal.SystemException
Throws:
NoSuchFileVersionException
com.liferay.portal.SystemException

findByF_N_Last

public DLFileVersion findByF_N_Last(long folderId,
                                    java.lang.String name,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws NoSuchFileVersionException,
                                    com.liferay.portal.SystemException
Throws:
NoSuchFileVersionException
com.liferay.portal.SystemException

findByF_N_PrevAndNext

public DLFileVersion[] findByF_N_PrevAndNext(long fileVersionId,
                                             long folderId,
                                             java.lang.String name,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws NoSuchFileVersionException,
                                             com.liferay.portal.SystemException
Throws:
NoSuchFileVersionException
com.liferay.portal.SystemException

findByF_N_V

public DLFileVersion findByF_N_V(long folderId,
                                 java.lang.String name,
                                 double version)
                          throws NoSuchFileVersionException,
                                 com.liferay.portal.SystemException
Throws:
NoSuchFileVersionException
com.liferay.portal.SystemException

fetchByF_N_V

public DLFileVersion fetchByF_N_V(long folderId,
                                  java.lang.String name,
                                  double version)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

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

removeByF_N

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

removeByF_N_V

public void removeByF_N_V(long folderId,
                          java.lang.String name,
                          double version)
                   throws NoSuchFileVersionException,
                          com.liferay.portal.SystemException
Throws:
NoSuchFileVersionException
com.liferay.portal.SystemException

removeAll

public void removeAll()
               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_N_V

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

countAll

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