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.journal.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.model.SystemEventConstants;
026    import com.liferay.portal.service.BaseLocalService;
027    import com.liferay.portal.service.PersistedModelLocalService;
028    
029    /**
030     * Provides the local service interface for JournalFolder. Methods of this
031     * service will not have security checks based on the propagated JAAS
032     * credentials because this service can only be accessed from within the same
033     * VM.
034     *
035     * @author Brian Wing Shun Chan
036     * @see JournalFolderLocalServiceUtil
037     * @see com.liferay.portlet.journal.service.base.JournalFolderLocalServiceBaseImpl
038     * @see com.liferay.portlet.journal.service.impl.JournalFolderLocalServiceImpl
039     * @generated
040     */
041    @ProviderType
042    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
043            PortalException.class, SystemException.class})
044    public interface JournalFolderLocalService extends BaseLocalService,
045            PersistedModelLocalService {
046            /*
047             * NOTE FOR DEVELOPERS:
048             *
049             * Never modify or reference this interface directly. Always use {@link JournalFolderLocalServiceUtil} to access the journal folder local service. Add custom service methods to {@link com.liferay.portlet.journal.service.impl.JournalFolderLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
050             */
051            public void addDDMStructureJournalFolder(long structureId, long folderId);
052    
053            public void addDDMStructureJournalFolder(long structureId,
054                    com.liferay.portlet.journal.model.JournalFolder journalFolder);
055    
056            public void addDDMStructureJournalFolders(long structureId,
057                    java.util.List<com.liferay.portlet.journal.model.JournalFolder> JournalFolders);
058    
059            public void addDDMStructureJournalFolders(long structureId, long[] folderIds);
060    
061            public com.liferay.portlet.journal.model.JournalFolder addFolder(
062                    long userId, long groupId, long parentFolderId, java.lang.String name,
063                    java.lang.String description,
064                    com.liferay.portal.service.ServiceContext serviceContext)
065                    throws com.liferay.portal.kernel.exception.PortalException;
066    
067            /**
068            * Adds the journal folder to the database. Also notifies the appropriate model listeners.
069            *
070            * @param journalFolder the journal folder
071            * @return the journal folder that was added
072            */
073            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
074            public com.liferay.portlet.journal.model.JournalFolder addJournalFolder(
075                    com.liferay.portlet.journal.model.JournalFolder journalFolder);
076    
077            public void clearDDMStructureJournalFolders(long structureId);
078    
079            /**
080            * Creates a new journal folder with the primary key. Does not add the journal folder to the database.
081            *
082            * @param folderId the primary key for the new journal folder
083            * @return the new journal folder
084            */
085            public com.liferay.portlet.journal.model.JournalFolder createJournalFolder(
086                    long folderId);
087    
088            public void deleteDDMStructureJournalFolder(long structureId, long folderId);
089    
090            public void deleteDDMStructureJournalFolder(long structureId,
091                    com.liferay.portlet.journal.model.JournalFolder journalFolder);
092    
093            public void deleteDDMStructureJournalFolders(long structureId,
094                    java.util.List<com.liferay.portlet.journal.model.JournalFolder> JournalFolders);
095    
096            public void deleteDDMStructureJournalFolders(long structureId,
097                    long[] folderIds);
098    
099            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
100            @com.liferay.portal.kernel.systemevent.SystemEvent(action = SystemEventConstants.ACTION_SKIP, type = SystemEventConstants.TYPE_DELETE)
101            public com.liferay.portlet.journal.model.JournalFolder deleteFolder(
102                    com.liferay.portlet.journal.model.JournalFolder folder)
103                    throws com.liferay.portal.kernel.exception.PortalException;
104    
105            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
106            @com.liferay.portal.kernel.systemevent.SystemEvent(action = SystemEventConstants.ACTION_SKIP, type = SystemEventConstants.TYPE_DELETE)
107            public com.liferay.portlet.journal.model.JournalFolder deleteFolder(
108                    com.liferay.portlet.journal.model.JournalFolder folder,
109                    boolean includeTrashedEntries)
110                    throws com.liferay.portal.kernel.exception.PortalException;
111    
112            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
113            public com.liferay.portlet.journal.model.JournalFolder deleteFolder(
114                    long folderId)
115                    throws com.liferay.portal.kernel.exception.PortalException;
116    
117            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
118            public com.liferay.portlet.journal.model.JournalFolder deleteFolder(
119                    long folderId, boolean includeTrashedEntries)
120                    throws com.liferay.portal.kernel.exception.PortalException;
121    
122            public void deleteFolders(long groupId)
123                    throws com.liferay.portal.kernel.exception.PortalException;
124    
125            /**
126            * Deletes the journal folder with the primary key from the database. Also notifies the appropriate model listeners.
127            *
128            * @param folderId the primary key of the journal folder
129            * @return the journal folder that was removed
130            * @throws PortalException if a journal folder with the primary key could not be found
131            */
132            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
133            public com.liferay.portlet.journal.model.JournalFolder deleteJournalFolder(
134                    long folderId)
135                    throws com.liferay.portal.kernel.exception.PortalException;
136    
137            /**
138            * Deletes the journal folder from the database. Also notifies the appropriate model listeners.
139            *
140            * @param journalFolder the journal folder
141            * @return the journal folder that was removed
142            */
143            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
144            public com.liferay.portlet.journal.model.JournalFolder deleteJournalFolder(
145                    com.liferay.portlet.journal.model.JournalFolder journalFolder);
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.journal.model.impl.JournalFolderModelImpl}. 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.journal.model.impl.JournalFolderModelImpl}. 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 that match the dynamic query.
202            *
203            * @param dynamicQuery the dynamic query
204            * @return the number of rows that match 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 that match 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 that match 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.journal.model.JournalFolder fetchFolder(
222                    long folderId);
223    
224            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
225            public com.liferay.portlet.journal.model.JournalFolder fetchFolder(
226                    long groupId, java.lang.String name);
227    
228            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
229            public com.liferay.portlet.journal.model.JournalFolder fetchFolder(
230                    long groupId, long parentFolderId, java.lang.String name);
231    
232            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
233            public com.liferay.portlet.journal.model.JournalFolder fetchJournalFolder(
234                    long folderId);
235    
236            /**
237            * Returns the journal folder matching the UUID and group.
238            *
239            * @param uuid the journal folder's UUID
240            * @param groupId the primary key of the group
241            * @return the matching journal folder, or <code>null</code> if a matching journal folder could not be found
242            */
243            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
244            public com.liferay.portlet.journal.model.JournalFolder fetchJournalFolderByUuidAndGroupId(
245                    java.lang.String uuid, long groupId);
246    
247            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
248            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
249    
250            /**
251            * Returns the Spring bean ID for this bean.
252            *
253            * @return the Spring bean ID for this bean
254            */
255            public java.lang.String getBeanIdentifier();
256    
257            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
258            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getCompanyFolders(
259                    long companyId, int start, int end);
260    
261            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
262            public int getCompanyFoldersCount(long companyId);
263    
264            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
265            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getDDMStructureJournalFolders(
266                    long structureId);
267    
268            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
269            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getDDMStructureJournalFolders(
270                    long structureId, int start, int end);
271    
272            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
273            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getDDMStructureJournalFolders(
274                    long structureId, int start, int end,
275                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalFolder> orderByComparator);
276    
277            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
278            public int getDDMStructureJournalFoldersCount(long structureId);
279    
280            /**
281            * Returns the structureIds of the d d m structures associated with the journal folder.
282            *
283            * @param folderId the folderId of the journal folder
284            * @return long[] the structureIds of d d m structures associated with the journal folder
285            */
286            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
287            public long[] getDDMStructurePrimaryKeys(long folderId);
288    
289            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
290            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
291                    com.liferay.portal.kernel.lar.PortletDataContext portletDataContext);
292    
293            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
294            public com.liferay.portlet.journal.model.JournalFolder getFolder(
295                    long folderId)
296                    throws com.liferay.portal.kernel.exception.PortalException;
297    
298            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
299            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
300                    long groupId);
301    
302            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
303            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
304                    long groupId, long parentFolderId);
305    
306            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
307            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
308                    long groupId, long parentFolderId, int start, int end);
309    
310            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
311            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
312                    long groupId, long parentFolderId, int status);
313    
314            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
315            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getFolders(
316                    long groupId, long parentFolderId, int status, int start, int end);
317    
318            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
319            public java.util.List<java.lang.Object> getFoldersAndArticles(
320                    long groupId, long folderId);
321    
322            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
323            public java.util.List<java.lang.Object> getFoldersAndArticles(
324                    long groupId, long folderId, int start, int end,
325                    com.liferay.portal.kernel.util.OrderByComparator<?> obc);
326    
327            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
328            public java.util.List<java.lang.Object> getFoldersAndArticles(
329                    long groupId, long folderId, int status);
330    
331            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
332            public int getFoldersAndArticlesCount(long groupId, long folderId);
333    
334            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
335            public int getFoldersAndArticlesCount(long groupId, long folderId,
336                    int status);
337    
338            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
339            public int getFoldersAndArticlesCount(long groupId,
340                    java.util.List<java.lang.Long> folderIds, int status);
341    
342            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
343            public int getFoldersCount(long groupId, long parentFolderId);
344    
345            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
346            public int getFoldersCount(long groupId, long parentFolderId, int status);
347    
348            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
349            public long getInheritedWorkflowFolderId(long folderId)
350                    throws com.liferay.portlet.journal.NoSuchFolderException;
351    
352            /**
353            * Returns the journal folder with the primary key.
354            *
355            * @param folderId the primary key of the journal folder
356            * @return the journal folder
357            * @throws PortalException if a journal folder with the primary key could not be found
358            */
359            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
360            public com.liferay.portlet.journal.model.JournalFolder getJournalFolder(
361                    long folderId)
362                    throws com.liferay.portal.kernel.exception.PortalException;
363    
364            /**
365            * Returns the journal folder matching the UUID and group.
366            *
367            * @param uuid the journal folder's UUID
368            * @param groupId the primary key of the group
369            * @return the matching journal folder
370            * @throws PortalException if a matching journal folder could not be found
371            */
372            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
373            public com.liferay.portlet.journal.model.JournalFolder getJournalFolderByUuidAndGroupId(
374                    java.lang.String uuid, long groupId)
375                    throws com.liferay.portal.kernel.exception.PortalException;
376    
377            /**
378            * Returns a range of all the journal folders.
379            *
380            * <p>
381            * 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.journal.model.impl.JournalFolderModelImpl}. 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.
382            * </p>
383            *
384            * @param start the lower bound of the range of journal folders
385            * @param end the upper bound of the range of journal folders (not inclusive)
386            * @return the range of journal folders
387            */
388            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
389            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getJournalFolders(
390                    int start, int end);
391    
392            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
393            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getJournalFoldersByUuidAndCompanyId(
394                    java.lang.String uuid, long companyId);
395    
396            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
397            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getJournalFoldersByUuidAndCompanyId(
398                    java.lang.String uuid, long companyId, int start, int end,
399                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalFolder> orderByComparator);
400    
401            /**
402            * Returns the number of journal folders.
403            *
404            * @return the number of journal folders
405            */
406            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
407            public int getJournalFoldersCount();
408    
409            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
410            public java.util.List<com.liferay.portlet.journal.model.JournalFolder> getNoAssetFolders();
411    
412            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
413            public long getOverridedDDMStructuresFolderId(long folderId)
414                    throws com.liferay.portlet.journal.NoSuchFolderException;
415    
416            @Override
417            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
418            public com.liferay.portal.model.PersistedModel getPersistedModel(
419                    java.io.Serializable primaryKeyObj)
420                    throws com.liferay.portal.kernel.exception.PortalException;
421    
422            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
423            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
424                    long groupId, long folderId);
425    
426            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
427            public boolean hasDDMStructureJournalFolder(long structureId, long folderId);
428    
429            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
430            public boolean hasDDMStructureJournalFolders(long structureId);
431    
432            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
433            public com.liferay.portlet.journal.model.JournalFolder moveFolder(
434                    long folderId, long parentFolderId,
435                    com.liferay.portal.service.ServiceContext serviceContext)
436                    throws com.liferay.portal.kernel.exception.PortalException;
437    
438            public com.liferay.portlet.journal.model.JournalFolder moveFolderFromTrash(
439                    long userId, long folderId, long parentFolderId,
440                    com.liferay.portal.service.ServiceContext serviceContext)
441                    throws com.liferay.portal.kernel.exception.PortalException;
442    
443            public com.liferay.portlet.journal.model.JournalFolder moveFolderToTrash(
444                    long userId, long folderId)
445                    throws com.liferay.portal.kernel.exception.PortalException;
446    
447            public void rebuildTree(long companyId)
448                    throws com.liferay.portal.kernel.exception.PortalException;
449    
450            public void rebuildTree(long companyId, long parentFolderId,
451                    java.lang.String parentTreePath, boolean reindex)
452                    throws com.liferay.portal.kernel.exception.PortalException;
453    
454            public void restoreFolderFromTrash(long userId, long folderId)
455                    throws com.liferay.portal.kernel.exception.PortalException;
456    
457            /**
458            * Sets the Spring bean ID for this bean.
459            *
460            * @param beanIdentifier the Spring bean ID for this bean
461            */
462            public void setBeanIdentifier(java.lang.String beanIdentifier);
463    
464            public void setDDMStructureJournalFolders(long structureId, long[] folderIds);
465    
466            public void subscribe(long userId, long groupId, long folderId)
467                    throws com.liferay.portal.kernel.exception.PortalException;
468    
469            public void unsubscribe(long userId, long groupId, long folderId)
470                    throws com.liferay.portal.kernel.exception.PortalException;
471    
472            public void updateAsset(long userId,
473                    com.liferay.portlet.journal.model.JournalFolder folder,
474                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
475                    long[] assetLinkEntryIds)
476                    throws com.liferay.portal.kernel.exception.PortalException;
477    
478            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
479            public com.liferay.portlet.journal.model.JournalFolder updateFolder(
480                    long userId, long folderId, long parentFolderId, java.lang.String name,
481                    java.lang.String description, long[] ddmStructureIds,
482                    int restrictionType, boolean mergeWithParentFolder,
483                    com.liferay.portal.service.ServiceContext serviceContext)
484                    throws com.liferay.portal.kernel.exception.PortalException;
485    
486            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
487            public com.liferay.portlet.journal.model.JournalFolder updateFolder(
488                    long userId, long folderId, long parentFolderId, java.lang.String name,
489                    java.lang.String description, boolean mergeWithParentFolder,
490                    com.liferay.portal.service.ServiceContext serviceContext)
491                    throws com.liferay.portal.kernel.exception.PortalException;
492    
493            public void updateFolderDDMStructures(
494                    com.liferay.portlet.journal.model.JournalFolder folder,
495                    long[] ddmStructureIdsArray);
496    
497            /**
498            * Updates the journal folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
499            *
500            * @param journalFolder the journal folder
501            * @return the journal folder that was updated
502            */
503            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
504            public com.liferay.portlet.journal.model.JournalFolder updateJournalFolder(
505                    com.liferay.portlet.journal.model.JournalFolder journalFolder);
506    
507            public com.liferay.portlet.journal.model.JournalFolder updateStatus(
508                    long userId, com.liferay.portlet.journal.model.JournalFolder folder,
509                    int status) throws com.liferay.portal.kernel.exception.PortalException;
510    
511            public void validateFolderDDMStructures(long folderId, long parentFolderId)
512                    throws com.liferay.portal.kernel.exception.PortalException;
513    }