com.liferay.portal.service.persistence
Class ReleaseUtil
java.lang.Object
com.liferay.portal.service.persistence.ReleaseUtil
public class ReleaseUtil
- extends Object
- See Also:
ReleasePersistence,
ReleasePersistenceImpl- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static void |
cacheResult(List<Release> releases)
|
static void |
cacheResult(Release release)
|
static void |
clearCache()
|
static void |
clearCache(Release release)
|
static int |
countAll()
|
static int |
countByServletContextName(String servletContextName)
|
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static Release |
create(long releaseId)
|
static Release |
fetchByPrimaryKey(long releaseId)
|
static Release |
fetchByServletContextName(String servletContextName)
|
static Release |
fetchByServletContextName(String servletContextName,
boolean retrieveFromCache)
|
static List<Release> |
findAll()
|
static List<Release> |
findAll(int start,
int end)
|
static List<Release> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
static Release |
findByPrimaryKey(long releaseId)
|
static Release |
findByServletContextName(String servletContextName)
|
static List<Release> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<Release> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<Release> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static ReleasePersistence |
getPersistence()
|
static Release |
remove(long releaseId)
|
static Release |
remove(Release release)
|
static void |
removeAll()
|
static void |
removeByServletContextName(String servletContextName)
|
void |
setPersistence(ReleasePersistence persistence)
|
static Release |
update(Release release,
boolean merge)
|
static Release |
update(Release release,
boolean merge,
ServiceContext serviceContext)
|
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 |
ReleaseUtil
public ReleaseUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(Release release)
- See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
countWithDynamicQuery
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static List<Release> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static List<Release> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
findWithDynamicQuery
public static List<Release> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
remove
public static Release remove(Release release)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static Release update(Release release,
boolean merge)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
update
public static Release update(Release release,
boolean merge,
ServiceContext serviceContext)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
cacheResult
public static void cacheResult(Release release)
cacheResult
public static void cacheResult(List<Release> releases)
create
public static Release create(long releaseId)
remove
public static Release remove(long releaseId)
throws NoSuchReleaseException,
SystemException
- Throws:
NoSuchReleaseException
SystemException
updateImpl
public static Release updateImpl(Release release,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
public static Release findByPrimaryKey(long releaseId)
throws NoSuchReleaseException,
SystemException
- Throws:
NoSuchReleaseException
SystemException
fetchByPrimaryKey
public static Release fetchByPrimaryKey(long releaseId)
throws SystemException
- Throws:
SystemException
findByServletContextName
public static Release findByServletContextName(String servletContextName)
throws NoSuchReleaseException,
SystemException
- Throws:
NoSuchReleaseException
SystemException
fetchByServletContextName
public static Release fetchByServletContextName(String servletContextName)
throws SystemException
- Throws:
SystemException
fetchByServletContextName
public static Release fetchByServletContextName(String servletContextName,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findAll
public static List<Release> findAll()
throws SystemException
- Throws:
SystemException
findAll
public static List<Release> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
public static List<Release> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByServletContextName
public static void removeByServletContextName(String servletContextName)
throws NoSuchReleaseException,
SystemException
- Throws:
NoSuchReleaseException
SystemException
removeAll
public static void removeAll()
throws SystemException
- Throws:
SystemException
countByServletContextName
public static int countByServletContextName(String servletContextName)
throws SystemException
- Throws:
SystemException
countAll
public static int countAll()
throws SystemException
- Throws:
SystemException
getPersistence
public static ReleasePersistence getPersistence()
setPersistence
public void setPersistence(ReleasePersistence persistence)