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