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

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

public class DLFileVersionUtil
extends java.lang.Object

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

Constructor Summary
DLFileVersionUtil()
           
 
Method Summary
static void cacheResult(DLFileVersion dlFileVersion)
           
static void cacheResult(java.util.List<DLFileVersion> dlFileVersions)
           
static void clearCache()
           
static void clearCache(DLFileVersion dlFileVersion)
           
static int countAll()
           
static int countByF_N_V(long folderId, java.lang.String name, double version)
           
static int countByF_N(long folderId, java.lang.String name)
           
 int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static DLFileVersion create(long fileVersionId)
           
static DLFileVersion fetchByF_N_V(long folderId, java.lang.String name, double version)
           
static DLFileVersion fetchByF_N_V(long folderId, java.lang.String name, double version, boolean retrieveFromCache)
           
static DLFileVersion fetchByPrimaryKey(long fileVersionId)
           
static java.util.List<DLFileVersion> findAll()
           
static java.util.List<DLFileVersion> findAll(int start, int end)
           
static java.util.List<DLFileVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static DLFileVersion findByF_N_First(long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static DLFileVersion findByF_N_Last(long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static DLFileVersion[] findByF_N_PrevAndNext(long fileVersionId, long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static DLFileVersion findByF_N_V(long folderId, java.lang.String name, double version)
           
static java.util.List<DLFileVersion> findByF_N(long folderId, java.lang.String name)
           
static java.util.List<DLFileVersion> findByF_N(long folderId, java.lang.String name, int start, int end)
           
static java.util.List<DLFileVersion> findByF_N(long folderId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static DLFileVersion findByPrimaryKey(long fileVersionId)
           
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 DLFileVersionPersistence getPersistence()
           
static DLFileVersion remove(DLFileVersion dlFileVersion)
           
static DLFileVersion remove(long fileVersionId)
           
static void removeAll()
           
static void removeByF_N_V(long folderId, java.lang.String name, double version)
           
static void removeByF_N(long folderId, java.lang.String name)
           
 void setPersistence(DLFileVersionPersistence persistence)
           
static DLFileVersion update(DLFileVersion dlFileVersion)
          Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).
static DLFileVersion update(DLFileVersion dlFileVersion, boolean merge)
           
static DLFileVersion updateImpl(DLFileVersion dlFileVersion, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileVersionUtil

public DLFileVersionUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(DLFileVersion dlFileVersion)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(DLFileVersion)

countWithDynamicQuery

public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

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
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

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
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static DLFileVersion remove(DLFileVersion dlFileVersion)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static DLFileVersion update(DLFileVersion dlFileVersion,
                                   boolean merge)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(DLFileVersion dlFileVersion)

cacheResult

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

create

public static DLFileVersion create(long fileVersionId)

remove

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

update

public static DLFileVersion update(DLFileVersion dlFileVersion)
                            throws com.liferay.portal.SystemException
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByF_N

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

findByF_N

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

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

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

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

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

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

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

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

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

findAll

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

findAll

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

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

removeByF_N_V

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

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

public static int countByF_N_V(long folderId,
                               java.lang.String name,
                               double version)
                        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 DLFileVersionPersistence getPersistence()

setPersistence

public void setPersistence(DLFileVersionPersistence persistence)