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