001    /**
002     * Copyright (c) 2000-2011 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.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 userId, long nodeId,
262                    java.lang.String title, java.lang.String fileName, java.io.File file)
263                    throws com.liferay.portal.kernel.exception.PortalException,
264                            com.liferay.portal.kernel.exception.SystemException;
265    
266            public void addPageAttachment(long userId, long nodeId,
267                    java.lang.String title, java.lang.String fileName,
268                    java.io.InputStream inputStream)
269                    throws com.liferay.portal.kernel.exception.PortalException,
270                            com.liferay.portal.kernel.exception.SystemException;
271    
272            public void addPageAttachment(long companyId, java.lang.String dirName,
273                    java.util.Date modifiedDate, java.lang.String fileName,
274                    java.io.InputStream inputStream)
275                    throws com.liferay.portal.kernel.exception.PortalException,
276                            com.liferay.portal.kernel.exception.SystemException;
277    
278            public void addPageAttachments(long userId, long nodeId,
279                    java.lang.String title,
280                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreams)
281                    throws com.liferay.portal.kernel.exception.PortalException,
282                            com.liferay.portal.kernel.exception.SystemException;
283    
284            public void addPageResources(long nodeId, java.lang.String title,
285                    boolean addGroupPermissions, boolean addGuestPermissions)
286                    throws com.liferay.portal.kernel.exception.PortalException,
287                            com.liferay.portal.kernel.exception.SystemException;
288    
289            public void addPageResources(long nodeId, java.lang.String title,
290                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
291                    throws com.liferay.portal.kernel.exception.PortalException,
292                            com.liferay.portal.kernel.exception.SystemException;
293    
294            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
295                    boolean addGroupPermissions, boolean addGuestPermissions)
296                    throws com.liferay.portal.kernel.exception.PortalException,
297                            com.liferay.portal.kernel.exception.SystemException;
298    
299            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
300                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
301                    throws com.liferay.portal.kernel.exception.PortalException,
302                            com.liferay.portal.kernel.exception.SystemException;
303    
304            public java.lang.String addTempPageAttachment(long userId,
305                    java.lang.String fileName, java.lang.String tempFolderName,
306                    java.io.InputStream inputStream)
307                    throws com.liferay.portal.kernel.exception.PortalException,
308                            com.liferay.portal.kernel.exception.SystemException,
309                            java.io.IOException;
310    
311            public void changeParent(long userId, long nodeId, java.lang.String title,
312                    java.lang.String newParentTitle,
313                    com.liferay.portal.service.ServiceContext serviceContext)
314                    throws com.liferay.portal.kernel.exception.PortalException,
315                            com.liferay.portal.kernel.exception.SystemException;
316    
317            public void deletePage(long nodeId, java.lang.String title)
318                    throws com.liferay.portal.kernel.exception.PortalException,
319                            com.liferay.portal.kernel.exception.SystemException;
320    
321            public void deletePage(long nodeId, java.lang.String title, double version)
322                    throws com.liferay.portal.kernel.exception.PortalException,
323                            com.liferay.portal.kernel.exception.SystemException;
324    
325            public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
326                    throws com.liferay.portal.kernel.exception.PortalException,
327                            com.liferay.portal.kernel.exception.SystemException;
328    
329            public void deletePageAttachment(long nodeId, java.lang.String title,
330                    java.lang.String fileName)
331                    throws com.liferay.portal.kernel.exception.PortalException,
332                            com.liferay.portal.kernel.exception.SystemException;
333    
334            public void deletePages(long nodeId)
335                    throws com.liferay.portal.kernel.exception.PortalException,
336                            com.liferay.portal.kernel.exception.SystemException;
337    
338            public void deleteTempPageAttachment(long userId,
339                    java.lang.String fileName, java.lang.String tempFolderName);
340    
341            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
342            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
343                    long nodeId, boolean head, java.lang.String parentTitle)
344                    throws com.liferay.portal.kernel.exception.SystemException;
345    
346            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
347            public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
348                    java.lang.String title)
349                    throws com.liferay.portal.kernel.exception.PortalException,
350                            com.liferay.portal.kernel.exception.SystemException;
351    
352            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
353            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
354                    long nodeId, java.lang.String title)
355                    throws com.liferay.portal.kernel.exception.PortalException,
356                            com.liferay.portal.kernel.exception.SystemException;
357    
358            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
359            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
360                    throws com.liferay.portal.kernel.exception.SystemException;
361    
362            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
363            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
364                    long nodeId)
365                    throws com.liferay.portal.kernel.exception.PortalException,
366                            com.liferay.portal.kernel.exception.SystemException;
367    
368            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
369            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
370                    long nodeId, java.lang.String title)
371                    throws com.liferay.portal.kernel.exception.PortalException,
372                            com.liferay.portal.kernel.exception.SystemException;
373    
374            public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
375                    throws com.liferay.portal.kernel.exception.PortalException,
376                            com.liferay.portal.kernel.exception.SystemException;
377    
378            public com.liferay.portlet.wiki.model.WikiPage getPage(
379                    long resourcePrimKey, java.lang.Boolean head)
380                    throws com.liferay.portal.kernel.exception.PortalException,
381                            com.liferay.portal.kernel.exception.SystemException;
382    
383            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
384                    java.lang.String title)
385                    throws com.liferay.portal.kernel.exception.PortalException,
386                            com.liferay.portal.kernel.exception.SystemException;
387    
388            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
389                    java.lang.String title, java.lang.Boolean head)
390                    throws com.liferay.portal.kernel.exception.PortalException,
391                            com.liferay.portal.kernel.exception.SystemException;
392    
393            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
394                    java.lang.String title, double version)
395                    throws com.liferay.portal.kernel.exception.PortalException,
396                            com.liferay.portal.kernel.exception.SystemException;
397    
398            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
399            public com.liferay.portlet.wiki.model.WikiPage getPageByPageId(long pageId)
400                    throws com.liferay.portal.kernel.exception.PortalException,
401                            com.liferay.portal.kernel.exception.SystemException;
402    
403            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
404            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
405                    long nodeId, java.lang.String title,
406                    javax.portlet.PortletURL viewPageURL,
407                    javax.portlet.PortletURL editPageURL,
408                    java.lang.String attachmentURLPrefix)
409                    throws com.liferay.portal.kernel.exception.PortalException,
410                            com.liferay.portal.kernel.exception.SystemException;
411    
412            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
413            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
414                    com.liferay.portlet.wiki.model.WikiPage page,
415                    javax.portlet.PortletURL viewPageURL,
416                    javax.portlet.PortletURL editPageURL,
417                    java.lang.String attachmentURLPrefix)
418                    throws com.liferay.portal.kernel.exception.PortalException,
419                            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, boolean head, 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, boolean head, 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 nodeId, int start, int end)
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 nodeId, int start, int end,
440                    com.liferay.portal.kernel.util.OrderByComparator obc)
441                    throws com.liferay.portal.kernel.exception.SystemException;
442    
443            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
444            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
445                    long resourcePrimKey, long nodeId, int status)
446                    throws com.liferay.portal.kernel.exception.SystemException;
447    
448            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
449            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
450                    long userId, long nodeId, int status, int start, int end)
451                    throws com.liferay.portal.kernel.exception.SystemException;
452    
453            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
454            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
455                    long nodeId, java.lang.String title, boolean head, int start, int end)
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                    long nodeId, java.lang.String title, int start, int end)
461                    throws com.liferay.portal.kernel.exception.SystemException;
462    
463            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
464            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
465                    long nodeId, java.lang.String title, int start, int end,
466                    com.liferay.portal.kernel.util.OrderByComparator obc)
467                    throws com.liferay.portal.kernel.exception.SystemException;
468    
469            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
470            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
471                    java.lang.String format)
472                    throws com.liferay.portal.kernel.exception.SystemException;
473    
474            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
475            public int getPagesCount(long nodeId)
476                    throws com.liferay.portal.kernel.exception.SystemException;
477    
478            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
479            public int getPagesCount(long nodeId, boolean head)
480                    throws com.liferay.portal.kernel.exception.SystemException;
481    
482            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
483            public int getPagesCount(long userId, long nodeId, int status)
484                    throws com.liferay.portal.kernel.exception.SystemException;
485    
486            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
487            public int getPagesCount(long nodeId, java.lang.String title)
488                    throws com.liferay.portal.kernel.exception.SystemException;
489    
490            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
491            public int getPagesCount(long nodeId, java.lang.String title, boolean head)
492                    throws com.liferay.portal.kernel.exception.SystemException;
493    
494            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
495            public int getPagesCount(java.lang.String format)
496                    throws com.liferay.portal.kernel.exception.SystemException;
497    
498            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
499            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
500                    long nodeId, int start, int end)
501                    throws com.liferay.portal.kernel.exception.SystemException;
502    
503            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
504            public int getRecentChangesCount(long nodeId)
505                    throws com.liferay.portal.kernel.exception.SystemException;
506    
507            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
508            public java.lang.String[] getTempPageAttachmentNames(long userId,
509                    java.lang.String tempFolderName);
510    
511            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
512            public boolean hasDraftPage(long nodeId, java.lang.String title)
513                    throws com.liferay.portal.kernel.exception.SystemException;
514    
515            public void movePage(long userId, long nodeId, java.lang.String title,
516                    java.lang.String newTitle, boolean strict,
517                    com.liferay.portal.service.ServiceContext serviceContext)
518                    throws com.liferay.portal.kernel.exception.PortalException,
519                            com.liferay.portal.kernel.exception.SystemException;
520    
521            public void movePage(long userId, long nodeId, java.lang.String title,
522                    java.lang.String newTitle,
523                    com.liferay.portal.service.ServiceContext serviceContext)
524                    throws com.liferay.portal.kernel.exception.PortalException,
525                            com.liferay.portal.kernel.exception.SystemException;
526    
527            public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
528                    long nodeId, java.lang.String title, double version,
529                    com.liferay.portal.service.ServiceContext serviceContext)
530                    throws com.liferay.portal.kernel.exception.PortalException,
531                            com.liferay.portal.kernel.exception.SystemException;
532    
533            public void subscribePage(long userId, long nodeId, java.lang.String title)
534                    throws com.liferay.portal.kernel.exception.PortalException,
535                            com.liferay.portal.kernel.exception.SystemException;
536    
537            public void unsubscribePage(long userId, long nodeId, java.lang.String title)
538                    throws com.liferay.portal.kernel.exception.PortalException,
539                            com.liferay.portal.kernel.exception.SystemException;
540    
541            public void updateAsset(long userId,
542                    com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
543                    java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
544                    throws com.liferay.portal.kernel.exception.PortalException,
545                            com.liferay.portal.kernel.exception.SystemException;
546    
547            public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
548                    long nodeId, java.lang.String title, double version,
549                    java.lang.String content, java.lang.String summary, boolean minorEdit,
550                    java.lang.String format, java.lang.String parentTitle,
551                    java.lang.String redirectTitle,
552                    com.liferay.portal.service.ServiceContext serviceContext)
553                    throws com.liferay.portal.kernel.exception.PortalException,
554                            com.liferay.portal.kernel.exception.SystemException;
555    
556            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
557                    long resourcePrimKey, int status,
558                    com.liferay.portal.service.ServiceContext serviceContext)
559                    throws com.liferay.portal.kernel.exception.PortalException,
560                            com.liferay.portal.kernel.exception.SystemException;
561    
562            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
563                    com.liferay.portlet.wiki.model.WikiPage page, int status,
564                    com.liferay.portal.service.ServiceContext serviceContext)
565                    throws com.liferay.portal.kernel.exception.PortalException,
566                            com.liferay.portal.kernel.exception.SystemException;
567    
568            public void validateTitle(java.lang.String title)
569                    throws com.liferay.portal.kernel.exception.PortalException;
570    }