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.SystemException;
43
44
47 public com.liferay.portal.model.Release update(
48 com.liferay.portal.model.Release release)
49 throws com.liferay.portal.SystemException;
50
51 public com.liferay.portal.model.Release updateImpl(
52 com.liferay.portal.model.Release release, boolean merge)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portal.model.Release findByPrimaryKey(long releaseId)
56 throws com.liferay.portal.NoSuchReleaseException,
57 com.liferay.portal.SystemException;
58
59 public com.liferay.portal.model.Release fetchByPrimaryKey(long releaseId)
60 throws com.liferay.portal.SystemException;
61
62 public com.liferay.portal.model.Release findByServletContextName(
63 java.lang.String servletContextName)
64 throws com.liferay.portal.NoSuchReleaseException,
65 com.liferay.portal.SystemException;
66
67 public com.liferay.portal.model.Release fetchByServletContextName(
68 java.lang.String servletContextName)
69 throws com.liferay.portal.SystemException;
70
71 public com.liferay.portal.model.Release fetchByServletContextName(
72 java.lang.String servletContextName, boolean retrieveFromCache)
73 throws com.liferay.portal.SystemException;
74
75 public java.util.List<com.liferay.portal.model.Release> findAll()
76 throws com.liferay.portal.SystemException;
77
78 public java.util.List<com.liferay.portal.model.Release> findAll(int start,
79 int end) throws com.liferay.portal.SystemException;
80
81 public java.util.List<com.liferay.portal.model.Release> findAll(int start,
82 int end,
83 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
84 throws com.liferay.portal.SystemException;
85
86 public void removeByServletContextName(java.lang.String servletContextName)
87 throws com.liferay.portal.NoSuchReleaseException,
88 com.liferay.portal.SystemException;
89
90 public void removeAll() throws com.liferay.portal.SystemException;
91
92 public int countByServletContextName(java.lang.String servletContextName)
93 throws com.liferay.portal.SystemException;
94
95 public int countAll() throws com.liferay.portal.SystemException;
96 }