1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.model.Release;
18
19
32 public interface ReleasePersistence extends BasePersistence<Release> {
33 public void cacheResult(com.liferay.portal.model.Release release);
34
35 public void cacheResult(
36 java.util.List<com.liferay.portal.model.Release> releases);
37
38 public com.liferay.portal.model.Release create(long releaseId);
39
40 public com.liferay.portal.model.Release remove(long releaseId)
41 throws com.liferay.portal.NoSuchReleaseException,
42 com.liferay.portal.kernel.exception.SystemException;
43
44 public com.liferay.portal.model.Release updateImpl(
45 com.liferay.portal.model.Release release, boolean merge)
46 throws com.liferay.portal.kernel.exception.SystemException;
47
48 public com.liferay.portal.model.Release findByPrimaryKey(long releaseId)
49 throws com.liferay.portal.NoSuchReleaseException,
50 com.liferay.portal.kernel.exception.SystemException;
51
52 public com.liferay.portal.model.Release fetchByPrimaryKey(long releaseId)
53 throws com.liferay.portal.kernel.exception.SystemException;
54
55 public com.liferay.portal.model.Release findByServletContextName(
56 java.lang.String servletContextName)
57 throws com.liferay.portal.NoSuchReleaseException,
58 com.liferay.portal.kernel.exception.SystemException;
59
60 public com.liferay.portal.model.Release fetchByServletContextName(
61 java.lang.String servletContextName)
62 throws com.liferay.portal.kernel.exception.SystemException;
63
64 public com.liferay.portal.model.Release fetchByServletContextName(
65 java.lang.String servletContextName, boolean retrieveFromCache)
66 throws com.liferay.portal.kernel.exception.SystemException;
67
68 public java.util.List<com.liferay.portal.model.Release> findAll()
69 throws com.liferay.portal.kernel.exception.SystemException;
70
71 public java.util.List<com.liferay.portal.model.Release> findAll(int start,
72 int end) throws com.liferay.portal.kernel.exception.SystemException;
73
74 public java.util.List<com.liferay.portal.model.Release> findAll(int start,
75 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
76 throws com.liferay.portal.kernel.exception.SystemException;
77
78 public void removeByServletContextName(java.lang.String servletContextName)
79 throws com.liferay.portal.NoSuchReleaseException,
80 com.liferay.portal.kernel.exception.SystemException;
81
82 public void removeAll()
83 throws com.liferay.portal.kernel.exception.SystemException;
84
85 public int countByServletContextName(java.lang.String servletContextName)
86 throws com.liferay.portal.kernel.exception.SystemException;
87
88 public int countAll()
89 throws com.liferay.portal.kernel.exception.SystemException;
90 }