001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.asset.service;
016    
017    import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018    import com.liferay.portal.kernel.util.ReferenceRegistry;
019    
020    /**
021     * Provides the local service utility for AssetEntry. This utility wraps
022     * {@link com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl} and is the
023     * primary access point for service operations in application layer code running
024     * on the local server. Methods of this service will not have security checks
025     * based on the propagated JAAS credentials because this service can only be
026     * accessed from within the same VM.
027     *
028     * @author Brian Wing Shun Chan
029     * @see AssetEntryLocalService
030     * @see com.liferay.portlet.asset.service.base.AssetEntryLocalServiceBaseImpl
031     * @see com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl
032     * @generated
033     */
034    public class AssetEntryLocalServiceUtil {
035            /*
036             * NOTE FOR DEVELOPERS:
037             *
038             * Never modify this class directly. Add custom service methods to {@link com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl} and rerun ServiceBuilder to regenerate this class.
039             */
040    
041            /**
042            * Adds the asset entry to the database. Also notifies the appropriate model listeners.
043            *
044            * @param assetEntry the asset entry
045            * @return the asset entry that was added
046            * @throws SystemException if a system exception occurred
047            */
048            public static com.liferay.portlet.asset.model.AssetEntry addAssetEntry(
049                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
050                    throws com.liferay.portal.kernel.exception.SystemException {
051                    return getService().addAssetEntry(assetEntry);
052            }
053    
054            /**
055            * Creates a new asset entry with the primary key. Does not add the asset entry to the database.
056            *
057            * @param entryId the primary key for the new asset entry
058            * @return the new asset entry
059            */
060            public static com.liferay.portlet.asset.model.AssetEntry createAssetEntry(
061                    long entryId) {
062                    return getService().createAssetEntry(entryId);
063            }
064    
065            /**
066            * Deletes the asset entry with the primary key from the database. Also notifies the appropriate model listeners.
067            *
068            * @param entryId the primary key of the asset entry
069            * @return the asset entry that was removed
070            * @throws PortalException if a asset entry with the primary key could not be found
071            * @throws SystemException if a system exception occurred
072            */
073            public static com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
074                    long entryId)
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException {
077                    return getService().deleteAssetEntry(entryId);
078            }
079    
080            /**
081            * Deletes the asset entry from the database. Also notifies the appropriate model listeners.
082            *
083            * @param assetEntry the asset entry
084            * @return the asset entry that was removed
085            * @throws SystemException if a system exception occurred
086            */
087            public static com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
088                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
089                    throws com.liferay.portal.kernel.exception.SystemException {
090                    return getService().deleteAssetEntry(assetEntry);
091            }
092    
093            public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
094                    return getService().dynamicQuery();
095            }
096    
097            /**
098            * Performs a dynamic query on the database and returns the matching rows.
099            *
100            * @param dynamicQuery the dynamic query
101            * @return the matching rows
102            * @throws SystemException if a system exception occurred
103            */
104            @SuppressWarnings("rawtypes")
105            public static java.util.List dynamicQuery(
106                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return getService().dynamicQuery(dynamicQuery);
109            }
110    
111            /**
112            * Performs a dynamic query on the database and returns a range of the matching rows.
113            *
114            * <p>
115            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
116            * </p>
117            *
118            * @param dynamicQuery the dynamic query
119            * @param start the lower bound of the range of model instances
120            * @param end the upper bound of the range of model instances (not inclusive)
121            * @return the range of matching rows
122            * @throws SystemException if a system exception occurred
123            */
124            @SuppressWarnings("rawtypes")
125            public static java.util.List dynamicQuery(
126                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
127                    int end) throws com.liferay.portal.kernel.exception.SystemException {
128                    return getService().dynamicQuery(dynamicQuery, start, end);
129            }
130    
131            /**
132            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
133            *
134            * <p>
135            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
136            * </p>
137            *
138            * @param dynamicQuery the dynamic query
139            * @param start the lower bound of the range of model instances
140            * @param end the upper bound of the range of model instances (not inclusive)
141            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
142            * @return the ordered range of matching rows
143            * @throws SystemException if a system exception occurred
144            */
145            @SuppressWarnings("rawtypes")
146            public static java.util.List dynamicQuery(
147                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
148                    int end,
149                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150                    throws com.liferay.portal.kernel.exception.SystemException {
151                    return getService()
152                                       .dynamicQuery(dynamicQuery, start, end, orderByComparator);
153            }
154    
155            /**
156            * Returns the number of rows that match the dynamic query.
157            *
158            * @param dynamicQuery the dynamic query
159            * @return the number of rows that match the dynamic query
160            * @throws SystemException if a system exception occurred
161            */
162            public static long dynamicQueryCount(
163                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
164                    throws com.liferay.portal.kernel.exception.SystemException {
165                    return getService().dynamicQueryCount(dynamicQuery);
166            }
167    
168            /**
169            * Returns the number of rows that match the dynamic query.
170            *
171            * @param dynamicQuery the dynamic query
172            * @param projection the projection to apply to the query
173            * @return the number of rows that match the dynamic query
174            * @throws SystemException if a system exception occurred
175            */
176            public static long dynamicQueryCount(
177                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
178                    com.liferay.portal.kernel.dao.orm.Projection projection)
179                    throws com.liferay.portal.kernel.exception.SystemException {
180                    return getService().dynamicQueryCount(dynamicQuery, projection);
181            }
182    
183            public static com.liferay.portlet.asset.model.AssetEntry fetchAssetEntry(
184                    long entryId)
185                    throws com.liferay.portal.kernel.exception.SystemException {
186                    return getService().fetchAssetEntry(entryId);
187            }
188    
189            /**
190            * Returns the asset entry with the primary key.
191            *
192            * @param entryId the primary key of the asset entry
193            * @return the asset entry
194            * @throws PortalException if a asset entry with the primary key could not be found
195            * @throws SystemException if a system exception occurred
196            */
197            public static com.liferay.portlet.asset.model.AssetEntry getAssetEntry(
198                    long entryId)
199                    throws com.liferay.portal.kernel.exception.PortalException,
200                            com.liferay.portal.kernel.exception.SystemException {
201                    return getService().getAssetEntry(entryId);
202            }
203    
204            public static com.liferay.portal.model.PersistedModel getPersistedModel(
205                    java.io.Serializable primaryKeyObj)
206                    throws com.liferay.portal.kernel.exception.PortalException,
207                            com.liferay.portal.kernel.exception.SystemException {
208                    return getService().getPersistedModel(primaryKeyObj);
209            }
210    
211            /**
212            * Returns a range of all the asset entries.
213            *
214            * <p>
215            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
216            * </p>
217            *
218            * @param start the lower bound of the range of asset entries
219            * @param end the upper bound of the range of asset entries (not inclusive)
220            * @return the range of asset entries
221            * @throws SystemException if a system exception occurred
222            */
223            public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
224                    int start, int end)
225                    throws com.liferay.portal.kernel.exception.SystemException {
226                    return getService().getAssetEntries(start, end);
227            }
228    
229            /**
230            * Returns the number of asset entries.
231            *
232            * @return the number of asset entries
233            * @throws SystemException if a system exception occurred
234            */
235            public static int getAssetEntriesCount()
236                    throws com.liferay.portal.kernel.exception.SystemException {
237                    return getService().getAssetEntriesCount();
238            }
239    
240            /**
241            * Updates the asset entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
242            *
243            * @param assetEntry the asset entry
244            * @return the asset entry that was updated
245            * @throws SystemException if a system exception occurred
246            */
247            public static com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
248                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
249                    throws com.liferay.portal.kernel.exception.SystemException {
250                    return getService().updateAssetEntry(assetEntry);
251            }
252    
253            /**
254            * @throws SystemException if a system exception occurred
255            */
256            public static void addAssetCategoryAssetEntry(long categoryId, long entryId)
257                    throws com.liferay.portal.kernel.exception.SystemException {
258                    getService().addAssetCategoryAssetEntry(categoryId, entryId);
259            }
260    
261            /**
262            * @throws SystemException if a system exception occurred
263            */
264            public static void addAssetCategoryAssetEntry(long categoryId,
265                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
266                    throws com.liferay.portal.kernel.exception.SystemException {
267                    getService().addAssetCategoryAssetEntry(categoryId, assetEntry);
268            }
269    
270            /**
271            * @throws SystemException if a system exception occurred
272            */
273            public static void addAssetCategoryAssetEntries(long categoryId,
274                    long[] entryIds)
275                    throws com.liferay.portal.kernel.exception.SystemException {
276                    getService().addAssetCategoryAssetEntries(categoryId, entryIds);
277            }
278    
279            /**
280            * @throws SystemException if a system exception occurred
281            */
282            public static void addAssetCategoryAssetEntries(long categoryId,
283                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
284                    throws com.liferay.portal.kernel.exception.SystemException {
285                    getService().addAssetCategoryAssetEntries(categoryId, AssetEntries);
286            }
287    
288            /**
289            * @throws SystemException if a system exception occurred
290            */
291            public static void clearAssetCategoryAssetEntries(long categoryId)
292                    throws com.liferay.portal.kernel.exception.SystemException {
293                    getService().clearAssetCategoryAssetEntries(categoryId);
294            }
295    
296            /**
297            * @throws SystemException if a system exception occurred
298            */
299            public static void deleteAssetCategoryAssetEntry(long categoryId,
300                    long entryId)
301                    throws com.liferay.portal.kernel.exception.SystemException {
302                    getService().deleteAssetCategoryAssetEntry(categoryId, entryId);
303            }
304    
305            /**
306            * @throws SystemException if a system exception occurred
307            */
308            public static void deleteAssetCategoryAssetEntry(long categoryId,
309                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
310                    throws com.liferay.portal.kernel.exception.SystemException {
311                    getService().deleteAssetCategoryAssetEntry(categoryId, assetEntry);
312            }
313    
314            /**
315            * @throws SystemException if a system exception occurred
316            */
317            public static void deleteAssetCategoryAssetEntries(long categoryId,
318                    long[] entryIds)
319                    throws com.liferay.portal.kernel.exception.SystemException {
320                    getService().deleteAssetCategoryAssetEntries(categoryId, entryIds);
321            }
322    
323            /**
324            * @throws SystemException if a system exception occurred
325            */
326            public static void deleteAssetCategoryAssetEntries(long categoryId,
327                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
328                    throws com.liferay.portal.kernel.exception.SystemException {
329                    getService().deleteAssetCategoryAssetEntries(categoryId, AssetEntries);
330            }
331    
332            /**
333            * @throws SystemException if a system exception occurred
334            */
335            public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
336                    long categoryId)
337                    throws com.liferay.portal.kernel.exception.SystemException {
338                    return getService().getAssetCategoryAssetEntries(categoryId);
339            }
340    
341            /**
342            * @throws SystemException if a system exception occurred
343            */
344            public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
345                    long categoryId, int start, int end)
346                    throws com.liferay.portal.kernel.exception.SystemException {
347                    return getService().getAssetCategoryAssetEntries(categoryId, start, end);
348            }
349    
350            /**
351            * @throws SystemException if a system exception occurred
352            */
353            public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
354                    long categoryId, int start, int end,
355                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
356                    throws com.liferay.portal.kernel.exception.SystemException {
357                    return getService()
358                                       .getAssetCategoryAssetEntries(categoryId, start, end,
359                            orderByComparator);
360            }
361    
362            /**
363            * @throws SystemException if a system exception occurred
364            */
365            public static int getAssetCategoryAssetEntriesCount(long categoryId)
366                    throws com.liferay.portal.kernel.exception.SystemException {
367                    return getService().getAssetCategoryAssetEntriesCount(categoryId);
368            }
369    
370            /**
371            * @throws SystemException if a system exception occurred
372            */
373            public static boolean hasAssetCategoryAssetEntry(long categoryId,
374                    long entryId)
375                    throws com.liferay.portal.kernel.exception.SystemException {
376                    return getService().hasAssetCategoryAssetEntry(categoryId, entryId);
377            }
378    
379            /**
380            * @throws SystemException if a system exception occurred
381            */
382            public static boolean hasAssetCategoryAssetEntries(long categoryId)
383                    throws com.liferay.portal.kernel.exception.SystemException {
384                    return getService().hasAssetCategoryAssetEntries(categoryId);
385            }
386    
387            /**
388            * @throws SystemException if a system exception occurred
389            */
390            public static void setAssetCategoryAssetEntries(long categoryId,
391                    long[] entryIds)
392                    throws com.liferay.portal.kernel.exception.SystemException {
393                    getService().setAssetCategoryAssetEntries(categoryId, entryIds);
394            }
395    
396            /**
397            * @throws SystemException if a system exception occurred
398            */
399            public static void addAssetTagAssetEntry(long tagId, long entryId)
400                    throws com.liferay.portal.kernel.exception.SystemException {
401                    getService().addAssetTagAssetEntry(tagId, entryId);
402            }
403    
404            /**
405            * @throws SystemException if a system exception occurred
406            */
407            public static void addAssetTagAssetEntry(long tagId,
408                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
409                    throws com.liferay.portal.kernel.exception.SystemException {
410                    getService().addAssetTagAssetEntry(tagId, assetEntry);
411            }
412    
413            /**
414            * @throws SystemException if a system exception occurred
415            */
416            public static void addAssetTagAssetEntries(long tagId, long[] entryIds)
417                    throws com.liferay.portal.kernel.exception.SystemException {
418                    getService().addAssetTagAssetEntries(tagId, entryIds);
419            }
420    
421            /**
422            * @throws SystemException if a system exception occurred
423            */
424            public static void addAssetTagAssetEntries(long tagId,
425                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
426                    throws com.liferay.portal.kernel.exception.SystemException {
427                    getService().addAssetTagAssetEntries(tagId, AssetEntries);
428            }
429    
430            /**
431            * @throws SystemException if a system exception occurred
432            */
433            public static void clearAssetTagAssetEntries(long tagId)
434                    throws com.liferay.portal.kernel.exception.SystemException {
435                    getService().clearAssetTagAssetEntries(tagId);
436            }
437    
438            /**
439            * @throws SystemException if a system exception occurred
440            */
441            public static void deleteAssetTagAssetEntry(long tagId, long entryId)
442                    throws com.liferay.portal.kernel.exception.SystemException {
443                    getService().deleteAssetTagAssetEntry(tagId, entryId);
444            }
445    
446            /**
447            * @throws SystemException if a system exception occurred
448            */
449            public static void deleteAssetTagAssetEntry(long tagId,
450                    com.liferay.portlet.asset.model.AssetEntry assetEntry)
451                    throws com.liferay.portal.kernel.exception.SystemException {
452                    getService().deleteAssetTagAssetEntry(tagId, assetEntry);
453            }
454    
455            /**
456            * @throws SystemException if a system exception occurred
457            */
458            public static void deleteAssetTagAssetEntries(long tagId, long[] entryIds)
459                    throws com.liferay.portal.kernel.exception.SystemException {
460                    getService().deleteAssetTagAssetEntries(tagId, entryIds);
461            }
462    
463            /**
464            * @throws SystemException if a system exception occurred
465            */
466            public static void deleteAssetTagAssetEntries(long tagId,
467                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
468                    throws com.liferay.portal.kernel.exception.SystemException {
469                    getService().deleteAssetTagAssetEntries(tagId, AssetEntries);
470            }
471    
472            /**
473            * @throws SystemException if a system exception occurred
474            */
475            public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
476                    long tagId) throws com.liferay.portal.kernel.exception.SystemException {
477                    return getService().getAssetTagAssetEntries(tagId);
478            }
479    
480            /**
481            * @throws SystemException if a system exception occurred
482            */
483            public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
484                    long tagId, int start, int end)
485                    throws com.liferay.portal.kernel.exception.SystemException {
486                    return getService().getAssetTagAssetEntries(tagId, start, end);
487            }
488    
489            /**
490            * @throws SystemException if a system exception occurred
491            */
492            public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
493                    long tagId, int start, int end,
494                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
495                    throws com.liferay.portal.kernel.exception.SystemException {
496                    return getService()
497                                       .getAssetTagAssetEntries(tagId, start, end, orderByComparator);
498            }
499    
500            /**
501            * @throws SystemException if a system exception occurred
502            */
503            public static int getAssetTagAssetEntriesCount(long tagId)
504                    throws com.liferay.portal.kernel.exception.SystemException {
505                    return getService().getAssetTagAssetEntriesCount(tagId);
506            }
507    
508            /**
509            * @throws SystemException if a system exception occurred
510            */
511            public static boolean hasAssetTagAssetEntry(long tagId, long entryId)
512                    throws com.liferay.portal.kernel.exception.SystemException {
513                    return getService().hasAssetTagAssetEntry(tagId, entryId);
514            }
515    
516            /**
517            * @throws SystemException if a system exception occurred
518            */
519            public static boolean hasAssetTagAssetEntries(long tagId)
520                    throws com.liferay.portal.kernel.exception.SystemException {
521                    return getService().hasAssetTagAssetEntries(tagId);
522            }
523    
524            /**
525            * @throws SystemException if a system exception occurred
526            */
527            public static void setAssetTagAssetEntries(long tagId, long[] entryIds)
528                    throws com.liferay.portal.kernel.exception.SystemException {
529                    getService().setAssetTagAssetEntries(tagId, entryIds);
530            }
531    
532            /**
533            * Returns the Spring bean ID for this bean.
534            *
535            * @return the Spring bean ID for this bean
536            */
537            public static java.lang.String getBeanIdentifier() {
538                    return getService().getBeanIdentifier();
539            }
540    
541            /**
542            * Sets the Spring bean ID for this bean.
543            *
544            * @param beanIdentifier the Spring bean ID for this bean
545            */
546            public static void setBeanIdentifier(java.lang.String beanIdentifier) {
547                    getService().setBeanIdentifier(beanIdentifier);
548            }
549    
550            public static void deleteEntry(
551                    com.liferay.portlet.asset.model.AssetEntry entry)
552                    throws com.liferay.portal.kernel.exception.PortalException,
553                            com.liferay.portal.kernel.exception.SystemException {
554                    getService().deleteEntry(entry);
555            }
556    
557            public static void deleteEntry(long entryId)
558                    throws com.liferay.portal.kernel.exception.PortalException,
559                            com.liferay.portal.kernel.exception.SystemException {
560                    getService().deleteEntry(entryId);
561            }
562    
563            public static void deleteEntry(java.lang.String className, long classPK)
564                    throws com.liferay.portal.kernel.exception.PortalException,
565                            com.liferay.portal.kernel.exception.SystemException {
566                    getService().deleteEntry(className, classPK);
567            }
568    
569            public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
570                    long entryId)
571                    throws com.liferay.portal.kernel.exception.SystemException {
572                    return getService().fetchEntry(entryId);
573            }
574    
575            public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
576                    long groupId, java.lang.String classUuid)
577                    throws com.liferay.portal.kernel.exception.SystemException {
578                    return getService().fetchEntry(groupId, classUuid);
579            }
580    
581            public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
582                    java.lang.String className, long classPK)
583                    throws com.liferay.portal.kernel.exception.SystemException {
584                    return getService().fetchEntry(className, classPK);
585            }
586    
587            public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAncestorEntries(
588                    long entryId)
589                    throws com.liferay.portal.kernel.exception.PortalException,
590                            com.liferay.portal.kernel.exception.SystemException {
591                    return getService().getAncestorEntries(entryId);
592            }
593    
594            public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getChildEntries(
595                    long entryId)
596                    throws com.liferay.portal.kernel.exception.PortalException,
597                            com.liferay.portal.kernel.exception.SystemException {
598                    return getService().getChildEntries(entryId);
599            }
600    
601            public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
602                    long companyId, int start, int end)
603                    throws com.liferay.portal.kernel.exception.SystemException {
604                    return getService().getCompanyEntries(companyId, start, end);
605            }
606    
607            public static int getCompanyEntriesCount(long companyId)
608                    throws com.liferay.portal.kernel.exception.SystemException {
609                    return getService().getCompanyEntriesCount(companyId);
610            }
611    
612            public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
613                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
614                    throws com.liferay.portal.kernel.exception.SystemException {
615                    return getService().getEntries(entryQuery);
616            }
617    
618            public static int getEntriesCount(
619                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
620                    throws com.liferay.portal.kernel.exception.SystemException {
621                    return getService().getEntriesCount(entryQuery);
622            }
623    
624            public static com.liferay.portlet.asset.model.AssetEntry getEntry(
625                    long entryId)
626                    throws com.liferay.portal.kernel.exception.PortalException,
627                            com.liferay.portal.kernel.exception.SystemException {
628                    return getService().getEntry(entryId);
629            }
630    
631            public static com.liferay.portlet.asset.model.AssetEntry getEntry(
632                    long groupId, java.lang.String classUuid)
633                    throws com.liferay.portal.kernel.exception.PortalException,
634                            com.liferay.portal.kernel.exception.SystemException {
635                    return getService().getEntry(groupId, classUuid);
636            }
637    
638            public static com.liferay.portlet.asset.model.AssetEntry getEntry(
639                    java.lang.String className, long classPK)
640                    throws com.liferay.portal.kernel.exception.PortalException,
641                            com.liferay.portal.kernel.exception.SystemException {
642                    return getService().getEntry(className, classPK);
643            }
644    
645            public static com.liferay.portlet.asset.model.AssetEntry getNextEntry(
646                    long entryId)
647                    throws com.liferay.portal.kernel.exception.PortalException,
648                            com.liferay.portal.kernel.exception.SystemException {
649                    return getService().getNextEntry(entryId);
650            }
651    
652            public static com.liferay.portlet.asset.model.AssetEntry getParentEntry(
653                    long entryId)
654                    throws com.liferay.portal.kernel.exception.PortalException,
655                            com.liferay.portal.kernel.exception.SystemException {
656                    return getService().getParentEntry(entryId);
657            }
658    
659            public static com.liferay.portlet.asset.model.AssetEntry getPreviousEntry(
660                    long entryId)
661                    throws com.liferay.portal.kernel.exception.PortalException,
662                            com.liferay.portal.kernel.exception.SystemException {
663                    return getService().getPreviousEntry(entryId);
664            }
665    
666            public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
667                    java.lang.String className, boolean asc, int start, int end)
668                    throws com.liferay.portal.kernel.exception.SystemException {
669                    return getService().getTopViewedEntries(className, asc, start, end);
670            }
671    
672            public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
673                    java.lang.String[] className, boolean asc, int start, int end)
674                    throws com.liferay.portal.kernel.exception.SystemException {
675                    return getService().getTopViewedEntries(className, asc, start, end);
676            }
677    
678            public static com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
679                    long userId, java.lang.String className, long classPK)
680                    throws com.liferay.portal.kernel.exception.PortalException,
681                            com.liferay.portal.kernel.exception.SystemException {
682                    return getService().incrementViewCounter(userId, className, classPK);
683            }
684    
685            public static com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
686                    long userId, java.lang.String className, long classPK, int increment)
687                    throws com.liferay.portal.kernel.exception.SystemException {
688                    return getService()
689                                       .incrementViewCounter(userId, className, classPK, increment);
690            }
691    
692            public static void reindex(
693                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> entries)
694                    throws com.liferay.portal.kernel.exception.PortalException {
695                    getService().reindex(entries);
696            }
697    
698            /**
699            * @deprecated As of 6.2.0, replaced by {@link #search(long, long[], long,
700            String, String, int, int, int)}
701            */
702            public static com.liferay.portal.kernel.search.Hits search(long companyId,
703                    long[] groupIds, long userId, java.lang.String className,
704                    java.lang.String keywords, int start, int end)
705                    throws com.liferay.portal.kernel.exception.SystemException {
706                    return getService()
707                                       .search(companyId, groupIds, userId, className, keywords,
708                            start, end);
709            }
710    
711            public static com.liferay.portal.kernel.search.Hits search(long companyId,
712                    long[] groupIds, long userId, java.lang.String className,
713                    java.lang.String keywords, int status, int start, int end)
714                    throws com.liferay.portal.kernel.exception.SystemException {
715                    return getService()
716                                       .search(companyId, groupIds, userId, className, keywords,
717                            status, start, end);
718            }
719    
720            /**
721            * @deprecated As of 6.2.0, replaced by {@link #search(long, long[], long,
722            String, String, String, String, String, String, int, boolean,
723            int, int)}
724            */
725            public static com.liferay.portal.kernel.search.Hits search(long companyId,
726                    long[] groupIds, long userId, java.lang.String className,
727                    java.lang.String userName, java.lang.String title,
728                    java.lang.String description, java.lang.String assetCategoryIds,
729                    java.lang.String assetTagNames, boolean andSearch, int start, int end)
730                    throws com.liferay.portal.kernel.exception.SystemException {
731                    return getService()
732                                       .search(companyId, groupIds, userId, className, userName,
733                            title, description, assetCategoryIds, assetTagNames, andSearch,
734                            start, end);
735            }
736    
737            public static com.liferay.portal.kernel.search.Hits search(long companyId,
738                    long[] groupIds, long userId, java.lang.String className,
739                    java.lang.String userName, java.lang.String title,
740                    java.lang.String description, java.lang.String assetCategoryIds,
741                    java.lang.String assetTagNames, int status, boolean andSearch,
742                    int start, int end)
743                    throws com.liferay.portal.kernel.exception.SystemException {
744                    return getService()
745                                       .search(companyId, groupIds, userId, className, userName,
746                            title, description, assetCategoryIds, assetTagNames, status,
747                            andSearch, start, end);
748            }
749    
750            /**
751            * @deprecated As of 6.2.0, replaced by {@link #search(long, long[], long,
752            String, String, int, int, int)}
753            */
754            public static com.liferay.portal.kernel.search.Hits search(long companyId,
755                    long[] groupIds, java.lang.String className, java.lang.String keywords,
756                    int start, int end)
757                    throws com.liferay.portal.kernel.exception.SystemException {
758                    return getService()
759                                       .search(companyId, groupIds, className, keywords, start, end);
760            }
761    
762            public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
763                    long userId, long groupId, java.util.Date createDate,
764                    java.util.Date modifiedDate, java.lang.String className, long classPK,
765                    java.lang.String classUuid, long classTypeId, long[] categoryIds,
766                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
767                    java.util.Date endDate, java.util.Date expirationDate,
768                    java.lang.String mimeType, java.lang.String title,
769                    java.lang.String description, java.lang.String summary,
770                    java.lang.String url, java.lang.String layoutUuid, int height,
771                    int width, java.lang.Integer priority, boolean sync)
772                    throws com.liferay.portal.kernel.exception.PortalException,
773                            com.liferay.portal.kernel.exception.SystemException {
774                    return getService()
775                                       .updateEntry(userId, groupId, createDate, modifiedDate,
776                            className, classPK, classUuid, classTypeId, categoryIds, tagNames,
777                            visible, startDate, endDate, expirationDate, mimeType, title,
778                            description, summary, url, layoutUuid, height, width, priority, sync);
779            }
780    
781            public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
782                    long userId, long groupId, java.lang.String className, long classPK,
783                    long[] categoryIds, java.lang.String[] tagNames)
784                    throws com.liferay.portal.kernel.exception.PortalException,
785                            com.liferay.portal.kernel.exception.SystemException {
786                    return getService()
787                                       .updateEntry(userId, groupId, className, classPK,
788                            categoryIds, tagNames);
789            }
790    
791            /**
792            * @deprecated As of 6.2.0, replaced by {@link #updateEntry(long, long,
793            String, long, String, long, long[], String[], boolean, Date,
794            Date, Date, String, String, String, String, String, String,
795            int, int, Integer, boolean)}
796            */
797            public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
798                    long userId, long groupId, java.lang.String className, long classPK,
799                    java.lang.String classUuid, long classTypeId, long[] categoryIds,
800                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
801                    java.util.Date endDate, java.util.Date publishDate,
802                    java.util.Date expirationDate, java.lang.String mimeType,
803                    java.lang.String title, java.lang.String description,
804                    java.lang.String summary, java.lang.String url,
805                    java.lang.String layoutUuid, int height, int width,
806                    java.lang.Integer priority, boolean sync)
807                    throws com.liferay.portal.kernel.exception.PortalException,
808                            com.liferay.portal.kernel.exception.SystemException {
809                    return getService()
810                                       .updateEntry(userId, groupId, className, classPK, classUuid,
811                            classTypeId, categoryIds, tagNames, visible, startDate, endDate,
812                            publishDate, expirationDate, mimeType, title, description, summary,
813                            url, layoutUuid, height, width, priority, sync);
814            }
815    
816            /**
817            * @deprecated As of 6.2.0, replaced by {@link #updateEntry(long, long,
818            Date, Date, String, long, String, long, long[], String[],
819            boolean, Date, Date, Date, String, String, String, String,
820            String, String, int, int, Integer, boolean)}
821            */
822            public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
823                    long userId, long groupId, java.lang.String className, long classPK,
824                    java.lang.String classUuid, long classTypeId, long[] categoryIds,
825                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
826                    java.util.Date endDate, java.util.Date expirationDate,
827                    java.lang.String mimeType, java.lang.String title,
828                    java.lang.String description, java.lang.String summary,
829                    java.lang.String url, java.lang.String layoutUuid, int height,
830                    int width, java.lang.Integer priority, boolean sync)
831                    throws com.liferay.portal.kernel.exception.PortalException,
832                            com.liferay.portal.kernel.exception.SystemException {
833                    return getService()
834                                       .updateEntry(userId, groupId, className, classPK, classUuid,
835                            classTypeId, categoryIds, tagNames, visible, startDate, endDate,
836                            expirationDate, mimeType, title, description, summary, url,
837                            layoutUuid, height, width, priority, sync);
838            }
839    
840            public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
841                    java.lang.String className, long classPK, java.util.Date publishDate,
842                    boolean visible)
843                    throws com.liferay.portal.kernel.exception.PortalException,
844                            com.liferay.portal.kernel.exception.SystemException {
845                    return getService().updateEntry(className, classPK, publishDate, visible);
846            }
847    
848            public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
849                    java.lang.String className, long classPK, java.util.Date publishDate,
850                    java.util.Date expirationDate, boolean visible)
851                    throws com.liferay.portal.kernel.exception.PortalException,
852                            com.liferay.portal.kernel.exception.SystemException {
853                    return getService()
854                                       .updateEntry(className, classPK, publishDate,
855                            expirationDate, visible);
856            }
857    
858            public static com.liferay.portlet.asset.model.AssetEntry updateVisible(
859                    java.lang.String className, long classPK, boolean visible)
860                    throws com.liferay.portal.kernel.exception.PortalException,
861                            com.liferay.portal.kernel.exception.SystemException {
862                    return getService().updateVisible(className, classPK, visible);
863            }
864    
865            public static void validate(long groupId, java.lang.String className,
866                    long[] categoryIds, java.lang.String[] tagNames)
867                    throws com.liferay.portal.kernel.exception.PortalException,
868                            com.liferay.portal.kernel.exception.SystemException {
869                    getService().validate(groupId, className, categoryIds, tagNames);
870            }
871    
872            public static AssetEntryLocalService getService() {
873                    if (_service == null) {
874                            _service = (AssetEntryLocalService)PortalBeanLocatorUtil.locate(AssetEntryLocalService.class.getName());
875    
876                            ReferenceRegistry.registerReference(AssetEntryLocalServiceUtil.class,
877                                    "_service");
878                    }
879    
880                    return _service;
881            }
882    
883            /**
884             * @deprecated As of 6.2.0
885             */
886            public void setService(AssetEntryLocalService service) {
887            }
888    
889            private static AssetEntryLocalService _service;
890    }