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

All Superinterfaces:
BasePersistence<DLFileVersion>

public interface DLFileVersionPersistence
extends BasePersistence<DLFileVersion>

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:
DLFileVersionPersistenceImpl, DLFileVersionUtil
Generated:

Method Summary
 void cacheResult(DLFileVersion dlFileVersion)
           
 void cacheResult(java.util.List<DLFileVersion> dlFileVersions)
           
 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 fetchByF_N_V(long folderId, java.lang.String name, double version, boolean retrieveFromCache)
           
 DLFileVersion fetchByPrimaryKey(long fileVersionId)
           
 java.util.List<DLFileVersion> findAll()
           
 java.util.List<DLFileVersion> findAll(int start, int end)
           
 java.util.List<DLFileVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileVersion findByF_N_First(long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileVersion findByF_N_Last(long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileVersion[] findByF_N_PrevAndNext(long fileVersionId, long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileVersion findByF_N_V(long folderId, java.lang.String name, double version)
           
 java.util.List<DLFileVersion> findByF_N(long folderId, java.lang.String name)
           
 java.util.List<DLFileVersion> findByF_N(long folderId, java.lang.String name, int start, int end)
           
 java.util.List<DLFileVersion> findByF_N(long folderId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 DLFileVersion findByPrimaryKey(long fileVersionId)
           
 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)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 DLFileVersion updateImpl(DLFileVersion dlFileVersion, 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(DLFileVersion dlFileVersion)

cacheResult

void cacheResult(java.util.List<DLFileVersion> dlFileVersions)

create

DLFileVersion create(long fileVersionId)

remove

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

update

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

Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByF_N

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

findByF_N

java.util.List<DLFileVersion> findByF_N(long folderId,
                                        java.lang.String name,
                                        int start,
                                        int end)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByF_N

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

findByF_N_First

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

findByF_N_Last

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

findByF_N_PrevAndNext

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

findByF_N_V

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

fetchByF_N_V

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

fetchByF_N_V

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

findAll

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

findAll

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

findAll

java.util.List<DLFileVersion> findAll(int start,
                                      int end,
                                      com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                      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
Throws:
com.liferay.portal.SystemException

removeByF_N_V

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

removeAll

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

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

countAll

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