001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.wiki.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.PersistedModelLocalService;
023    
024    /**
025     * The interface for the wiki page local service.
026     *
027     * <p>
028     * 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.
029     * </p>
030     *
031     * @author Brian Wing Shun Chan
032     * @see WikiPageLocalServiceUtil
033     * @see com.liferay.portlet.wiki.service.base.WikiPageLocalServiceBaseImpl
034     * @see com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl
035     * @generated
036     */
037    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
038            PortalException.class, SystemException.class})
039    public interface WikiPageLocalService extends PersistedModelLocalService {
040            /*
041             * NOTE FOR DEVELOPERS:
042             *
043             * Never modify or reference this interface directly. Always use {@link WikiPageLocalServiceUtil} to access the wiki page local service. Add custom service methods to {@link com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
044             */
045    
046            /**
047            * Adds the wiki page to the database. Also notifies the appropriate model listeners.
048            *
049            * @param wikiPage the wiki page
050            * @return the wiki page that was added
051            * @throws SystemException if a system exception occurred
052            */
053            public com.liferay.portlet.wiki.model.WikiPage addWikiPage(
054                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
055                    throws com.liferay.portal.kernel.exception.SystemException;
056    
057            /**
058            * Creates a new wiki page with the primary key. Does not add the wiki page to the database.
059            *
060            * @param pageId the primary key for the new wiki page
061            * @return the new wiki page
062            */
063            public com.liferay.portlet.wiki.model.WikiPage createWikiPage(long pageId);
064    
065            /**
066            * Deletes the wiki page with the primary key from the database. Also notifies the appropriate model listeners.
067            *
068            * @param pageId the primary key of the wiki page
069            * @throws PortalException if a wiki page with the primary key could not be found
070            * @throws SystemException if a system exception occurred
071            */
072            public void deleteWikiPage(long pageId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException;
075    
076            /**
077            * Deletes the wiki page from the database. Also notifies the appropriate model listeners.
078            *
079            * @param wikiPage the wiki page
080            * @throws SystemException if a system exception occurred
081            */
082            public void deleteWikiPage(com.liferay.portlet.wiki.model.WikiPage wikiPage)
083                    throws com.liferay.portal.kernel.exception.SystemException;
084    
085            /**
086            * Performs a dynamic query on the database and returns the matching rows.
087            *
088            * @param dynamicQuery the dynamic query
089            * @return the matching rows
090            * @throws SystemException if a system exception occurred
091            */
092            @SuppressWarnings("rawtypes")
093            public java.util.List dynamicQuery(
094                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
095                    throws com.liferay.portal.kernel.exception.SystemException;
096    
097            /**
098            * Performs a dynamic query on the database and returns a range of the matching rows.
099            *
100            * <p>
101            * 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.
102            * </p>
103            *
104            * @param dynamicQuery the dynamic query
105            * @param start the lower bound of the range of model instances
106            * @param end the upper bound of the range of model instances (not inclusive)
107            * @return the range of matching rows
108            * @throws SystemException if a system exception occurred
109            */
110            @SuppressWarnings("rawtypes")
111            public java.util.List dynamicQuery(
112                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
113                    int end) throws com.liferay.portal.kernel.exception.SystemException;
114    
115            /**
116            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
117            *
118            * <p>
119            * 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.
120            * </p>
121            *
122            * @param dynamicQuery the dynamic query
123            * @param start the lower bound of the range of model instances
124            * @param end the upper bound of the range of model instances (not inclusive)
125            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
126            * @return the ordered range of matching rows
127            * @throws SystemException if a system exception occurred
128            */
129            @SuppressWarnings("rawtypes")
130            public java.util.List dynamicQuery(
131                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132                    int end,
133                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134                    throws com.liferay.portal.kernel.exception.SystemException;
135    
136            /**
137            * Returns the number of rows that match the dynamic query.
138            *
139            * @param dynamicQuery the dynamic query
140            * @return the number of rows that match the dynamic query
141            * @throws SystemException if a system exception occurred
142            */
143            public long dynamicQueryCount(
144                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
145                    throws com.liferay.portal.kernel.exception.SystemException;
146    
147            /**
148            * Returns the wiki page with the primary key.
149            *
150            * @param pageId the primary key of the wiki page
151            * @return the wiki page
152            * @throws PortalException if a wiki page with the primary key could not be found
153            * @throws SystemException if a system exception occurred
154            */
155            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
156            public com.liferay.portlet.wiki.model.WikiPage getWikiPage(long pageId)
157                    throws com.liferay.portal.kernel.exception.PortalException,
158                            com.liferay.portal.kernel.exception.SystemException;
159    
160            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
161            public com.liferay.portal.model.PersistedModel getPersistedModel(
162                    java.io.Serializable primaryKeyObj)
163                    throws com.liferay.portal.kernel.exception.PortalException,
164                            com.liferay.portal.kernel.exception.SystemException;
165    
166            /**
167            * Returns the wiki page with the UUID in the group.
168            *
169            * @param uuid the UUID of wiki page
170            * @param groupId the group id of the wiki page
171            * @return the wiki page
172            * @throws PortalException if a wiki page with the UUID in the group could not be found
173            * @throws SystemException if a system exception occurred
174            */
175            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
176            public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndGroupId(
177                    java.lang.String uuid, long groupId)
178                    throws com.liferay.portal.kernel.exception.PortalException,
179                            com.liferay.portal.kernel.exception.SystemException;
180    
181            /**
182            * Returns a range of all the wiki pages.
183            *
184            * <p>
185            * 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.
186            * </p>
187            *
188            * @param start the lower bound of the range of wiki pages
189            * @param end the upper bound of the range of wiki pages (not inclusive)
190            * @return the range of wiki pages
191            * @throws SystemException if a system exception occurred
192            */
193            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
194            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
195                    int start, int end)
196                    throws com.liferay.portal.kernel.exception.SystemException;
197    
198            /**
199            * Returns the number of wiki pages.
200            *
201            * @return the number of wiki pages
202            * @throws SystemException if a system exception occurred
203            */
204            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
205            public int getWikiPagesCount()
206                    throws com.liferay.portal.kernel.exception.SystemException;
207    
208            /**
209            * Updates the wiki page in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
210            *
211            * @param wikiPage the wiki page
212            * @return the wiki page that was updated
213            * @throws SystemException if a system exception occurred
214            */
215            public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
216                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
217                    throws com.liferay.portal.kernel.exception.SystemException;
218    
219            /**
220            * Updates the wiki page in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
221            *
222            * @param wikiPage the wiki page
223            * @param merge whether to merge the wiki page with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
224            * @return the wiki page that was updated
225            * @throws SystemException if a system exception occurred
226            */
227            public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
228                    com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
229                    throws com.liferay.portal.kernel.exception.SystemException;
230    
231            /**
232            * Returns the Spring bean ID for this bean.
233            *
234            * @return the Spring bean ID for this bean
235            */
236            public java.lang.String getBeanIdentifier();
237    
238            /**
239            * Sets the Spring bean ID for this bean.
240            *
241            * @param beanIdentifier the Spring bean ID for this bean
242            */
243            public void setBeanIdentifier(java.lang.String beanIdentifier);
244    
245            public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
246                    long nodeId, java.lang.String title, double version,
247                    java.lang.String content, java.lang.String summary, boolean minorEdit,
248                    java.lang.String format, boolean head, java.lang.String parentTitle,
249                    java.lang.String redirectTitle,
250                    com.liferay.portal.service.ServiceContext serviceContext)
251                    throws com.liferay.portal.kernel.exception.PortalException,
252                            com.liferay.portal.kernel.exception.SystemException;
253    
254            public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
255                    long nodeId, java.lang.String title, java.lang.String content,
256                    java.lang.String summary, boolean minorEdit,
257                    com.liferay.portal.service.ServiceContext serviceContext)
258                    throws com.liferay.portal.kernel.exception.PortalException,
259                            com.liferay.portal.kernel.exception.SystemException;
260    
261            public void addPageAttachment(long companyId, java.lang.String dirName,
262                    java.util.Date modifiedDate, java.lang.String fileName,
263                    java.io.InputStream inputStream)
264                    throws com.liferay.portal.kernel.exception.PortalException,
265                            com.liferay.portal.kernel.exception.SystemException;
266    
267            public void addPageAttachments(long userId, long nodeId,
268                    java.lang.String title,
269                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files)
270                    throws com.liferay.portal.kernel.exception.PortalException,
271                            com.liferay.portal.kernel.exception.SystemException;
272    
273            /**
274            * @deprecated {@link #addPageAttachments(long, long, String, List)}
275            */
276            public void addPageAttachments(long nodeId, java.lang.String title,
277                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files)
278                    throws com.liferay.portal.kernel.exception.PortalException,
279                            com.liferay.portal.kernel.exception.SystemException;
280    
281            public void addPageResources(long nodeId, java.lang.String title,
282                    boolean addCommunityPermissions, boolean addGuestPermissions)
283                    throws com.liferay.portal.kernel.exception.PortalException,
284                            com.liferay.portal.kernel.exception.SystemException;
285    
286            public void addPageResources(long nodeId, java.lang.String title,
287                    java.lang.String[] communityPermissions,
288                    java.lang.String[] guestPermissions)
289                    throws com.liferay.portal.kernel.exception.PortalException,
290                            com.liferay.portal.kernel.exception.SystemException;
291    
292            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
293                    boolean addCommunityPermissions, boolean addGuestPermissions)
294                    throws com.liferay.portal.kernel.exception.PortalException,
295                            com.liferay.portal.kernel.exception.SystemException;
296    
297            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
298                    java.lang.String[] communityPermissions,
299                    java.lang.String[] guestPermissions)
300                    throws com.liferay.portal.kernel.exception.PortalException,
301                            com.liferay.portal.kernel.exception.SystemException;
302    
303            public void changeParent(long userId, long nodeId, java.lang.String title,
304                    java.lang.String newParentTitle,
305                    com.liferay.portal.service.ServiceContext serviceContext)
306                    throws com.liferay.portal.kernel.exception.PortalException,
307                            com.liferay.portal.kernel.exception.SystemException;
308    
309            public void deletePage(long nodeId, java.lang.String title)
310                    throws com.liferay.portal.kernel.exception.PortalException,
311                            com.liferay.portal.kernel.exception.SystemException;
312    
313            public void deletePage(long nodeId, java.lang.String title, double version)
314                    throws com.liferay.portal.kernel.exception.PortalException,
315                            com.liferay.portal.kernel.exception.SystemException;
316    
317            public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
318                    throws com.liferay.portal.kernel.exception.PortalException,
319                            com.liferay.portal.kernel.exception.SystemException;
320    
321            public void deletePageAttachment(long nodeId, java.lang.String title,
322                    java.lang.String fileName)
323                    throws com.liferay.portal.kernel.exception.PortalException,
324                            com.liferay.portal.kernel.exception.SystemException;
325    
326            public void deletePages(long nodeId)
327                    throws com.liferay.portal.kernel.exception.PortalException,
328                            com.liferay.portal.kernel.exception.SystemException;
329    
330            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
331            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
332                    long nodeId, boolean head, java.lang.String parentTitle)
333                    throws com.liferay.portal.kernel.exception.SystemException;
334    
335            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
336            public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
337                    java.lang.String title)
338                    throws com.liferay.portal.kernel.exception.PortalException,
339                            com.liferay.portal.kernel.exception.SystemException;
340    
341            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
342            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
343                    long nodeId, java.lang.String title)
344                    throws com.liferay.portal.kernel.exception.PortalException,
345                            com.liferay.portal.kernel.exception.SystemException;
346    
347            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
348            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
349                    throws com.liferay.portal.kernel.exception.SystemException;
350    
351            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
352            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
353                    long nodeId)
354                    throws com.liferay.portal.kernel.exception.PortalException,
355                            com.liferay.portal.kernel.exception.SystemException;
356    
357            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
358            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
359                    long nodeId, java.lang.String title)
360                    throws com.liferay.portal.kernel.exception.PortalException,
361                            com.liferay.portal.kernel.exception.SystemException;
362    
363            public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
364                    throws com.liferay.portal.kernel.exception.PortalException,
365                            com.liferay.portal.kernel.exception.SystemException;
366    
367            public com.liferay.portlet.wiki.model.WikiPage getPage(
368                    long resourcePrimKey, java.lang.Boolean head)
369                    throws com.liferay.portal.kernel.exception.PortalException,
370                            com.liferay.portal.kernel.exception.SystemException;
371    
372            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
373                    java.lang.String title)
374                    throws com.liferay.portal.kernel.exception.PortalException,
375                            com.liferay.portal.kernel.exception.SystemException;
376    
377            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
378                    java.lang.String title, java.lang.Boolean head)
379                    throws com.liferay.portal.kernel.exception.PortalException,
380                            com.liferay.portal.kernel.exception.SystemException;
381    
382            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
383                    java.lang.String title, double version)
384                    throws com.liferay.portal.kernel.exception.PortalException,
385                            com.liferay.portal.kernel.exception.SystemException;
386    
387            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
388            public com.liferay.portlet.wiki.model.WikiPage getPageByPageId(long pageId)
389                    throws com.liferay.portal.kernel.exception.PortalException,
390                            com.liferay.portal.kernel.exception.SystemException;
391    
392            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
393            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
394                    long nodeId, java.lang.String title,
395                    javax.portlet.PortletURL viewPageURL,
396                    javax.portlet.PortletURL editPageURL,
397                    java.lang.String attachmentURLPrefix)
398                    throws com.liferay.portal.kernel.exception.PortalException,
399                            com.liferay.portal.kernel.exception.SystemException;
400    
401            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
402            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
403                    com.liferay.portlet.wiki.model.WikiPage page,
404                    javax.portlet.PortletURL viewPageURL,
405                    javax.portlet.PortletURL editPageURL,
406                    java.lang.String attachmentURLPrefix)
407                    throws com.liferay.portal.kernel.exception.PortalException,
408                            com.liferay.portal.kernel.exception.SystemException;
409    
410            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
411            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
412                    long nodeId, boolean head, int start, int end)
413                    throws com.liferay.portal.kernel.exception.SystemException;
414    
415            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
416            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
417                    long nodeId, boolean head, int start, int end,
418                    com.liferay.portal.kernel.util.OrderByComparator obc)
419                    throws com.liferay.portal.kernel.exception.SystemException;
420    
421            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
422            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
423                    long nodeId, int start, int end)
424                    throws com.liferay.portal.kernel.exception.SystemException;
425    
426            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
427            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
428                    long nodeId, int start, int end,
429                    com.liferay.portal.kernel.util.OrderByComparator obc)
430                    throws com.liferay.portal.kernel.exception.SystemException;
431    
432            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
433            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
434                    long resourcePrimKey, long nodeId, int status)
435                    throws com.liferay.portal.kernel.exception.SystemException;
436    
437            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
438            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
439                    long userId, long nodeId, int status, int start, int end)
440                    throws com.liferay.portal.kernel.exception.SystemException;
441    
442            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
443            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
444                    long nodeId, java.lang.String title, boolean head, int start, int end)
445                    throws com.liferay.portal.kernel.exception.SystemException;
446    
447            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
448            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
449                    long nodeId, java.lang.String title, int start, int end)
450                    throws com.liferay.portal.kernel.exception.SystemException;
451    
452            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
453            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
454                    long nodeId, java.lang.String title, int start, int end,
455                    com.liferay.portal.kernel.util.OrderByComparator obc)
456                    throws com.liferay.portal.kernel.exception.SystemException;
457    
458            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
459            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
460                    java.lang.String format)
461                    throws com.liferay.portal.kernel.exception.SystemException;
462    
463            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
464            public int getPagesCount(long nodeId)
465                    throws com.liferay.portal.kernel.exception.SystemException;
466    
467            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
468            public int getPagesCount(long nodeId, boolean head)
469                    throws com.liferay.portal.kernel.exception.SystemException;
470    
471            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
472            public int getPagesCount(long userId, long nodeId, int status)
473                    throws com.liferay.portal.kernel.exception.SystemException;
474    
475            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
476            public int getPagesCount(long nodeId, java.lang.String title)
477                    throws com.liferay.portal.kernel.exception.SystemException;
478    
479            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
480            public int getPagesCount(long nodeId, java.lang.String title, boolean head)
481                    throws com.liferay.portal.kernel.exception.SystemException;
482    
483            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
484            public int getPagesCount(java.lang.String format)
485                    throws com.liferay.portal.kernel.exception.SystemException;
486    
487            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
488            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
489                    long nodeId, int start, int end)
490                    throws com.liferay.portal.kernel.exception.SystemException;
491    
492            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
493            public int getRecentChangesCount(long nodeId)
494                    throws com.liferay.portal.kernel.exception.SystemException;
495    
496            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
497            public boolean hasDraftPage(long nodeId, java.lang.String title)
498                    throws com.liferay.portal.kernel.exception.SystemException;
499    
500            public void movePage(long userId, long nodeId, java.lang.String title,
501                    java.lang.String newTitle, boolean strict,
502                    com.liferay.portal.service.ServiceContext serviceContext)
503                    throws com.liferay.portal.kernel.exception.PortalException,
504                            com.liferay.portal.kernel.exception.SystemException;
505    
506            public void movePage(long userId, long nodeId, java.lang.String title,
507                    java.lang.String newTitle,
508                    com.liferay.portal.service.ServiceContext serviceContext)
509                    throws com.liferay.portal.kernel.exception.PortalException,
510                            com.liferay.portal.kernel.exception.SystemException;
511    
512            public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
513                    long nodeId, java.lang.String title, double version,
514                    com.liferay.portal.service.ServiceContext serviceContext)
515                    throws com.liferay.portal.kernel.exception.PortalException,
516                            com.liferay.portal.kernel.exception.SystemException;
517    
518            public void subscribePage(long userId, long nodeId, java.lang.String title)
519                    throws com.liferay.portal.kernel.exception.PortalException,
520                            com.liferay.portal.kernel.exception.SystemException;
521    
522            public void unsubscribePage(long userId, long nodeId, java.lang.String title)
523                    throws com.liferay.portal.kernel.exception.PortalException,
524                            com.liferay.portal.kernel.exception.SystemException;
525    
526            public void updateAsset(long userId,
527                    com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
528                    java.lang.String[] assetTagNames)
529                    throws com.liferay.portal.kernel.exception.PortalException,
530                            com.liferay.portal.kernel.exception.SystemException;
531    
532            public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
533                    long nodeId, java.lang.String title, double version,
534                    java.lang.String content, java.lang.String summary, boolean minorEdit,
535                    java.lang.String format, java.lang.String parentTitle,
536                    java.lang.String redirectTitle,
537                    com.liferay.portal.service.ServiceContext serviceContext)
538                    throws com.liferay.portal.kernel.exception.PortalException,
539                            com.liferay.portal.kernel.exception.SystemException;
540    
541            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
542                    long resourcePrimKey, int status,
543                    com.liferay.portal.service.ServiceContext serviceContext)
544                    throws com.liferay.portal.kernel.exception.PortalException,
545                            com.liferay.portal.kernel.exception.SystemException;
546    
547            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
548                    com.liferay.portlet.wiki.model.WikiPage page, int status,
549                    com.liferay.portal.service.ServiceContext serviceContext)
550                    throws com.liferay.portal.kernel.exception.PortalException,
551                            com.liferay.portal.kernel.exception.SystemException;
552    
553            public void validateTitle(java.lang.String title)
554                    throws com.liferay.portal.kernel.exception.PortalException;
555    }