001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.exception.PortalException;
020    import com.liferay.portal.kernel.exception.SystemException;
021    import com.liferay.portal.kernel.search.IndexableType;
022    import com.liferay.portal.kernel.transaction.Isolation;
023    import com.liferay.portal.kernel.transaction.Propagation;
024    import com.liferay.portal.kernel.transaction.Transactional;
025    import com.liferay.portal.service.BaseLocalService;
026    import com.liferay.portal.service.PersistedModelLocalService;
027    
028    /**
029     * Provides the local service interface for AssetEntry. Methods of this
030     * service will not have security checks based on the propagated JAAS
031     * credentials because this service can only be accessed from within the same
032     * VM.
033     *
034     * @author Brian Wing Shun Chan
035     * @see AssetEntryLocalServiceUtil
036     * @see com.liferay.portlet.asset.service.base.AssetEntryLocalServiceBaseImpl
037     * @see com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl
038     * @generated
039     */
040    @ProviderType
041    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
042            PortalException.class, SystemException.class})
043    public interface AssetEntryLocalService extends BaseLocalService,
044            PersistedModelLocalService {
045            /*
046             * NOTE FOR DEVELOPERS:
047             *
048             * Never modify or reference this interface directly. Always use {@link AssetEntryLocalServiceUtil} to access the asset entry local service. Add custom service methods to {@link com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
049             */
050            public void addAssetCategoryAssetEntries(long categoryId,
051                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries);
052    
053            public void addAssetCategoryAssetEntries(long categoryId, long[] entryIds);
054    
055            public void addAssetCategoryAssetEntry(long categoryId,
056                    com.liferay.portlet.asset.model.AssetEntry assetEntry);
057    
058            public void addAssetCategoryAssetEntry(long categoryId, long entryId);
059    
060            /**
061            * Adds the asset entry to the database. Also notifies the appropriate model listeners.
062            *
063            * @param assetEntry the asset entry
064            * @return the asset entry that was added
065            */
066            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
067            public com.liferay.portlet.asset.model.AssetEntry addAssetEntry(
068                    com.liferay.portlet.asset.model.AssetEntry assetEntry);
069    
070            public void addAssetTagAssetEntries(long tagId,
071                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries);
072    
073            public void addAssetTagAssetEntries(long tagId, long[] entryIds);
074    
075            public void addAssetTagAssetEntry(long tagId,
076                    com.liferay.portlet.asset.model.AssetEntry assetEntry);
077    
078            public void addAssetTagAssetEntry(long tagId, long entryId);
079    
080            public void clearAssetCategoryAssetEntries(long categoryId);
081    
082            public void clearAssetTagAssetEntries(long tagId);
083    
084            /**
085            * Creates a new asset entry with the primary key. Does not add the asset entry to the database.
086            *
087            * @param entryId the primary key for the new asset entry
088            * @return the new asset entry
089            */
090            public com.liferay.portlet.asset.model.AssetEntry createAssetEntry(
091                    long entryId);
092    
093            public void deleteAssetCategoryAssetEntries(long categoryId,
094                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries);
095    
096            public void deleteAssetCategoryAssetEntries(long categoryId, long[] entryIds);
097    
098            public void deleteAssetCategoryAssetEntry(long categoryId,
099                    com.liferay.portlet.asset.model.AssetEntry assetEntry);
100    
101            public void deleteAssetCategoryAssetEntry(long categoryId, long entryId);
102    
103            /**
104            * Deletes the asset entry from the database. Also notifies the appropriate model listeners.
105            *
106            * @param assetEntry the asset entry
107            * @return the asset entry that was removed
108            */
109            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
110            public com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
111                    com.liferay.portlet.asset.model.AssetEntry assetEntry);
112    
113            /**
114            * Deletes the asset entry with the primary key from the database. Also notifies the appropriate model listeners.
115            *
116            * @param entryId the primary key of the asset entry
117            * @return the asset entry that was removed
118            * @throws PortalException if a asset entry with the primary key could not be found
119            */
120            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
121            public com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
122                    long entryId)
123                    throws com.liferay.portal.kernel.exception.PortalException;
124    
125            public void deleteAssetTagAssetEntries(long tagId,
126                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries);
127    
128            public void deleteAssetTagAssetEntries(long tagId, long[] entryIds);
129    
130            public void deleteAssetTagAssetEntry(long tagId,
131                    com.liferay.portlet.asset.model.AssetEntry assetEntry);
132    
133            public void deleteAssetTagAssetEntry(long tagId, long entryId);
134    
135            public void deleteEntry(java.lang.String className, long classPK)
136                    throws com.liferay.portal.kernel.exception.PortalException;
137    
138            public void deleteEntry(com.liferay.portlet.asset.model.AssetEntry entry)
139                    throws com.liferay.portal.kernel.exception.PortalException;
140    
141            public void deleteEntry(long entryId)
142                    throws com.liferay.portal.kernel.exception.PortalException;
143    
144            public void deleteGroupEntries(long groupId)
145                    throws com.liferay.portal.kernel.exception.PortalException;
146    
147            /**
148            * @throws PortalException
149            */
150            @Override
151            public com.liferay.portal.model.PersistedModel deletePersistedModel(
152                    com.liferay.portal.model.PersistedModel persistedModel)
153                    throws com.liferay.portal.kernel.exception.PortalException;
154    
155            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
156    
157            /**
158            * Performs a dynamic query on the database and returns the matching rows.
159            *
160            * @param dynamicQuery the dynamic query
161            * @return the matching rows
162            */
163            public <T> java.util.List<T> dynamicQuery(
164                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
165    
166            /**
167            * Performs a dynamic query on the database and returns a range of the matching rows.
168            *
169            * <p>
170            * 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.
171            * </p>
172            *
173            * @param dynamicQuery the dynamic query
174            * @param start the lower bound of the range of model instances
175            * @param end the upper bound of the range of model instances (not inclusive)
176            * @return the range of matching rows
177            */
178            public <T> java.util.List<T> dynamicQuery(
179                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
180                    int end);
181    
182            /**
183            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
184            *
185            * <p>
186            * 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.
187            * </p>
188            *
189            * @param dynamicQuery the dynamic query
190            * @param start the lower bound of the range of model instances
191            * @param end the upper bound of the range of model instances (not inclusive)
192            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
193            * @return the ordered range of matching rows
194            */
195            public <T> java.util.List<T> dynamicQuery(
196                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
197                    int end,
198                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator);
199    
200            /**
201            * Returns the number of rows matching the dynamic query.
202            *
203            * @param dynamicQuery the dynamic query
204            * @return the number of rows matching the dynamic query
205            */
206            public long dynamicQueryCount(
207                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
208    
209            /**
210            * Returns the number of rows matching the dynamic query.
211            *
212            * @param dynamicQuery the dynamic query
213            * @param projection the projection to apply to the query
214            * @return the number of rows matching the dynamic query
215            */
216            public long dynamicQueryCount(
217                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
218                    com.liferay.portal.kernel.dao.orm.Projection projection);
219    
220            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
221            public com.liferay.portlet.asset.model.AssetEntry fetchAssetEntry(
222                    long entryId);
223    
224            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
225            public com.liferay.portlet.asset.model.AssetEntry fetchEntry(
226                    java.lang.String className, long classPK);
227    
228            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
229            public com.liferay.portlet.asset.model.AssetEntry fetchEntry(long entryId);
230    
231            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
232            public com.liferay.portlet.asset.model.AssetEntry fetchEntry(long groupId,
233                    java.lang.String classUuid);
234    
235            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
236            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
237    
238            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
239            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAncestorEntries(
240                    long entryId)
241                    throws com.liferay.portal.kernel.exception.PortalException;
242    
243            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
244            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
245                    long categoryId);
246    
247            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
248            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
249                    long categoryId, int start, int end);
250    
251            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
252            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
253                    long categoryId, int start, int end,
254                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetEntry> orderByComparator);
255    
256            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
257            public int getAssetCategoryAssetEntriesCount(long categoryId);
258    
259            /**
260            * Returns the categoryIds of the asset categories associated with the asset entry.
261            *
262            * @param entryId the entryId of the asset entry
263            * @return long[] the categoryIds of asset categories associated with the asset entry
264            */
265            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
266            public long[] getAssetCategoryPrimaryKeys(long entryId);
267    
268            /**
269            * Returns a range of all the asset entries.
270            *
271            * <p>
272            * 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.
273            * </p>
274            *
275            * @param start the lower bound of the range of asset entries
276            * @param end the upper bound of the range of asset entries (not inclusive)
277            * @return the range of asset entries
278            */
279            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
280            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
281                    int start, int end);
282    
283            /**
284            * Returns the number of asset entries.
285            *
286            * @return the number of asset entries
287            */
288            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
289            public int getAssetEntriesCount();
290    
291            /**
292            * Returns the asset entry with the primary key.
293            *
294            * @param entryId the primary key of the asset entry
295            * @return the asset entry
296            * @throws PortalException if a asset entry with the primary key could not be found
297            */
298            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
299            public com.liferay.portlet.asset.model.AssetEntry getAssetEntry(
300                    long entryId)
301                    throws com.liferay.portal.kernel.exception.PortalException;
302    
303            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
304            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
305                    long tagId);
306    
307            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
308            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
309                    long tagId, int start, int end);
310    
311            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
312            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
313                    long tagId, int start, int end,
314                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetEntry> orderByComparator);
315    
316            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
317            public int getAssetTagAssetEntriesCount(long tagId);
318    
319            /**
320            * Returns the tagIds of the asset tags associated with the asset entry.
321            *
322            * @param entryId the entryId of the asset entry
323            * @return long[] the tagIds of asset tags associated with the asset entry
324            */
325            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
326            public long[] getAssetTagPrimaryKeys(long entryId);
327    
328            /**
329            * Returns the Spring bean ID for this bean.
330            *
331            * @return the Spring bean ID for this bean
332            */
333            public java.lang.String getBeanIdentifier();
334    
335            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
336            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getChildEntries(
337                    long entryId)
338                    throws com.liferay.portal.kernel.exception.PortalException;
339    
340            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
341            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
342                    long companyId, int start, int end);
343    
344            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
345            public int getCompanyEntriesCount(long companyId);
346    
347            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
348            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
349                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery);
350    
351            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
352            public int getEntriesCount(
353                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery);
354    
355            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
356            public com.liferay.portlet.asset.model.AssetEntry getEntry(
357                    java.lang.String className, long classPK)
358                    throws com.liferay.portal.kernel.exception.PortalException;
359    
360            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
361            public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
362                    throws com.liferay.portal.kernel.exception.PortalException;
363    
364            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
365            public com.liferay.portlet.asset.model.AssetEntry getEntry(long groupId,
366                    java.lang.String classUuid)
367                    throws com.liferay.portal.kernel.exception.PortalException;
368    
369            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
370            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getGroupEntries(
371                    long groupId);
372    
373            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
374            public com.liferay.portlet.asset.model.AssetEntry getNextEntry(long entryId)
375                    throws com.liferay.portal.kernel.exception.PortalException;
376    
377            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
378            public com.liferay.portlet.asset.model.AssetEntry getParentEntry(
379                    long entryId)
380                    throws com.liferay.portal.kernel.exception.PortalException;
381    
382            @Override
383            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
384            public com.liferay.portal.model.PersistedModel getPersistedModel(
385                    java.io.Serializable primaryKeyObj)
386                    throws com.liferay.portal.kernel.exception.PortalException;
387    
388            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
389            public com.liferay.portlet.asset.model.AssetEntry getPreviousEntry(
390                    long entryId)
391                    throws com.liferay.portal.kernel.exception.PortalException;
392    
393            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
394            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
395                    java.lang.String className, boolean asc, int start, int end);
396    
397            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
398            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
399                    java.lang.String[] className, boolean asc, int start, int end);
400    
401            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
402            public boolean hasAssetCategoryAssetEntries(long categoryId);
403    
404            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
405            public boolean hasAssetCategoryAssetEntry(long categoryId, long entryId);
406    
407            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
408            public boolean hasAssetTagAssetEntries(long tagId);
409    
410            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
411            public boolean hasAssetTagAssetEntry(long tagId, long entryId);
412    
413            public com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
414                    long userId, java.lang.String className, long classPK)
415                    throws com.liferay.portal.kernel.exception.PortalException;
416    
417            @com.liferay.portal.kernel.increment.BufferedIncrement(configuration = "AssetEntry", incrementClass = com.liferay.portal.kernel.increment.NumberIncrement.class)
418            public void incrementViewCounter(long userId, java.lang.String className,
419                    long classPK, int increment);
420    
421            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
422            public void reindex(
423                    java.util.List<com.liferay.portlet.asset.model.AssetEntry> entries)
424                    throws com.liferay.portal.kernel.exception.PortalException;
425    
426            /**
427            * @deprecated As of 6.2.0, replaced by {@link #search(long, long[], long,
428            String, String, int, int, int)}
429            */
430            @java.lang.Deprecated
431            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
432            public com.liferay.portal.kernel.search.Hits search(long companyId,
433                    long[] groupIds, java.lang.String className, java.lang.String keywords,
434                    int start, int end);
435    
436            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
437            public com.liferay.portal.kernel.search.Hits search(long companyId,
438                    long[] groupIds, long userId, java.lang.String className,
439                    long classTypeId, java.lang.String keywords, int status, int start,
440                    int end);
441    
442            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
443            public com.liferay.portal.kernel.search.Hits search(long companyId,
444                    long[] groupIds, long userId, java.lang.String className,
445                    long classTypeId, java.lang.String userName, java.lang.String title,
446                    java.lang.String description, java.lang.String assetCategoryIds,
447                    java.lang.String assetTagNames, int status, boolean andSearch,
448                    int start, int end);
449    
450            /**
451            * @deprecated As of 6.2.0, replaced by {@link #search(long, long[], long,
452            String, String, int, int, int)}
453            */
454            @java.lang.Deprecated
455            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
456            public com.liferay.portal.kernel.search.Hits search(long companyId,
457                    long[] groupIds, long userId, java.lang.String className,
458                    java.lang.String keywords, int start, int end);
459    
460            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
461            public com.liferay.portal.kernel.search.Hits search(long companyId,
462                    long[] groupIds, long userId, java.lang.String className,
463                    java.lang.String keywords, int status, int start, int end);
464    
465            /**
466            * @deprecated As of 6.2.0, replaced by {@link #search(long, long[], long,
467            String, String, String, String, String, String, int, boolean,
468            int, int)}
469            */
470            @java.lang.Deprecated
471            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
472            public com.liferay.portal.kernel.search.Hits search(long companyId,
473                    long[] groupIds, long userId, java.lang.String className,
474                    java.lang.String userName, java.lang.String title,
475                    java.lang.String description, java.lang.String assetCategoryIds,
476                    java.lang.String assetTagNames, boolean andSearch, int start, int end);
477    
478            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
479            public com.liferay.portal.kernel.search.Hits search(long companyId,
480                    long[] groupIds, long userId, java.lang.String className,
481                    java.lang.String userName, java.lang.String title,
482                    java.lang.String description, java.lang.String assetCategoryIds,
483                    java.lang.String assetTagNames, int status, boolean andSearch,
484                    int start, int end);
485    
486            public void setAssetCategoryAssetEntries(long categoryId, long[] entryIds);
487    
488            public void setAssetTagAssetEntries(long tagId, long[] entryIds);
489    
490            /**
491            * Sets the Spring bean ID for this bean.
492            *
493            * @param beanIdentifier the Spring bean ID for this bean
494            */
495            public void setBeanIdentifier(java.lang.String beanIdentifier);
496    
497            /**
498            * Updates the asset entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
499            *
500            * @param assetEntry the asset entry
501            * @return the asset entry that was updated
502            */
503            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
504            public com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
505                    com.liferay.portlet.asset.model.AssetEntry assetEntry);
506    
507            public com.liferay.portlet.asset.model.AssetEntry updateEntry(
508                    java.lang.String className, long classPK, java.util.Date publishDate,
509                    java.util.Date expirationDate, boolean visible)
510                    throws com.liferay.portal.kernel.exception.PortalException;
511    
512            public com.liferay.portlet.asset.model.AssetEntry updateEntry(
513                    java.lang.String className, long classPK, java.util.Date publishDate,
514                    boolean visible)
515                    throws com.liferay.portal.kernel.exception.PortalException;
516    
517            public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
518                    long groupId, java.lang.String className, long classPK,
519                    long[] categoryIds, java.lang.String[] tagNames)
520                    throws com.liferay.portal.kernel.exception.PortalException;
521    
522            /**
523            * @deprecated As of 6.2.0, replaced by {@link #updateEntry(long, long,
524            Date, Date, String, long, String, long, long[], String[],
525            boolean, Date, Date, Date, String, String, String, String,
526            String, String, int, int, Integer, boolean)}
527            */
528            @java.lang.Deprecated
529            public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
530                    long groupId, java.lang.String className, long classPK,
531                    java.lang.String classUuid, long classTypeId, long[] categoryIds,
532                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
533                    java.util.Date endDate, java.util.Date expirationDate,
534                    java.lang.String mimeType, java.lang.String title,
535                    java.lang.String description, java.lang.String summary,
536                    java.lang.String url, java.lang.String layoutUuid, int height,
537                    int width, java.lang.Integer priority, boolean sync)
538                    throws com.liferay.portal.kernel.exception.PortalException;
539    
540            /**
541            * @deprecated As of 6.2.0, replaced by {@link #updateEntry(long, long,
542            String, long, String, long, long[], String[], boolean, Date,
543            Date, Date, String, String, String, String, String, String,
544            int, int, Integer, boolean)}
545            */
546            @java.lang.Deprecated
547            public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
548                    long groupId, java.lang.String className, long classPK,
549                    java.lang.String classUuid, long classTypeId, long[] categoryIds,
550                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
551                    java.util.Date endDate, java.util.Date publishDate,
552                    java.util.Date expirationDate, java.lang.String mimeType,
553                    java.lang.String title, java.lang.String description,
554                    java.lang.String summary, java.lang.String url,
555                    java.lang.String layoutUuid, int height, int width,
556                    java.lang.Integer priority, boolean sync)
557                    throws com.liferay.portal.kernel.exception.PortalException;
558    
559            public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
560                    long groupId, java.util.Date createDate, java.util.Date modifiedDate,
561                    java.lang.String className, long classPK, java.lang.String classUuid,
562                    long classTypeId, long[] categoryIds, java.lang.String[] tagNames,
563                    boolean visible, java.util.Date startDate, java.util.Date endDate,
564                    java.util.Date expirationDate, java.lang.String mimeType,
565                    java.lang.String title, java.lang.String description,
566                    java.lang.String summary, java.lang.String url,
567                    java.lang.String layoutUuid, int height, int width,
568                    java.lang.Integer priority, boolean sync)
569                    throws com.liferay.portal.kernel.exception.PortalException;
570    
571            public com.liferay.portlet.asset.model.AssetEntry updateVisible(
572                    java.lang.String className, long classPK, boolean visible)
573                    throws com.liferay.portal.kernel.exception.PortalException;
574    
575            /**
576            * @deprecated As of 7.0.0, replaced by {@link #validate(long, String, long,
577            long[], String[])}
578            */
579            @java.lang.Deprecated
580            public void validate(long groupId, java.lang.String className,
581                    long[] categoryIds, java.lang.String[] tagNames)
582                    throws com.liferay.portal.kernel.exception.PortalException;
583    
584            public void validate(long groupId, java.lang.String className,
585                    long classTypePK, long[] categoryIds, java.lang.String[] tagNames)
586                    throws com.liferay.portal.kernel.exception.PortalException;
587    }