com.liferay.portal.service.persistence
Interface ReleasePersistence


public interface ReleasePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 Release create(long releaseId)
           
 Release fetchByPrimaryKey(long releaseId)
           
 java.util.List<Release> findAll()
           
 java.util.List<Release> findAll(int begin, int end)
           
 java.util.List<Release> findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Release findByPrimaryKey(long releaseId)
           
 java.util.List<Release> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<Release> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 Release remove(long releaseId)
           
 Release remove(Release release)
           
 void removeAll()
           
 Release update(Release release)
          Deprecated. Use update(Release release, boolean merge).
 Release update(Release release, boolean merge)
          Add, update, or merge, the entity.
 Release updateImpl(Release release, boolean merge)
           
 

Method Detail

create

Release create(long releaseId)

remove

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

remove

Release remove(Release release)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

Release update(Release release)
               throws com.liferay.portal.SystemException
Deprecated. Use update(Release release, boolean merge).

Throws:
com.liferay.portal.SystemException

update

Release update(Release release,
               boolean merge)
               throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
release - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when release is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

Release updateImpl(Release release,
                   boolean merge)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

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

findWithDynamicQuery

java.util.List<Release> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<Release> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                             int begin,
                                             int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

findAll

java.util.List<Release> findAll(int begin,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countAll

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