001
014
015 package com.liferay.portal.service.persistence;
016
017 import com.liferay.portal.model.Release;
018
019
025 public interface ReleasePersistence extends BasePersistence<Release> {
026 public void cacheResult(com.liferay.portal.model.Release release);
027
028 public void cacheResult(
029 java.util.List<com.liferay.portal.model.Release> releases);
030
031 public com.liferay.portal.model.Release create(long releaseId);
032
033 public com.liferay.portal.model.Release remove(long releaseId)
034 throws com.liferay.portal.NoSuchReleaseException,
035 com.liferay.portal.kernel.exception.SystemException;
036
037 public com.liferay.portal.model.Release updateImpl(
038 com.liferay.portal.model.Release release, boolean merge)
039 throws com.liferay.portal.kernel.exception.SystemException;
040
041 public com.liferay.portal.model.Release findByPrimaryKey(long releaseId)
042 throws com.liferay.portal.NoSuchReleaseException,
043 com.liferay.portal.kernel.exception.SystemException;
044
045 public com.liferay.portal.model.Release fetchByPrimaryKey(long releaseId)
046 throws com.liferay.portal.kernel.exception.SystemException;
047
048 public com.liferay.portal.model.Release findByServletContextName(
049 java.lang.String servletContextName)
050 throws com.liferay.portal.NoSuchReleaseException,
051 com.liferay.portal.kernel.exception.SystemException;
052
053 public com.liferay.portal.model.Release fetchByServletContextName(
054 java.lang.String servletContextName)
055 throws com.liferay.portal.kernel.exception.SystemException;
056
057 public com.liferay.portal.model.Release fetchByServletContextName(
058 java.lang.String servletContextName, boolean retrieveFromCache)
059 throws com.liferay.portal.kernel.exception.SystemException;
060
061 public java.util.List<com.liferay.portal.model.Release> findAll()
062 throws com.liferay.portal.kernel.exception.SystemException;
063
064 public java.util.List<com.liferay.portal.model.Release> findAll(int start,
065 int end) throws com.liferay.portal.kernel.exception.SystemException;
066
067 public java.util.List<com.liferay.portal.model.Release> findAll(int start,
068 int end,
069 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
070 throws com.liferay.portal.kernel.exception.SystemException;
071
072 public void removeByServletContextName(java.lang.String servletContextName)
073 throws com.liferay.portal.NoSuchReleaseException,
074 com.liferay.portal.kernel.exception.SystemException;
075
076 public void removeAll()
077 throws com.liferay.portal.kernel.exception.SystemException;
078
079 public int countByServletContextName(java.lang.String servletContextName)
080 throws com.liferay.portal.kernel.exception.SystemException;
081
082 public int countAll()
083 throws com.liferay.portal.kernel.exception.SystemException;
084 }