1
19
20 package com.liferay.portlet.softwarecatalog.service.persistence;
21
22 import com.liferay.portal.service.persistence.BasePersistence;
23
24
30 public interface SCFrameworkVersionPersistence extends BasePersistence {
31 public void cacheResult(
32 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion);
33
34 public void cacheResult(
35 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions);
36
37 public void clearCache();
38
39 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion create(
40 long frameworkVersionId);
41
42 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(
43 long frameworkVersionId)
44 throws com.liferay.portal.SystemException,
45 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
46
47 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(
48 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
49 throws com.liferay.portal.SystemException;
50
51
54 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion update(
55 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
56 throws com.liferay.portal.SystemException;
57
58
71 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion update(
72 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
73 boolean merge) throws com.liferay.portal.SystemException;
74
75 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateImpl(
76 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
77 boolean merge) throws com.liferay.portal.SystemException;
78
79 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByPrimaryKey(
80 long frameworkVersionId)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
83
84 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByPrimaryKey(
85 long frameworkVersionId) throws com.liferay.portal.SystemException;
86
87 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
88 long groupId) throws com.liferay.portal.SystemException;
89
90 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
91 long groupId, int start, int end)
92 throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByGroupId(
95 long groupId, int start, int end,
96 com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException;
98
99 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_First(
100 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException,
102 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
103
104 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_Last(
105 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException,
107 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
108
109 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByGroupId_PrevAndNext(
110 long frameworkVersionId, long groupId,
111 com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
114
115 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
116 long companyId) throws com.liferay.portal.SystemException;
117
118 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
119 long companyId, int start, int end)
120 throws com.liferay.portal.SystemException;
121
122 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByCompanyId(
123 long companyId, int start, int end,
124 com.liferay.portal.kernel.util.OrderByComparator obc)
125 throws com.liferay.portal.SystemException;
126
127 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_First(
128 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
129 throws com.liferay.portal.SystemException,
130 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
131
132 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_Last(
133 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.SystemException,
135 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
136
137 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByCompanyId_PrevAndNext(
138 long frameworkVersionId, long companyId,
139 com.liferay.portal.kernel.util.OrderByComparator obc)
140 throws com.liferay.portal.SystemException,
141 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
142
143 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
144 long groupId, boolean active) throws com.liferay.portal.SystemException;
145
146 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
147 long groupId, boolean active, int start, int end)
148 throws com.liferay.portal.SystemException;
149
150 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findByG_A(
151 long groupId, boolean active, int start, int end,
152 com.liferay.portal.kernel.util.OrderByComparator obc)
153 throws com.liferay.portal.SystemException;
154
155 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_First(
156 long groupId, boolean active,
157 com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.SystemException,
159 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
160
161 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_Last(
162 long groupId, boolean active,
163 com.liferay.portal.kernel.util.OrderByComparator obc)
164 throws com.liferay.portal.SystemException,
165 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
166
167 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByG_A_PrevAndNext(
168 long frameworkVersionId, long groupId, boolean active,
169 com.liferay.portal.kernel.util.OrderByComparator obc)
170 throws com.liferay.portal.SystemException,
171 com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
172
173 public java.util.List<Object> findWithDynamicQuery(
174 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
175 throws com.liferay.portal.SystemException;
176
177 public java.util.List<Object> findWithDynamicQuery(
178 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
179 int end) throws com.liferay.portal.SystemException;
180
181 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll()
182 throws com.liferay.portal.SystemException;
183
184 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
185 int start, int end) throws com.liferay.portal.SystemException;
186
187 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> findAll(
188 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
189 throws com.liferay.portal.SystemException;
190
191 public void removeByGroupId(long groupId)
192 throws com.liferay.portal.SystemException;
193
194 public void removeByCompanyId(long companyId)
195 throws com.liferay.portal.SystemException;
196
197 public void removeByG_A(long groupId, boolean active)
198 throws com.liferay.portal.SystemException;
199
200 public void removeAll() throws com.liferay.portal.SystemException;
201
202 public int countByGroupId(long groupId)
203 throws com.liferay.portal.SystemException;
204
205 public int countByCompanyId(long companyId)
206 throws com.liferay.portal.SystemException;
207
208 public int countByG_A(long groupId, boolean active)
209 throws com.liferay.portal.SystemException;
210
211 public int countAll() throws com.liferay.portal.SystemException;
212
213 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
214 long pk) throws com.liferay.portal.SystemException;
215
216 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
217 long pk, int start, int end) throws com.liferay.portal.SystemException;
218
219 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
220 long pk, int start, int end,
221 com.liferay.portal.kernel.util.OrderByComparator obc)
222 throws com.liferay.portal.SystemException;
223
224 public int getSCProductVersionsSize(long pk)
225 throws com.liferay.portal.SystemException;
226
227 public boolean containsSCProductVersion(long pk, long scProductVersionPK)
228 throws com.liferay.portal.SystemException;
229
230 public boolean containsSCProductVersions(long pk)
231 throws com.liferay.portal.SystemException;
232
233 public void addSCProductVersion(long pk, long scProductVersionPK)
234 throws com.liferay.portal.SystemException;
235
236 public void addSCProductVersion(long pk,
237 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
238 throws com.liferay.portal.SystemException;
239
240 public void addSCProductVersions(long pk, long[] scProductVersionPKs)
241 throws com.liferay.portal.SystemException;
242
243 public void addSCProductVersions(long pk,
244 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
245 throws com.liferay.portal.SystemException;
246
247 public void clearSCProductVersions(long pk)
248 throws com.liferay.portal.SystemException;
249
250 public void removeSCProductVersion(long pk, long scProductVersionPK)
251 throws com.liferay.portal.SystemException;
252
253 public void removeSCProductVersion(long pk,
254 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
255 throws com.liferay.portal.SystemException;
256
257 public void removeSCProductVersions(long pk, long[] scProductVersionPKs)
258 throws com.liferay.portal.SystemException;
259
260 public void removeSCProductVersions(long pk,
261 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
262 throws com.liferay.portal.SystemException;
263
264 public void setSCProductVersions(long pk, long[] scProductVersionPKs)
265 throws com.liferay.portal.SystemException;
266
267 public void setSCProductVersions(long pk,
268 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions)
269 throws com.liferay.portal.SystemException;
270 }