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