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