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 countByG_F_N_S(long groupId, long folderId, java.lang.String name, int status)
           
static int countByG_F_N_V(long groupId, long folderId, java.lang.String name, java.lang.String version)
           
static int countByG_F_N(long groupId, long folderId, java.lang.String name)
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static DLFileVersion create(long fileVersionId)
           
static DLFileVersion fetchByG_F_N_V(long groupId, long folderId, java.lang.String name, java.lang.String version)
           
static DLFileVersion fetchByG_F_N_V(long groupId, long folderId, java.lang.String name, java.lang.String 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, OrderByComparator orderByComparator)
           
static DLFileVersion findByG_F_N_First(long groupId, long folderId, java.lang.String name, OrderByComparator orderByComparator)
           
static DLFileVersion findByG_F_N_Last(long groupId, long folderId, java.lang.String name, OrderByComparator orderByComparator)
           
static DLFileVersion[] findByG_F_N_PrevAndNext(long fileVersionId, long groupId, long folderId, java.lang.String name, OrderByComparator orderByComparator)
           
static DLFileVersion findByG_F_N_S_First(long groupId, long folderId, java.lang.String name, int status, OrderByComparator orderByComparator)
           
static DLFileVersion findByG_F_N_S_Last(long groupId, long folderId, java.lang.String name, int status, OrderByComparator orderByComparator)
           
static DLFileVersion[] findByG_F_N_S_PrevAndNext(long fileVersionId, long groupId, long folderId, java.lang.String name, int status, OrderByComparator orderByComparator)
           
static java.util.List<DLFileVersion> findByG_F_N_S(long groupId, long folderId, java.lang.String name, int status)
           
static java.util.List<DLFileVersion> findByG_F_N_S(long groupId, long folderId, java.lang.String name, int status, int start, int end)
           
static java.util.List<DLFileVersion> findByG_F_N_S(long groupId, long folderId, java.lang.String name, int status, int start, int end, OrderByComparator orderByComparator)
           
static DLFileVersion findByG_F_N_V(long groupId, long folderId, java.lang.String name, java.lang.String version)
           
static java.util.List<DLFileVersion> findByG_F_N(long groupId, long folderId, java.lang.String name)
           
static java.util.List<DLFileVersion> findByG_F_N(long groupId, long folderId, java.lang.String name, int start, int end)
           
static java.util.List<DLFileVersion> findByG_F_N(long groupId, long folderId, java.lang.String name, int start, int end, OrderByComparator orderByComparator)
           
static DLFileVersion findByPrimaryKey(long fileVersionId)
           
static java.util.List<DLFileVersion> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List<DLFileVersion> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static DLFileVersionPersistence getPersistence()
           
static DLFileVersion remove(DLFileVersion dlFileVersion)
           
static DLFileVersion remove(long fileVersionId)
           
static void removeAll()
           
static void removeByG_F_N_S(long groupId, long folderId, java.lang.String name, int status)
           
static void removeByG_F_N_V(long groupId, long folderId, java.lang.String name, java.lang.String version)
           
static void removeByG_F_N(long groupId, long folderId, java.lang.String name)
           
 void setPersistence(DLFileVersionPersistence persistence)
           
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 long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<DLFileVersion> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                                          throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<DLFileVersion> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                                 int start,
                                                                 int end)
                                                          throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

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

update

public static DLFileVersion update(DLFileVersion dlFileVersion,
                                   boolean merge)
                            throws SystemException
Throws:
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 SystemException,
                                   NoSuchFileVersionException
Throws:
SystemException
NoSuchFileVersionException

updateImpl

public static DLFileVersion updateImpl(DLFileVersion dlFileVersion,
                                       boolean merge)
                                throws SystemException
Throws:
SystemException

findByPrimaryKey

public static DLFileVersion findByPrimaryKey(long fileVersionId)
                                      throws SystemException,
                                             NoSuchFileVersionException
Throws:
SystemException
NoSuchFileVersionException

fetchByPrimaryKey

public static DLFileVersion fetchByPrimaryKey(long fileVersionId)
                                       throws SystemException
Throws:
SystemException

findByG_F_N

public static java.util.List<DLFileVersion> findByG_F_N(long groupId,
                                                        long folderId,
                                                        java.lang.String name)
                                                 throws SystemException
Throws:
SystemException

findByG_F_N

public static java.util.List<DLFileVersion> findByG_F_N(long groupId,
                                                        long folderId,
                                                        java.lang.String name,
                                                        int start,
                                                        int end)
                                                 throws SystemException
Throws:
SystemException

findByG_F_N

public static java.util.List<DLFileVersion> findByG_F_N(long groupId,
                                                        long folderId,
                                                        java.lang.String name,
                                                        int start,
                                                        int end,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException
Throws:
SystemException

findByG_F_N_First

public static DLFileVersion findByG_F_N_First(long groupId,
                                              long folderId,
                                              java.lang.String name,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchFileVersionException
Throws:
SystemException
NoSuchFileVersionException

findByG_F_N_Last

public static DLFileVersion findByG_F_N_Last(long groupId,
                                             long folderId,
                                             java.lang.String name,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchFileVersionException
Throws:
SystemException
NoSuchFileVersionException

findByG_F_N_PrevAndNext

public static DLFileVersion[] findByG_F_N_PrevAndNext(long fileVersionId,
                                                      long groupId,
                                                      long folderId,
                                                      java.lang.String name,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchFileVersionException
Throws:
SystemException
NoSuchFileVersionException

findByG_F_N_V

public static DLFileVersion findByG_F_N_V(long groupId,
                                          long folderId,
                                          java.lang.String name,
                                          java.lang.String version)
                                   throws SystemException,
                                          NoSuchFileVersionException
Throws:
SystemException
NoSuchFileVersionException

fetchByG_F_N_V

public static DLFileVersion fetchByG_F_N_V(long groupId,
                                           long folderId,
                                           java.lang.String name,
                                           java.lang.String version)
                                    throws SystemException
Throws:
SystemException

fetchByG_F_N_V

public static DLFileVersion fetchByG_F_N_V(long groupId,
                                           long folderId,
                                           java.lang.String name,
                                           java.lang.String version,
                                           boolean retrieveFromCache)
                                    throws SystemException
Throws:
SystemException

findByG_F_N_S

public static java.util.List<DLFileVersion> findByG_F_N_S(long groupId,
                                                          long folderId,
                                                          java.lang.String name,
                                                          int status)
                                                   throws SystemException
Throws:
SystemException

findByG_F_N_S

public static java.util.List<DLFileVersion> findByG_F_N_S(long groupId,
                                                          long folderId,
                                                          java.lang.String name,
                                                          int status,
                                                          int start,
                                                          int end)
                                                   throws SystemException
Throws:
SystemException

findByG_F_N_S

public static java.util.List<DLFileVersion> findByG_F_N_S(long groupId,
                                                          long folderId,
                                                          java.lang.String name,
                                                          int status,
                                                          int start,
                                                          int end,
                                                          OrderByComparator orderByComparator)
                                                   throws SystemException
Throws:
SystemException

findByG_F_N_S_First

public static DLFileVersion findByG_F_N_S_First(long groupId,
                                                long folderId,
                                                java.lang.String name,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchFileVersionException
Throws:
SystemException
NoSuchFileVersionException

findByG_F_N_S_Last

public static DLFileVersion findByG_F_N_S_Last(long groupId,
                                               long folderId,
                                               java.lang.String name,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchFileVersionException
Throws:
SystemException
NoSuchFileVersionException

findByG_F_N_S_PrevAndNext

public static DLFileVersion[] findByG_F_N_S_PrevAndNext(long fileVersionId,
                                                        long groupId,
                                                        long folderId,
                                                        java.lang.String name,
                                                        int status,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchFileVersionException
Throws:
SystemException
NoSuchFileVersionException

findAll

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

findAll

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

findAll

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

removeByG_F_N

public static void removeByG_F_N(long groupId,
                                 long folderId,
                                 java.lang.String name)
                          throws SystemException
Throws:
SystemException

removeByG_F_N_V

public static void removeByG_F_N_V(long groupId,
                                   long folderId,
                                   java.lang.String name,
                                   java.lang.String version)
                            throws SystemException,
                                   NoSuchFileVersionException
Throws:
SystemException
NoSuchFileVersionException

removeByG_F_N_S

public static void removeByG_F_N_S(long groupId,
                                   long folderId,
                                   java.lang.String name,
                                   int status)
                            throws SystemException
Throws:
SystemException

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countByG_F_N

public static int countByG_F_N(long groupId,
                               long folderId,
                               java.lang.String name)
                        throws SystemException
Throws:
SystemException

countByG_F_N_V

public static int countByG_F_N_V(long groupId,
                                 long folderId,
                                 java.lang.String name,
                                 java.lang.String version)
                          throws SystemException
Throws:
SystemException

countByG_F_N_S

public static int countByG_F_N_S(long groupId,
                                 long folderId,
                                 java.lang.String name,
                                 int status)
                          throws SystemException
Throws:
SystemException

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getPersistence

public static DLFileVersionPersistence getPersistence()

setPersistence

public void setPersistence(DLFileVersionPersistence persistence)