001    /**
002     * Copyright (c) 2000-2012 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 com.liferay.portal.kernel.exception.PortalException;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.kernel.transaction.Isolation;
020    import com.liferay.portal.kernel.transaction.Propagation;
021    import com.liferay.portal.kernel.transaction.Transactional;
022    import com.liferay.portal.service.BaseLocalService;
023    import com.liferay.portal.service.PersistedModelLocalService;
024    
025    /**
026     * The interface for the journal article local service.
027     *
028     * <p>
029     * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
030     * </p>
031     *
032     * @author Brian Wing Shun Chan
033     * @see JournalArticleLocalServiceUtil
034     * @see com.liferay.portlet.journal.service.base.JournalArticleLocalServiceBaseImpl
035     * @see com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl
036     * @generated
037     */
038    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
039            PortalException.class, SystemException.class})
040    public interface JournalArticleLocalService extends BaseLocalService,
041            PersistedModelLocalService {
042            /*
043             * NOTE FOR DEVELOPERS:
044             *
045             * Never modify or reference this interface directly. Always use {@link JournalArticleLocalServiceUtil} to access the journal article local service. Add custom service methods to {@link com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
046             */
047    
048            /**
049            * Adds the journal article to the database. Also notifies the appropriate model listeners.
050            *
051            * @param journalArticle the journal article
052            * @return the journal article that was added
053            * @throws SystemException if a system exception occurred
054            */
055            public com.liferay.portlet.journal.model.JournalArticle addJournalArticle(
056                    com.liferay.portlet.journal.model.JournalArticle journalArticle)
057                    throws com.liferay.portal.kernel.exception.SystemException;
058    
059            /**
060            * Creates a new journal article with the primary key. Does not add the journal article to the database.
061            *
062            * @param id the primary key for the new journal article
063            * @return the new journal article
064            */
065            public com.liferay.portlet.journal.model.JournalArticle createJournalArticle(
066                    long id);
067    
068            /**
069            * Deletes the journal article with the primary key from the database. Also notifies the appropriate model listeners.
070            *
071            * @param id the primary key of the journal article
072            * @return the journal article that was removed
073            * @throws PortalException if a journal article with the primary key could not be found
074            * @throws SystemException if a system exception occurred
075            */
076            public com.liferay.portlet.journal.model.JournalArticle deleteJournalArticle(
077                    long id)
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException;
080    
081            /**
082            * Deletes the journal article from the database. Also notifies the appropriate model listeners.
083            *
084            * @param journalArticle the journal article
085            * @return the journal article that was removed
086            * @throws SystemException if a system exception occurred
087            */
088            public com.liferay.portlet.journal.model.JournalArticle deleteJournalArticle(
089                    com.liferay.portlet.journal.model.JournalArticle journalArticle)
090                    throws com.liferay.portal.kernel.exception.SystemException;
091    
092            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
093    
094            /**
095            * Performs a dynamic query on the database and returns the matching rows.
096            *
097            * @param dynamicQuery the dynamic query
098            * @return the matching rows
099            * @throws SystemException if a system exception occurred
100            */
101            @SuppressWarnings("rawtypes")
102            public java.util.List dynamicQuery(
103                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
104                    throws com.liferay.portal.kernel.exception.SystemException;
105    
106            /**
107            * Performs a dynamic query on the database and returns a range of the matching rows.
108            *
109            * <p>
110            * 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.JournalArticleModelImpl}. 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.
111            * </p>
112            *
113            * @param dynamicQuery the dynamic query
114            * @param start the lower bound of the range of model instances
115            * @param end the upper bound of the range of model instances (not inclusive)
116            * @return the range of matching rows
117            * @throws SystemException if a system exception occurred
118            */
119            @SuppressWarnings("rawtypes")
120            public java.util.List dynamicQuery(
121                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122                    int end) throws com.liferay.portal.kernel.exception.SystemException;
123    
124            /**
125            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
126            *
127            * <p>
128            * 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.JournalArticleModelImpl}. 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.
129            * </p>
130            *
131            * @param dynamicQuery the dynamic query
132            * @param start the lower bound of the range of model instances
133            * @param end the upper bound of the range of model instances (not inclusive)
134            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
135            * @return the ordered range of matching rows
136            * @throws SystemException if a system exception occurred
137            */
138            @SuppressWarnings("rawtypes")
139            public java.util.List dynamicQuery(
140                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
141                    int end,
142                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143                    throws com.liferay.portal.kernel.exception.SystemException;
144    
145            /**
146            * Returns the number of rows that match the dynamic query.
147            *
148            * @param dynamicQuery the dynamic query
149            * @return the number of rows that match the dynamic query
150            * @throws SystemException if a system exception occurred
151            */
152            public long dynamicQueryCount(
153                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
154                    throws com.liferay.portal.kernel.exception.SystemException;
155    
156            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
157            public com.liferay.portlet.journal.model.JournalArticle fetchJournalArticle(
158                    long id) throws com.liferay.portal.kernel.exception.SystemException;
159    
160            /**
161            * Returns the journal article with the primary key.
162            *
163            * @param id the primary key of the journal article
164            * @return the journal article
165            * @throws PortalException if a journal article with the primary key could not be found
166            * @throws SystemException if a system exception occurred
167            */
168            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
169            public com.liferay.portlet.journal.model.JournalArticle getJournalArticle(
170                    long id)
171                    throws com.liferay.portal.kernel.exception.PortalException,
172                            com.liferay.portal.kernel.exception.SystemException;
173    
174            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
175            public com.liferay.portal.model.PersistedModel getPersistedModel(
176                    java.io.Serializable primaryKeyObj)
177                    throws com.liferay.portal.kernel.exception.PortalException,
178                            com.liferay.portal.kernel.exception.SystemException;
179    
180            /**
181            * Returns the journal article with the UUID in the group.
182            *
183            * @param uuid the UUID of journal article
184            * @param groupId the group id of the journal article
185            * @return the journal article
186            * @throws PortalException if a journal article with the UUID in the group could not be found
187            * @throws SystemException if a system exception occurred
188            */
189            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
190            public com.liferay.portlet.journal.model.JournalArticle getJournalArticleByUuidAndGroupId(
191                    java.lang.String uuid, long groupId)
192                    throws com.liferay.portal.kernel.exception.PortalException,
193                            com.liferay.portal.kernel.exception.SystemException;
194    
195            /**
196            * Returns a range of all the journal articles.
197            *
198            * <p>
199            * 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.JournalArticleModelImpl}. 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.
200            * </p>
201            *
202            * @param start the lower bound of the range of journal articles
203            * @param end the upper bound of the range of journal articles (not inclusive)
204            * @return the range of journal articles
205            * @throws SystemException if a system exception occurred
206            */
207            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
208            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getJournalArticles(
209                    int start, int end)
210                    throws com.liferay.portal.kernel.exception.SystemException;
211    
212            /**
213            * Returns the number of journal articles.
214            *
215            * @return the number of journal articles
216            * @throws SystemException if a system exception occurred
217            */
218            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
219            public int getJournalArticlesCount()
220                    throws com.liferay.portal.kernel.exception.SystemException;
221    
222            /**
223            * Updates the journal article in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
224            *
225            * @param journalArticle the journal article
226            * @return the journal article that was updated
227            * @throws SystemException if a system exception occurred
228            */
229            public com.liferay.portlet.journal.model.JournalArticle updateJournalArticle(
230                    com.liferay.portlet.journal.model.JournalArticle journalArticle)
231                    throws com.liferay.portal.kernel.exception.SystemException;
232    
233            /**
234            * Returns the Spring bean ID for this bean.
235            *
236            * @return the Spring bean ID for this bean
237            */
238            public java.lang.String getBeanIdentifier();
239    
240            /**
241            * Sets the Spring bean ID for this bean.
242            *
243            * @param beanIdentifier the Spring bean ID for this bean
244            */
245            public void setBeanIdentifier(java.lang.String beanIdentifier);
246    
247            public com.liferay.portlet.journal.model.JournalArticle addArticle(
248                    long userId, long groupId, long folderId, long classNameId,
249                    long classPK, java.lang.String articleId, boolean autoArticleId,
250                    double version,
251                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
252                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
253                    java.lang.String content, java.lang.String type,
254                    java.lang.String structureId, java.lang.String templateId,
255                    java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
256                    int displayDateYear, int displayDateHour, int displayDateMinute,
257                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
258                    int expirationDateHour, int expirationDateMinute, boolean neverExpire,
259                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
260                    int reviewDateHour, int reviewDateMinute, boolean neverReview,
261                    boolean indexable, boolean smallImage, java.lang.String smallImageURL,
262                    java.io.File smallImageFile,
263                    java.util.Map<java.lang.String, byte[]> images,
264                    java.lang.String articleURL,
265                    com.liferay.portal.service.ServiceContext serviceContext)
266                    throws com.liferay.portal.kernel.exception.PortalException,
267                            com.liferay.portal.kernel.exception.SystemException;
268    
269            public com.liferay.portlet.journal.model.JournalArticle addArticle(
270                    long userId, long groupId, long folderId,
271                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
272                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
273                    java.lang.String content, java.lang.String structureId,
274                    java.lang.String templateId,
275                    com.liferay.portal.service.ServiceContext serviceContext)
276                    throws com.liferay.portal.kernel.exception.PortalException,
277                            com.liferay.portal.kernel.exception.SystemException;
278    
279            public void addArticleResources(
280                    com.liferay.portlet.journal.model.JournalArticle article,
281                    boolean addGroupPermissions, boolean addGuestPermissions)
282                    throws com.liferay.portal.kernel.exception.PortalException,
283                            com.liferay.portal.kernel.exception.SystemException;
284    
285            public void addArticleResources(
286                    com.liferay.portlet.journal.model.JournalArticle article,
287                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
288                    throws com.liferay.portal.kernel.exception.PortalException,
289                            com.liferay.portal.kernel.exception.SystemException;
290    
291            public void addArticleResources(long groupId, java.lang.String articleId,
292                    boolean addGroupPermissions, boolean addGuestPermissions)
293                    throws com.liferay.portal.kernel.exception.PortalException,
294                            com.liferay.portal.kernel.exception.SystemException;
295    
296            public void addArticleResources(long groupId, java.lang.String articleId,
297                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
298                    throws com.liferay.portal.kernel.exception.PortalException,
299                            com.liferay.portal.kernel.exception.SystemException;
300    
301            public com.liferay.portlet.journal.model.JournalArticle checkArticleResourcePrimKey(
302                    long groupId, java.lang.String articleId, double version)
303                    throws com.liferay.portal.kernel.exception.PortalException,
304                            com.liferay.portal.kernel.exception.SystemException;
305    
306            public void checkArticles()
307                    throws com.liferay.portal.kernel.exception.PortalException,
308                            com.liferay.portal.kernel.exception.SystemException;
309    
310            public void checkNewLine(long groupId, java.lang.String articleId,
311                    double version)
312                    throws com.liferay.portal.kernel.exception.PortalException,
313                            com.liferay.portal.kernel.exception.SystemException;
314    
315            public void checkStructure(long groupId, java.lang.String articleId,
316                    double version)
317                    throws com.liferay.portal.kernel.exception.PortalException,
318                            com.liferay.portal.kernel.exception.SystemException;
319    
320            public com.liferay.portlet.journal.model.JournalArticle copyArticle(
321                    long userId, long groupId, java.lang.String oldArticleId,
322                    java.lang.String newArticleId, boolean autoArticleId, double version)
323                    throws com.liferay.portal.kernel.exception.PortalException,
324                            com.liferay.portal.kernel.exception.SystemException;
325    
326            public void deleteArticle(
327                    com.liferay.portlet.journal.model.JournalArticle article)
328                    throws com.liferay.portal.kernel.exception.PortalException,
329                            com.liferay.portal.kernel.exception.SystemException;
330    
331            public void deleteArticle(
332                    com.liferay.portlet.journal.model.JournalArticle article,
333                    java.lang.String articleURL,
334                    com.liferay.portal.service.ServiceContext serviceContext)
335                    throws com.liferay.portal.kernel.exception.PortalException,
336                            com.liferay.portal.kernel.exception.SystemException;
337    
338            public void deleteArticle(long groupId, java.lang.String articleId,
339                    double version, java.lang.String articleURL,
340                    com.liferay.portal.service.ServiceContext serviceContext)
341                    throws com.liferay.portal.kernel.exception.PortalException,
342                            com.liferay.portal.kernel.exception.SystemException;
343    
344            public void deleteArticle(long groupId, java.lang.String articleId,
345                    com.liferay.portal.service.ServiceContext serviceContext)
346                    throws com.liferay.portal.kernel.exception.PortalException,
347                            com.liferay.portal.kernel.exception.SystemException;
348    
349            public void deleteArticles(long groupId)
350                    throws com.liferay.portal.kernel.exception.PortalException,
351                            com.liferay.portal.kernel.exception.SystemException;
352    
353            public void deleteArticles(long groupId, long folderId)
354                    throws com.liferay.portal.kernel.exception.PortalException,
355                            com.liferay.portal.kernel.exception.SystemException;
356    
357            public void deleteLayoutArticleReferences(long groupId,
358                    java.lang.String layoutUuid)
359                    throws com.liferay.portal.kernel.exception.SystemException;
360    
361            public com.liferay.portlet.journal.model.JournalArticle expireArticle(
362                    long userId, long groupId, java.lang.String articleId, double version,
363                    java.lang.String articleURL,
364                    com.liferay.portal.service.ServiceContext serviceContext)
365                    throws com.liferay.portal.kernel.exception.PortalException,
366                            com.liferay.portal.kernel.exception.SystemException;
367    
368            public void expireArticle(long userId, long groupId,
369                    java.lang.String articleId, java.lang.String articleURL,
370                    com.liferay.portal.service.ServiceContext serviceContext)
371                    throws com.liferay.portal.kernel.exception.PortalException,
372                            com.liferay.portal.kernel.exception.SystemException;
373    
374            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
375            public com.liferay.portlet.journal.model.JournalArticle fetchArticle(
376                    java.lang.String uuid, long groupId)
377                    throws com.liferay.portal.kernel.exception.SystemException;
378    
379            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
380            public com.liferay.portlet.journal.model.JournalArticle getArticle(long id)
381                    throws com.liferay.portal.kernel.exception.PortalException,
382                            com.liferay.portal.kernel.exception.SystemException;
383    
384            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
385            public com.liferay.portlet.journal.model.JournalArticle getArticle(
386                    long groupId, java.lang.String articleId)
387                    throws com.liferay.portal.kernel.exception.PortalException,
388                            com.liferay.portal.kernel.exception.SystemException;
389    
390            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
391            public com.liferay.portlet.journal.model.JournalArticle getArticle(
392                    long groupId, java.lang.String articleId, double version)
393                    throws com.liferay.portal.kernel.exception.PortalException,
394                            com.liferay.portal.kernel.exception.SystemException;
395    
396            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
397            public com.liferay.portlet.journal.model.JournalArticle getArticle(
398                    long groupId, java.lang.String className, long classPK)
399                    throws com.liferay.portal.kernel.exception.PortalException,
400                            com.liferay.portal.kernel.exception.SystemException;
401    
402            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
403            public com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
404                    long groupId, java.lang.String urlTitle)
405                    throws com.liferay.portal.kernel.exception.PortalException,
406                            com.liferay.portal.kernel.exception.SystemException;
407    
408            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
409            public java.lang.String getArticleContent(
410                    com.liferay.portlet.journal.model.JournalArticle article,
411                    java.lang.String templateId, java.lang.String viewMode,
412                    java.lang.String languageId,
413                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
414                    throws com.liferay.portal.kernel.exception.PortalException,
415                            com.liferay.portal.kernel.exception.SystemException;
416    
417            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
418            public java.lang.String getArticleContent(long groupId,
419                    java.lang.String articleId, double version, java.lang.String viewMode,
420                    java.lang.String templateId, java.lang.String languageId,
421                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
422                    throws com.liferay.portal.kernel.exception.PortalException,
423                            com.liferay.portal.kernel.exception.SystemException;
424    
425            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
426            public java.lang.String getArticleContent(long groupId,
427                    java.lang.String articleId, double version, java.lang.String viewMode,
428                    java.lang.String languageId,
429                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
430                    throws com.liferay.portal.kernel.exception.PortalException,
431                            com.liferay.portal.kernel.exception.SystemException;
432    
433            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
434            public java.lang.String getArticleContent(long groupId,
435                    java.lang.String articleId, java.lang.String viewMode,
436                    java.lang.String templateId, java.lang.String languageId,
437                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
438                    throws com.liferay.portal.kernel.exception.PortalException,
439                            com.liferay.portal.kernel.exception.SystemException;
440    
441            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
442            public java.lang.String getArticleContent(long groupId,
443                    java.lang.String articleId, java.lang.String viewMode,
444                    java.lang.String languageId,
445                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
446                    throws com.liferay.portal.kernel.exception.PortalException,
447                            com.liferay.portal.kernel.exception.SystemException;
448    
449            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
450            public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
451                    com.liferay.portlet.journal.model.JournalArticle article,
452                    java.lang.String templateId, java.lang.String viewMode,
453                    java.lang.String languageId, int page, java.lang.String xmlRequest,
454                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
455                    throws com.liferay.portal.kernel.exception.PortalException,
456                            com.liferay.portal.kernel.exception.SystemException;
457    
458            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
459            public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
460                    long groupId, java.lang.String articleId, double version,
461                    java.lang.String templateId, java.lang.String viewMode,
462                    java.lang.String languageId, int page, java.lang.String xmlRequest,
463                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
464                    throws com.liferay.portal.kernel.exception.PortalException,
465                            com.liferay.portal.kernel.exception.SystemException;
466    
467            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
468            public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
469                    long groupId, java.lang.String articleId, double version,
470                    java.lang.String templateId, java.lang.String viewMode,
471                    java.lang.String languageId,
472                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
473                    throws com.liferay.portal.kernel.exception.PortalException,
474                            com.liferay.portal.kernel.exception.SystemException;
475    
476            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
477            public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
478                    long groupId, java.lang.String articleId, java.lang.String viewMode,
479                    java.lang.String languageId, int page, java.lang.String xmlRequest,
480                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
481                    throws com.liferay.portal.kernel.exception.PortalException,
482                            com.liferay.portal.kernel.exception.SystemException;
483    
484            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
485            public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
486                    long groupId, java.lang.String articleId, java.lang.String templateId,
487                    java.lang.String viewMode, java.lang.String languageId, int page,
488                    java.lang.String xmlRequest,
489                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
490                    throws com.liferay.portal.kernel.exception.PortalException,
491                            com.liferay.portal.kernel.exception.SystemException;
492    
493            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
494            public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
495                    long groupId, java.lang.String articleId, java.lang.String templateId,
496                    java.lang.String viewMode, java.lang.String languageId,
497                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
498                    throws com.liferay.portal.kernel.exception.PortalException,
499                            com.liferay.portal.kernel.exception.SystemException;
500    
501            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
502            public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
503                    long groupId, java.lang.String articleId, java.lang.String viewMode,
504                    java.lang.String languageId,
505                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
506                    throws com.liferay.portal.kernel.exception.PortalException,
507                            com.liferay.portal.kernel.exception.SystemException;
508    
509            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
510            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles()
511                    throws com.liferay.portal.kernel.exception.SystemException;
512    
513            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
514            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
515                    long groupId)
516                    throws com.liferay.portal.kernel.exception.SystemException;
517    
518            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
519            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
520                    long groupId, int start, int end)
521                    throws com.liferay.portal.kernel.exception.SystemException;
522    
523            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
524            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
525                    long groupId, int start, int end,
526                    com.liferay.portal.kernel.util.OrderByComparator obc)
527                    throws com.liferay.portal.kernel.exception.SystemException;
528    
529            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
530            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
531                    long groupId, long folderId)
532                    throws com.liferay.portal.kernel.exception.SystemException;
533    
534            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
535            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
536                    long groupId, long folderId, int start, int end)
537                    throws com.liferay.portal.kernel.exception.SystemException;
538    
539            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
540            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
541                    long groupId, long folderId, int start, int end,
542                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
543                    throws com.liferay.portal.kernel.exception.SystemException;
544    
545            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
546            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
547                    long groupId, java.lang.String articleId)
548                    throws com.liferay.portal.kernel.exception.SystemException;
549    
550            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
551            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesBySmallImageId(
552                    long smallImageId)
553                    throws com.liferay.portal.kernel.exception.SystemException;
554    
555            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
556            public int getArticlesCount(long groupId)
557                    throws com.liferay.portal.kernel.exception.SystemException;
558    
559            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
560            public int getArticlesCount(long groupId, long folderId)
561                    throws com.liferay.portal.kernel.exception.SystemException;
562    
563            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
564            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getCompanyArticles(
565                    long companyId, double version, int status, int start, int end)
566                    throws com.liferay.portal.kernel.exception.SystemException;
567    
568            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
569            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getCompanyArticles(
570                    long companyId, int status, int start, int end)
571                    throws com.liferay.portal.kernel.exception.SystemException;
572    
573            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
574            public int getCompanyArticlesCount(long companyId, double version,
575                    int status, int start, int end)
576                    throws com.liferay.portal.kernel.exception.SystemException;
577    
578            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
579            public int getCompanyArticlesCount(long companyId, int status)
580                    throws com.liferay.portal.kernel.exception.SystemException;
581    
582            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
583            public com.liferay.portlet.journal.model.JournalArticle getDisplayArticle(
584                    long groupId, java.lang.String articleId)
585                    throws com.liferay.portal.kernel.exception.PortalException,
586                            com.liferay.portal.kernel.exception.SystemException;
587    
588            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
589            public com.liferay.portlet.journal.model.JournalArticle getDisplayArticleByUrlTitle(
590                    long groupId, java.lang.String urlTitle)
591                    throws com.liferay.portal.kernel.exception.PortalException,
592                            com.liferay.portal.kernel.exception.SystemException;
593    
594            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
595            public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
596                    long resourcePrimKey)
597                    throws com.liferay.portal.kernel.exception.PortalException,
598                            com.liferay.portal.kernel.exception.SystemException;
599    
600            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
601            public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
602                    long resourcePrimKey, int status)
603                    throws com.liferay.portal.kernel.exception.PortalException,
604                            com.liferay.portal.kernel.exception.SystemException;
605    
606            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
607            public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
608                    long resourcePrimKey, int status, boolean preferApproved)
609                    throws com.liferay.portal.kernel.exception.PortalException,
610                            com.liferay.portal.kernel.exception.SystemException;
611    
612            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
613            public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
614                    long groupId, java.lang.String articleId)
615                    throws com.liferay.portal.kernel.exception.PortalException,
616                            com.liferay.portal.kernel.exception.SystemException;
617    
618            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
619            public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
620                    long groupId, java.lang.String articleId, int status)
621                    throws com.liferay.portal.kernel.exception.PortalException,
622                            com.liferay.portal.kernel.exception.SystemException;
623    
624            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
625            public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
626                    long groupId, java.lang.String className, long classPK)
627                    throws com.liferay.portal.kernel.exception.PortalException,
628                            com.liferay.portal.kernel.exception.SystemException;
629    
630            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
631            public com.liferay.portlet.journal.model.JournalArticle getLatestArticleByUrlTitle(
632                    long groupId, java.lang.String urlTitle, int status)
633                    throws com.liferay.portal.kernel.exception.PortalException,
634                            com.liferay.portal.kernel.exception.SystemException;
635    
636            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
637            public double getLatestVersion(long groupId, java.lang.String articleId)
638                    throws com.liferay.portal.kernel.exception.PortalException,
639                            com.liferay.portal.kernel.exception.SystemException;
640    
641            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
642            public double getLatestVersion(long groupId, java.lang.String articleId,
643                    int status)
644                    throws com.liferay.portal.kernel.exception.PortalException,
645                            com.liferay.portal.kernel.exception.SystemException;
646    
647            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
648            public int getNotInTrashArticlesCount(long groupId, long folderId)
649                    throws com.liferay.portal.kernel.exception.SystemException;
650    
651            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
652            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
653                    long groupId, java.lang.String structureId)
654                    throws com.liferay.portal.kernel.exception.SystemException;
655    
656            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
657            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
658                    long groupId, java.lang.String structureId, int start, int end,
659                    com.liferay.portal.kernel.util.OrderByComparator obc)
660                    throws com.liferay.portal.kernel.exception.SystemException;
661    
662            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
663            public int getStructureArticlesCount(long groupId,
664                    java.lang.String structureId)
665                    throws com.liferay.portal.kernel.exception.SystemException;
666    
667            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
668            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
669                    long groupId, java.lang.String templateId)
670                    throws com.liferay.portal.kernel.exception.SystemException;
671    
672            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
673            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
674                    long groupId, java.lang.String templateId, int start, int end,
675                    com.liferay.portal.kernel.util.OrderByComparator obc)
676                    throws com.liferay.portal.kernel.exception.SystemException;
677    
678            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
679            public int getTemplateArticlesCount(long groupId,
680                    java.lang.String templateId)
681                    throws com.liferay.portal.kernel.exception.SystemException;
682    
683            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
684            public boolean hasArticle(long groupId, java.lang.String articleId)
685                    throws com.liferay.portal.kernel.exception.SystemException;
686    
687            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
688            public boolean isLatestVersion(long groupId, java.lang.String articleId,
689                    double version)
690                    throws com.liferay.portal.kernel.exception.PortalException,
691                            com.liferay.portal.kernel.exception.SystemException;
692    
693            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
694            public boolean isLatestVersion(long groupId, java.lang.String articleId,
695                    double version, int status)
696                    throws com.liferay.portal.kernel.exception.PortalException,
697                            com.liferay.portal.kernel.exception.SystemException;
698    
699            public void moveArticle(long groupId, java.lang.String articleId,
700                    long newFolderId)
701                    throws com.liferay.portal.kernel.exception.SystemException;
702    
703            public com.liferay.portlet.journal.model.JournalArticle moveArticleToTrash(
704                    long userId, com.liferay.portlet.journal.model.JournalArticle article)
705                    throws com.liferay.portal.kernel.exception.PortalException,
706                            com.liferay.portal.kernel.exception.SystemException;
707    
708            public com.liferay.portlet.journal.model.JournalArticle moveArticleToTrash(
709                    long userId, long groupId, java.lang.String articleId)
710                    throws com.liferay.portal.kernel.exception.PortalException,
711                            com.liferay.portal.kernel.exception.SystemException;
712    
713            public com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
714                    long groupId, java.lang.String articleId, double version,
715                    java.lang.String languageId)
716                    throws com.liferay.portal.kernel.exception.PortalException,
717                            com.liferay.portal.kernel.exception.SystemException;
718    
719            public void restoreArticleFromTrash(long userId,
720                    com.liferay.portlet.journal.model.JournalArticle article)
721                    throws com.liferay.portal.kernel.exception.PortalException,
722                            com.liferay.portal.kernel.exception.SystemException;
723    
724            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
725            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
726                    long companyId, long groupId, java.util.List<java.lang.Long> folderIds,
727                    long classNameId, java.lang.String keywords, java.lang.Double version,
728                    java.lang.String type, java.lang.String structureId,
729                    java.lang.String templateId, java.util.Date displayDateGT,
730                    java.util.Date displayDateLT, int status, java.util.Date reviewDate,
731                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
732                    throws com.liferay.portal.kernel.exception.SystemException;
733    
734            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
735            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
736                    long companyId, long groupId, java.util.List<java.lang.Long> folderIds,
737                    long classNameId, java.lang.String articleId, java.lang.Double version,
738                    java.lang.String title, java.lang.String description,
739                    java.lang.String content, java.lang.String type,
740                    java.lang.String structureId, java.lang.String templateId,
741                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
742                    java.util.Date reviewDate, boolean andOperator, int start, int end,
743                    com.liferay.portal.kernel.util.OrderByComparator obc)
744                    throws com.liferay.portal.kernel.exception.SystemException;
745    
746            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
747            public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
748                    long companyId, long groupId, java.util.List<java.lang.Long> folderIds,
749                    long classNameId, java.lang.String articleId, java.lang.Double version,
750                    java.lang.String title, java.lang.String description,
751                    java.lang.String content, java.lang.String type,
752                    java.lang.String[] structureIds, java.lang.String[] templateIds,
753                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
754                    java.util.Date reviewDate, boolean andOperator, int start, int end,
755                    com.liferay.portal.kernel.util.OrderByComparator obc)
756                    throws com.liferay.portal.kernel.exception.SystemException;
757    
758            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
759            public com.liferay.portal.kernel.search.Hits search(long companyId,
760                    long groupId, java.util.List<java.lang.Long> folderIds,
761                    long classNameId, java.lang.String structureId,
762                    java.lang.String templateId, java.lang.String keywords,
763                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
764                    int start, int end, com.liferay.portal.kernel.search.Sort sort)
765                    throws com.liferay.portal.kernel.exception.SystemException;
766    
767            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
768            public com.liferay.portal.kernel.search.Hits search(long companyId,
769                    long groupId, java.util.List<java.lang.Long> folderIds,
770                    long classNameId, java.lang.String articleId, java.lang.String title,
771                    java.lang.String description, java.lang.String content,
772                    java.lang.String type, java.lang.String status,
773                    java.lang.String structureId, java.lang.String templateId,
774                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
775                    boolean andSearch, int start, int end,
776                    com.liferay.portal.kernel.search.Sort sort)
777                    throws com.liferay.portal.kernel.exception.SystemException;
778    
779            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
780            public int searchCount(long companyId, long groupId,
781                    java.util.List<java.lang.Long> folderIds, long classNameId,
782                    java.lang.String keywords, java.lang.Double version,
783                    java.lang.String type, java.lang.String structureId,
784                    java.lang.String templateId, java.util.Date displayDateGT,
785                    java.util.Date displayDateLT, int status, java.util.Date reviewDate)
786                    throws com.liferay.portal.kernel.exception.SystemException;
787    
788            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
789            public int searchCount(long companyId, long groupId,
790                    java.util.List<java.lang.Long> folderIds, long classNameId,
791                    java.lang.String articleId, java.lang.Double version,
792                    java.lang.String title, java.lang.String description,
793                    java.lang.String content, java.lang.String type,
794                    java.lang.String structureId, java.lang.String templateId,
795                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
796                    java.util.Date reviewDate, boolean andOperator)
797                    throws com.liferay.portal.kernel.exception.SystemException;
798    
799            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
800            public int searchCount(long companyId, long groupId,
801                    java.util.List<java.lang.Long> folderIds, long classNameId,
802                    java.lang.String articleId, java.lang.Double version,
803                    java.lang.String title, java.lang.String description,
804                    java.lang.String content, java.lang.String type,
805                    java.lang.String[] structureIds, java.lang.String[] templateIds,
806                    java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
807                    java.util.Date reviewDate, boolean andOperator)
808                    throws com.liferay.portal.kernel.exception.SystemException;
809    
810            public void subscribe(long userId, long groupId)
811                    throws com.liferay.portal.kernel.exception.PortalException,
812                            com.liferay.portal.kernel.exception.SystemException;
813    
814            public void unsubscribe(long userId, long groupId)
815                    throws com.liferay.portal.kernel.exception.PortalException,
816                            com.liferay.portal.kernel.exception.SystemException;
817    
818            public com.liferay.portlet.journal.model.JournalArticle updateArticle(
819                    long userId, long groupId, long folderId, java.lang.String articleId,
820                    double version,
821                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
822                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
823                    java.lang.String content, java.lang.String layoutUuid,
824                    com.liferay.portal.service.ServiceContext serviceContext)
825                    throws com.liferay.portal.kernel.exception.PortalException,
826                            com.liferay.portal.kernel.exception.SystemException;
827    
828            public com.liferay.portlet.journal.model.JournalArticle updateArticle(
829                    long userId, long groupId, long folderId, java.lang.String articleId,
830                    double version,
831                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
832                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
833                    java.lang.String content, java.lang.String type,
834                    java.lang.String structureId, java.lang.String templateId,
835                    java.lang.String layoutUuid, int displayDateMonth, int displayDateDay,
836                    int displayDateYear, int displayDateHour, int displayDateMinute,
837                    int expirationDateMonth, int expirationDateDay, int expirationDateYear,
838                    int expirationDateHour, int expirationDateMinute, boolean neverExpire,
839                    int reviewDateMonth, int reviewDateDay, int reviewDateYear,
840                    int reviewDateHour, int reviewDateMinute, boolean neverReview,
841                    boolean indexable, boolean smallImage, java.lang.String smallImageURL,
842                    java.io.File smallImageFile,
843                    java.util.Map<java.lang.String, byte[]> images,
844                    java.lang.String articleURL,
845                    com.liferay.portal.service.ServiceContext serviceContext)
846                    throws com.liferay.portal.kernel.exception.PortalException,
847                            com.liferay.portal.kernel.exception.SystemException;
848    
849            public com.liferay.portlet.journal.model.JournalArticle updateArticle(
850                    long userId, long groupId, long folderId, java.lang.String articleId,
851                    double version, java.lang.String content,
852                    com.liferay.portal.service.ServiceContext serviceContext)
853                    throws com.liferay.portal.kernel.exception.PortalException,
854                            com.liferay.portal.kernel.exception.SystemException;
855    
856            /**
857            * @deprecated {@link #updateArticleTranslation(long, String, double,
858            Locale, String, String, String, Map, ServiceContext)}
859            */
860            public com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
861                    long groupId, java.lang.String articleId, double version,
862                    java.util.Locale locale, java.lang.String title,
863                    java.lang.String description, java.lang.String content,
864                    java.util.Map<java.lang.String, byte[]> images)
865                    throws com.liferay.portal.kernel.exception.PortalException,
866                            com.liferay.portal.kernel.exception.SystemException;
867    
868            public com.liferay.portlet.journal.model.JournalArticle updateArticleTranslation(
869                    long groupId, java.lang.String articleId, double version,
870                    java.util.Locale locale, java.lang.String title,
871                    java.lang.String description, java.lang.String content,
872                    java.util.Map<java.lang.String, byte[]> images,
873                    com.liferay.portal.service.ServiceContext serviceContext)
874                    throws com.liferay.portal.kernel.exception.PortalException,
875                            com.liferay.portal.kernel.exception.SystemException;
876    
877            public void updateAsset(long userId,
878                    com.liferay.portlet.journal.model.JournalArticle article,
879                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
880                    long[] assetLinkEntryIds)
881                    throws com.liferay.portal.kernel.exception.PortalException,
882                            com.liferay.portal.kernel.exception.SystemException;
883    
884            public com.liferay.portlet.journal.model.JournalArticle updateContent(
885                    long groupId, java.lang.String articleId, double version,
886                    java.lang.String content)
887                    throws com.liferay.portal.kernel.exception.PortalException,
888                            com.liferay.portal.kernel.exception.SystemException;
889    
890            public com.liferay.portlet.journal.model.JournalArticle updateStatus(
891                    long userId, com.liferay.portlet.journal.model.JournalArticle article,
892                    int status, java.lang.String articleURL,
893                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
894                    com.liferay.portal.service.ServiceContext serviceContext)
895                    throws com.liferay.portal.kernel.exception.PortalException,
896                            com.liferay.portal.kernel.exception.SystemException;
897    
898            public com.liferay.portlet.journal.model.JournalArticle updateStatus(
899                    long userId, long classPK, int status,
900                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
901                    com.liferay.portal.service.ServiceContext serviceContext)
902                    throws com.liferay.portal.kernel.exception.PortalException,
903                            com.liferay.portal.kernel.exception.SystemException;
904    
905            public com.liferay.portlet.journal.model.JournalArticle updateStatus(
906                    long userId, long groupId, java.lang.String articleId, double version,
907                    int status, java.lang.String articleURL,
908                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
909                    com.liferay.portal.service.ServiceContext serviceContext)
910                    throws com.liferay.portal.kernel.exception.PortalException,
911                            com.liferay.portal.kernel.exception.SystemException;
912    
913            public void updateTemplateId(long groupId, long classNameId,
914                    java.lang.String oldTemplateId, java.lang.String newTemplateId)
915                    throws com.liferay.portal.kernel.exception.SystemException;
916    }