1
22
23 package com.liferay.portlet.softwarecatalog.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface SCProductEntryPersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries);
46
47 public void clearCache();
48
49 public com.liferay.portlet.softwarecatalog.model.SCProductEntry create(
50 long productEntryId);
51
52 public com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(
53 long productEntryId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
56
57 public com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(
58 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
59 throws com.liferay.portal.SystemException;
60
61
64 public com.liferay.portlet.softwarecatalog.model.SCProductEntry update(
65 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
66 throws com.liferay.portal.SystemException;
67
68
80 public com.liferay.portlet.softwarecatalog.model.SCProductEntry update(
81 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
82 boolean merge) throws com.liferay.portal.SystemException;
83
84 public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateImpl(
85 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
86 boolean merge) throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByPrimaryKey(
89 long productEntryId)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
92
93 public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByPrimaryKey(
94 long productEntryId) throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(
97 long groupId) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(
100 long groupId, int start, int end)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(
104 long groupId, int start, int end,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException;
107
108 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_First(
109 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
112
113 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_Last(
114 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
117
118 public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByGroupId_PrevAndNext(
119 long productEntryId, long groupId,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
123
124 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(
125 long companyId) throws com.liferay.portal.SystemException;
126
127 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(
128 long companyId, int start, int end)
129 throws com.liferay.portal.SystemException;
130
131 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(
132 long companyId, int start, int end,
133 com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.SystemException;
135
136 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_First(
137 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.SystemException,
139 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
140
141 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_Last(
142 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
143 throws com.liferay.portal.SystemException,
144 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
145
146 public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByCompanyId_PrevAndNext(
147 long productEntryId, long companyId,
148 com.liferay.portal.kernel.util.OrderByComparator obc)
149 throws com.liferay.portal.SystemException,
150 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
151
152 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(
153 long groupId, long userId) throws com.liferay.portal.SystemException;
154
155 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(
156 long groupId, long userId, int start, int end)
157 throws com.liferay.portal.SystemException;
158
159 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(
160 long groupId, long userId, int start, int end,
161 com.liferay.portal.kernel.util.OrderByComparator obc)
162 throws com.liferay.portal.SystemException;
163
164 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_First(
165 long groupId, long userId,
166 com.liferay.portal.kernel.util.OrderByComparator obc)
167 throws com.liferay.portal.SystemException,
168 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
169
170 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_Last(
171 long groupId, long userId,
172 com.liferay.portal.kernel.util.OrderByComparator obc)
173 throws com.liferay.portal.SystemException,
174 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
175
176 public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByG_U_PrevAndNext(
177 long productEntryId, long groupId, long userId,
178 com.liferay.portal.kernel.util.OrderByComparator obc)
179 throws com.liferay.portal.SystemException,
180 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
181
182 public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByRG_RA(
183 java.lang.String repoGroupId, java.lang.String repoArtifactId)
184 throws com.liferay.portal.SystemException,
185 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
186
187 public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(
188 java.lang.String repoGroupId, java.lang.String repoArtifactId)
189 throws com.liferay.portal.SystemException;
190
191 public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(
192 java.lang.String repoGroupId, java.lang.String repoArtifactId,
193 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
194
195 public java.util.List<Object> findWithDynamicQuery(
196 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
197 throws com.liferay.portal.SystemException;
198
199 public java.util.List<Object> findWithDynamicQuery(
200 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
201 int end) throws com.liferay.portal.SystemException;
202
203 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll()
204 throws com.liferay.portal.SystemException;
205
206 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(
207 int start, int end) throws com.liferay.portal.SystemException;
208
209 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(
210 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
211 throws com.liferay.portal.SystemException;
212
213 public void removeByGroupId(long groupId)
214 throws com.liferay.portal.SystemException;
215
216 public void removeByCompanyId(long companyId)
217 throws com.liferay.portal.SystemException;
218
219 public void removeByG_U(long groupId, long userId)
220 throws com.liferay.portal.SystemException;
221
222 public void removeByRG_RA(java.lang.String repoGroupId,
223 java.lang.String repoArtifactId)
224 throws com.liferay.portal.SystemException,
225 com.liferay.portlet.softwarecatalog.NoSuchProductEntryException;
226
227 public void removeAll() throws com.liferay.portal.SystemException;
228
229 public int countByGroupId(long groupId)
230 throws com.liferay.portal.SystemException;
231
232 public int countByCompanyId(long companyId)
233 throws com.liferay.portal.SystemException;
234
235 public int countByG_U(long groupId, long userId)
236 throws com.liferay.portal.SystemException;
237
238 public int countByRG_RA(java.lang.String repoGroupId,
239 java.lang.String repoArtifactId)
240 throws com.liferay.portal.SystemException;
241
242 public int countAll() throws com.liferay.portal.SystemException;
243
244 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
245 long pk) throws com.liferay.portal.SystemException;
246
247 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
248 long pk, int start, int end) throws com.liferay.portal.SystemException;
249
250 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
251 long pk, int start, int end,
252 com.liferay.portal.kernel.util.OrderByComparator obc)
253 throws com.liferay.portal.SystemException;
254
255 public int getSCLicensesSize(long pk)
256 throws com.liferay.portal.SystemException;
257
258 public boolean containsSCLicense(long pk, long scLicensePK)
259 throws com.liferay.portal.SystemException;
260
261 public boolean containsSCLicenses(long pk)
262 throws com.liferay.portal.SystemException;
263
264 public void addSCLicense(long pk, long scLicensePK)
265 throws com.liferay.portal.SystemException;
266
267 public void addSCLicense(long pk,
268 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
269 throws com.liferay.portal.SystemException;
270
271 public void addSCLicenses(long pk, long[] scLicensePKs)
272 throws com.liferay.portal.SystemException;
273
274 public void addSCLicenses(long pk,
275 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
276 throws com.liferay.portal.SystemException;
277
278 public void clearSCLicenses(long pk)
279 throws com.liferay.portal.SystemException;
280
281 public void removeSCLicense(long pk, long scLicensePK)
282 throws com.liferay.portal.SystemException;
283
284 public void removeSCLicense(long pk,
285 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
286 throws com.liferay.portal.SystemException;
287
288 public void removeSCLicenses(long pk, long[] scLicensePKs)
289 throws com.liferay.portal.SystemException;
290
291 public void removeSCLicenses(long pk,
292 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
293 throws com.liferay.portal.SystemException;
294
295 public void setSCLicenses(long pk, long[] scLicensePKs)
296 throws com.liferay.portal.SystemException;
297
298 public void setSCLicenses(long pk,
299 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
300 throws com.liferay.portal.SystemException;
301 }