1
22
23 package com.liferay.portlet.softwarecatalog.service.persistence;
24
25
26
39 public class SCLicenseUtil {
40 public static void cacheResult(
41 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense) {
42 getPersistence().cacheResult(scLicense);
43 }
44
45 public static void cacheResult(
46 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses) {
47 getPersistence().cacheResult(scLicenses);
48 }
49
50 public static void clearCache() {
51 getPersistence().clearCache();
52 }
53
54 public static com.liferay.portlet.softwarecatalog.model.SCLicense create(
55 long licenseId) {
56 return getPersistence().create(licenseId);
57 }
58
59 public static com.liferay.portlet.softwarecatalog.model.SCLicense remove(
60 long licenseId)
61 throws com.liferay.portal.SystemException,
62 com.liferay.portlet.softwarecatalog.NoSuchLicenseException {
63 return getPersistence().remove(licenseId);
64 }
65
66 public static com.liferay.portlet.softwarecatalog.model.SCLicense remove(
67 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
68 throws com.liferay.portal.SystemException {
69 return getPersistence().remove(scLicense);
70 }
71
72
75 public static com.liferay.portlet.softwarecatalog.model.SCLicense update(
76 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
77 throws com.liferay.portal.SystemException {
78 return getPersistence().update(scLicense);
79 }
80
81
93 public static com.liferay.portlet.softwarecatalog.model.SCLicense update(
94 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
95 boolean merge) throws com.liferay.portal.SystemException {
96 return getPersistence().update(scLicense, merge);
97 }
98
99 public static com.liferay.portlet.softwarecatalog.model.SCLicense updateImpl(
100 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
101 boolean merge) throws com.liferay.portal.SystemException {
102 return getPersistence().updateImpl(scLicense, merge);
103 }
104
105 public static com.liferay.portlet.softwarecatalog.model.SCLicense findByPrimaryKey(
106 long licenseId)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portlet.softwarecatalog.NoSuchLicenseException {
109 return getPersistence().findByPrimaryKey(licenseId);
110 }
111
112 public static com.liferay.portlet.softwarecatalog.model.SCLicense fetchByPrimaryKey(
113 long licenseId) throws com.liferay.portal.SystemException {
114 return getPersistence().fetchByPrimaryKey(licenseId);
115 }
116
117 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(
118 boolean active) throws com.liferay.portal.SystemException {
119 return getPersistence().findByActive(active);
120 }
121
122 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(
123 boolean active, int start, int end)
124 throws com.liferay.portal.SystemException {
125 return getPersistence().findByActive(active, start, end);
126 }
127
128 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(
129 boolean active, int start, int end,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException {
132 return getPersistence().findByActive(active, start, end, obc);
133 }
134
135 public static com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_First(
136 boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.SystemException,
138 com.liferay.portlet.softwarecatalog.NoSuchLicenseException {
139 return getPersistence().findByActive_First(active, obc);
140 }
141
142 public static com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_Last(
143 boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException,
145 com.liferay.portlet.softwarecatalog.NoSuchLicenseException {
146 return getPersistence().findByActive_Last(active, obc);
147 }
148
149 public static com.liferay.portlet.softwarecatalog.model.SCLicense[] findByActive_PrevAndNext(
150 long licenseId, boolean active,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.SystemException,
153 com.liferay.portlet.softwarecatalog.NoSuchLicenseException {
154 return getPersistence().findByActive_PrevAndNext(licenseId, active, obc);
155 }
156
157 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(
158 boolean active, boolean recommended)
159 throws com.liferay.portal.SystemException {
160 return getPersistence().findByA_R(active, recommended);
161 }
162
163 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(
164 boolean active, boolean recommended, int start, int end)
165 throws com.liferay.portal.SystemException {
166 return getPersistence().findByA_R(active, recommended, start, end);
167 }
168
169 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(
170 boolean active, boolean recommended, int start, int end,
171 com.liferay.portal.kernel.util.OrderByComparator obc)
172 throws com.liferay.portal.SystemException {
173 return getPersistence().findByA_R(active, recommended, start, end, obc);
174 }
175
176 public static com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_First(
177 boolean active, boolean recommended,
178 com.liferay.portal.kernel.util.OrderByComparator obc)
179 throws com.liferay.portal.SystemException,
180 com.liferay.portlet.softwarecatalog.NoSuchLicenseException {
181 return getPersistence().findByA_R_First(active, recommended, obc);
182 }
183
184 public static com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_Last(
185 boolean active, boolean recommended,
186 com.liferay.portal.kernel.util.OrderByComparator obc)
187 throws com.liferay.portal.SystemException,
188 com.liferay.portlet.softwarecatalog.NoSuchLicenseException {
189 return getPersistence().findByA_R_Last(active, recommended, obc);
190 }
191
192 public static com.liferay.portlet.softwarecatalog.model.SCLicense[] findByA_R_PrevAndNext(
193 long licenseId, boolean active, boolean recommended,
194 com.liferay.portal.kernel.util.OrderByComparator obc)
195 throws com.liferay.portal.SystemException,
196 com.liferay.portlet.softwarecatalog.NoSuchLicenseException {
197 return getPersistence()
198 .findByA_R_PrevAndNext(licenseId, active, recommended, obc);
199 }
200
201 public static java.util.List<Object> findWithDynamicQuery(
202 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
203 throws com.liferay.portal.SystemException {
204 return getPersistence().findWithDynamicQuery(dynamicQuery);
205 }
206
207 public static java.util.List<Object> findWithDynamicQuery(
208 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
209 int end) throws com.liferay.portal.SystemException {
210 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
211 }
212
213 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll()
214 throws com.liferay.portal.SystemException {
215 return getPersistence().findAll();
216 }
217
218 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(
219 int start, int end) throws com.liferay.portal.SystemException {
220 return getPersistence().findAll(start, end);
221 }
222
223 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(
224 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
225 throws com.liferay.portal.SystemException {
226 return getPersistence().findAll(start, end, obc);
227 }
228
229 public static void removeByActive(boolean active)
230 throws com.liferay.portal.SystemException {
231 getPersistence().removeByActive(active);
232 }
233
234 public static void removeByA_R(boolean active, boolean recommended)
235 throws com.liferay.portal.SystemException {
236 getPersistence().removeByA_R(active, recommended);
237 }
238
239 public static void removeAll() throws com.liferay.portal.SystemException {
240 getPersistence().removeAll();
241 }
242
243 public static int countByActive(boolean active)
244 throws com.liferay.portal.SystemException {
245 return getPersistence().countByActive(active);
246 }
247
248 public static int countByA_R(boolean active, boolean recommended)
249 throws com.liferay.portal.SystemException {
250 return getPersistence().countByA_R(active, recommended);
251 }
252
253 public static int countAll() throws com.liferay.portal.SystemException {
254 return getPersistence().countAll();
255 }
256
257 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
258 long pk) throws com.liferay.portal.SystemException {
259 return getPersistence().getSCProductEntries(pk);
260 }
261
262 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
263 long pk, int start, int end) throws com.liferay.portal.SystemException {
264 return getPersistence().getSCProductEntries(pk, start, end);
265 }
266
267 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
268 long pk, int start, int end,
269 com.liferay.portal.kernel.util.OrderByComparator obc)
270 throws com.liferay.portal.SystemException {
271 return getPersistence().getSCProductEntries(pk, start, end, obc);
272 }
273
274 public static int getSCProductEntriesSize(long pk)
275 throws com.liferay.portal.SystemException {
276 return getPersistence().getSCProductEntriesSize(pk);
277 }
278
279 public static boolean containsSCProductEntry(long pk, long scProductEntryPK)
280 throws com.liferay.portal.SystemException {
281 return getPersistence().containsSCProductEntry(pk, scProductEntryPK);
282 }
283
284 public static boolean containsSCProductEntries(long pk)
285 throws com.liferay.portal.SystemException {
286 return getPersistence().containsSCProductEntries(pk);
287 }
288
289 public static void addSCProductEntry(long pk, long scProductEntryPK)
290 throws com.liferay.portal.SystemException {
291 getPersistence().addSCProductEntry(pk, scProductEntryPK);
292 }
293
294 public static void addSCProductEntry(long pk,
295 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
296 throws com.liferay.portal.SystemException {
297 getPersistence().addSCProductEntry(pk, scProductEntry);
298 }
299
300 public static void addSCProductEntries(long pk, long[] scProductEntryPKs)
301 throws com.liferay.portal.SystemException {
302 getPersistence().addSCProductEntries(pk, scProductEntryPKs);
303 }
304
305 public static void addSCProductEntries(long pk,
306 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
307 throws com.liferay.portal.SystemException {
308 getPersistence().addSCProductEntries(pk, scProductEntries);
309 }
310
311 public static void clearSCProductEntries(long pk)
312 throws com.liferay.portal.SystemException {
313 getPersistence().clearSCProductEntries(pk);
314 }
315
316 public static void removeSCProductEntry(long pk, long scProductEntryPK)
317 throws com.liferay.portal.SystemException {
318 getPersistence().removeSCProductEntry(pk, scProductEntryPK);
319 }
320
321 public static void removeSCProductEntry(long pk,
322 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
323 throws com.liferay.portal.SystemException {
324 getPersistence().removeSCProductEntry(pk, scProductEntry);
325 }
326
327 public static void removeSCProductEntries(long pk, long[] scProductEntryPKs)
328 throws com.liferay.portal.SystemException {
329 getPersistence().removeSCProductEntries(pk, scProductEntryPKs);
330 }
331
332 public static void removeSCProductEntries(long pk,
333 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
334 throws com.liferay.portal.SystemException {
335 getPersistence().removeSCProductEntries(pk, scProductEntries);
336 }
337
338 public static void setSCProductEntries(long pk, long[] scProductEntryPKs)
339 throws com.liferay.portal.SystemException {
340 getPersistence().setSCProductEntries(pk, scProductEntryPKs);
341 }
342
343 public static void setSCProductEntries(long pk,
344 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
345 throws com.liferay.portal.SystemException {
346 getPersistence().setSCProductEntries(pk, scProductEntries);
347 }
348
349 public static SCLicensePersistence getPersistence() {
350 return _persistence;
351 }
352
353 public void setPersistence(SCLicensePersistence persistence) {
354 _persistence = persistence;
355 }
356
357 private static SCLicensePersistence _persistence;
358 }