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