com.liferay.portal.service.persistence
Class ReleaseUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.ReleaseUtil

public class ReleaseUtil
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:
ReleasePersistence, ReleasePersistenceImpl
Generated:

Constructor Summary
ReleaseUtil()
           
 
Method Summary
static void cacheResult(java.util.List<Release> releases)
           
static void cacheResult(Release release)
           
static void clearCache()
           
static void clearCache(Release release)
           
static int countAll()
           
static int countByServletContextName(java.lang.String servletContextName)
           
 int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static Release create(long releaseId)
           
static Release fetchByPrimaryKey(long releaseId)
           
static Release fetchByServletContextName(java.lang.String servletContextName)
           
static Release fetchByServletContextName(java.lang.String servletContextName, boolean retrieveFromCache)
           
static java.util.List<Release> findAll()
           
static java.util.List<Release> findAll(int start, int end)
           
static java.util.List<Release> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static Release findByPrimaryKey(long releaseId)
           
static Release findByServletContextName(java.lang.String servletContextName)
           
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 ReleasePersistence getPersistence()
           
static Release remove(long releaseId)
           
static Release remove(Release release)
           
static void removeAll()
           
static void removeByServletContextName(java.lang.String servletContextName)
           
 void setPersistence(ReleasePersistence persistence)
           
static Release update(Release release)
          Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).
static Release update(Release release, boolean merge)
           
static Release updateImpl(Release release, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReleaseUtil

public ReleaseUtil()
Method Detail

clearCache

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

clearCache

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

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 Release remove(Release release)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static Release update(Release release,
                             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(Release release)

cacheResult

public static void cacheResult(java.util.List<Release> releases)

create

public static Release create(long releaseId)

remove

public static Release remove(long releaseId)
                      throws NoSuchReleaseException,
                             com.liferay.portal.SystemException
Throws:
NoSuchReleaseException
com.liferay.portal.SystemException

update

public static Release update(Release release)
                      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 Release updateImpl(Release release,
                                 boolean merge)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public static Release findByPrimaryKey(long releaseId)
                                throws NoSuchReleaseException,
                                       com.liferay.portal.SystemException
Throws:
NoSuchReleaseException
com.liferay.portal.SystemException

fetchByPrimaryKey

public static Release fetchByPrimaryKey(long releaseId)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByServletContextName

public static Release findByServletContextName(java.lang.String servletContextName)
                                        throws NoSuchReleaseException,
                                               com.liferay.portal.SystemException
Throws:
NoSuchReleaseException
com.liferay.portal.SystemException

fetchByServletContextName

public static Release fetchByServletContextName(java.lang.String servletContextName)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByServletContextName

public static Release fetchByServletContextName(java.lang.String servletContextName,
                                                boolean retrieveFromCache)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

findAll

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

removeByServletContextName

public static void removeByServletContextName(java.lang.String servletContextName)
                                       throws NoSuchReleaseException,
                                              com.liferay.portal.SystemException
Throws:
NoSuchReleaseException
com.liferay.portal.SystemException

removeAll

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

countByServletContextName

public static int countByServletContextName(java.lang.String servletContextName)
                                     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 ReleasePersistence getPersistence()

setPersistence

public void setPersistence(ReleasePersistence persistence)