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.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            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
148            public com.liferay.portlet.wiki.model.WikiPage fetchWikiPage(long pageId)
149                    throws com.liferay.portal.kernel.exception.SystemException;
150    
151            /**
152            * Returns the wiki page with the primary key.
153            *
154            * @param pageId the primary key of the wiki page
155            * @return the wiki page
156            * @throws PortalException if a wiki page with the primary key could not be found
157            * @throws SystemException if a system exception occurred
158            */
159            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
160            public com.liferay.portlet.wiki.model.WikiPage getWikiPage(long pageId)
161                    throws com.liferay.portal.kernel.exception.PortalException,
162                            com.liferay.portal.kernel.exception.SystemException;
163    
164            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
165            public com.liferay.portal.model.PersistedModel getPersistedModel(
166                    java.io.Serializable primaryKeyObj)
167                    throws com.liferay.portal.kernel.exception.PortalException,
168                            com.liferay.portal.kernel.exception.SystemException;
169    
170            /**
171            * Returns the wiki page with the UUID in the group.
172            *
173            * @param uuid the UUID of wiki page
174            * @param groupId the group id of the wiki page
175            * @return the wiki page
176            * @throws PortalException if a wiki page with the UUID in the group could not be found
177            * @throws SystemException if a system exception occurred
178            */
179            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
180            public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndGroupId(
181                    java.lang.String uuid, long groupId)
182                    throws com.liferay.portal.kernel.exception.PortalException,
183                            com.liferay.portal.kernel.exception.SystemException;
184    
185            /**
186            * Returns a range of all the wiki pages.
187            *
188            * <p>
189            * 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.
190            * </p>
191            *
192            * @param start the lower bound of the range of wiki pages
193            * @param end the upper bound of the range of wiki pages (not inclusive)
194            * @return the range of wiki pages
195            * @throws SystemException if a system exception occurred
196            */
197            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
198            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
199                    int start, int end)
200                    throws com.liferay.portal.kernel.exception.SystemException;
201    
202            /**
203            * Returns the number of wiki pages.
204            *
205            * @return the number of wiki pages
206            * @throws SystemException if a system exception occurred
207            */
208            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
209            public int getWikiPagesCount()
210                    throws com.liferay.portal.kernel.exception.SystemException;
211    
212            /**
213            * Updates the wiki page in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
214            *
215            * @param wikiPage the wiki page
216            * @return the wiki page that was updated
217            * @throws SystemException if a system exception occurred
218            */
219            public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
220                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
221                    throws com.liferay.portal.kernel.exception.SystemException;
222    
223            /**
224            * Updates the wiki page in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
225            *
226            * @param wikiPage the wiki page
227            * @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.
228            * @return the wiki page that was updated
229            * @throws SystemException if a system exception occurred
230            */
231            public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
232                    com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
233                    throws com.liferay.portal.kernel.exception.SystemException;
234    
235            /**
236            * Returns the Spring bean ID for this bean.
237            *
238            * @return the Spring bean ID for this bean
239            */
240            public java.lang.String getBeanIdentifier();
241    
242            /**
243            * Sets the Spring bean ID for this bean.
244            *
245            * @param beanIdentifier the Spring bean ID for this bean
246            */
247            public void setBeanIdentifier(java.lang.String beanIdentifier);
248    
249            public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
250                    long nodeId, java.lang.String title, double version,
251                    java.lang.String content, java.lang.String summary, boolean minorEdit,
252                    java.lang.String format, boolean head, java.lang.String parentTitle,
253                    java.lang.String redirectTitle,
254                    com.liferay.portal.service.ServiceContext serviceContext)
255                    throws com.liferay.portal.kernel.exception.PortalException,
256                            com.liferay.portal.kernel.exception.SystemException;
257    
258            public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
259                    long nodeId, java.lang.String title, java.lang.String content,
260                    java.lang.String summary, boolean minorEdit,
261                    com.liferay.portal.service.ServiceContext serviceContext)
262                    throws com.liferay.portal.kernel.exception.PortalException,
263                            com.liferay.portal.kernel.exception.SystemException;
264    
265            public void addPageAttachment(long userId, long nodeId,
266                    java.lang.String title, java.lang.String fileName, java.io.File file)
267                    throws com.liferay.portal.kernel.exception.PortalException,
268                            com.liferay.portal.kernel.exception.SystemException;
269    
270            public void addPageAttachment(long userId, long nodeId,
271                    java.lang.String title, java.lang.String fileName,
272                    java.io.InputStream inputStream)
273                    throws com.liferay.portal.kernel.exception.PortalException,
274                            com.liferay.portal.kernel.exception.SystemException;
275    
276            public void addPageAttachment(long companyId, java.lang.String dirName,
277                    java.util.Date modifiedDate, java.lang.String fileName,
278                    java.io.InputStream inputStream)
279                    throws com.liferay.portal.kernel.exception.PortalException,
280                            com.liferay.portal.kernel.exception.SystemException;
281    
282            public void addPageAttachments(long userId, long nodeId,
283                    java.lang.String title,
284                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreams)
285                    throws com.liferay.portal.kernel.exception.PortalException,
286                            com.liferay.portal.kernel.exception.SystemException;
287    
288            public void addPageResources(long nodeId, java.lang.String title,
289                    boolean addGroupPermissions, boolean addGuestPermissions)
290                    throws com.liferay.portal.kernel.exception.PortalException,
291                            com.liferay.portal.kernel.exception.SystemException;
292    
293            public void addPageResources(long nodeId, java.lang.String title,
294                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
295                    throws com.liferay.portal.kernel.exception.PortalException,
296                            com.liferay.portal.kernel.exception.SystemException;
297    
298            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
299                    boolean addGroupPermissions, boolean addGuestPermissions)
300                    throws com.liferay.portal.kernel.exception.PortalException,
301                            com.liferay.portal.kernel.exception.SystemException;
302    
303            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
304                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
305                    throws com.liferay.portal.kernel.exception.PortalException,
306                            com.liferay.portal.kernel.exception.SystemException;
307    
308            public java.lang.String addTempPageAttachment(long userId,
309                    java.lang.String fileName, java.lang.String tempFolderName,
310                    java.io.InputStream inputStream)
311                    throws com.liferay.portal.kernel.exception.PortalException,
312                            com.liferay.portal.kernel.exception.SystemException,
313                            java.io.IOException;
314    
315            public void changeParent(long userId, long nodeId, java.lang.String title,
316                    java.lang.String newParentTitle,
317                    com.liferay.portal.service.ServiceContext serviceContext)
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)
322                    throws com.liferay.portal.kernel.exception.PortalException,
323                            com.liferay.portal.kernel.exception.SystemException;
324    
325            public void deletePage(long nodeId, java.lang.String title, double version)
326                    throws com.liferay.portal.kernel.exception.PortalException,
327                            com.liferay.portal.kernel.exception.SystemException;
328    
329            public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
330                    throws com.liferay.portal.kernel.exception.PortalException,
331                            com.liferay.portal.kernel.exception.SystemException;
332    
333            public void deletePageAttachment(long nodeId, java.lang.String title,
334                    java.lang.String fileName)
335                    throws com.liferay.portal.kernel.exception.PortalException,
336                            com.liferay.portal.kernel.exception.SystemException;
337    
338            public void deletePages(long nodeId)
339                    throws com.liferay.portal.kernel.exception.PortalException,
340                            com.liferay.portal.kernel.exception.SystemException;
341    
342            public void deleteTempPageAttachment(long userId,
343                    java.lang.String fileName, java.lang.String tempFolderName);
344    
345            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
346            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
347                    long nodeId, boolean head, java.lang.String parentTitle)
348                    throws com.liferay.portal.kernel.exception.SystemException;
349    
350            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
351            public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
352                    java.lang.String title)
353                    throws com.liferay.portal.kernel.exception.PortalException,
354                            com.liferay.portal.kernel.exception.SystemException;
355    
356            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
357            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
358                    long nodeId, java.lang.String title)
359                    throws com.liferay.portal.kernel.exception.PortalException,
360                            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> getNoAssetPages()
364                    throws com.liferay.portal.kernel.exception.SystemException;
365    
366            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
367            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
368                    long nodeId)
369                    throws com.liferay.portal.kernel.exception.PortalException,
370                            com.liferay.portal.kernel.exception.SystemException;
371    
372            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
373            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
374                    long nodeId, java.lang.String title)
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(long resourcePrimKey)
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(
383                    long resourcePrimKey, java.lang.Boolean head)
384                    throws com.liferay.portal.kernel.exception.PortalException,
385                            com.liferay.portal.kernel.exception.SystemException;
386    
387            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
388                    java.lang.String title)
389                    throws com.liferay.portal.kernel.exception.PortalException,
390                            com.liferay.portal.kernel.exception.SystemException;
391    
392            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
393                    java.lang.String title, java.lang.Boolean head)
394                    throws com.liferay.portal.kernel.exception.PortalException,
395                            com.liferay.portal.kernel.exception.SystemException;
396    
397            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
398                    java.lang.String title, double version)
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.wiki.model.WikiPage getPageByPageId(long pageId)
404                    throws com.liferay.portal.kernel.exception.PortalException,
405                            com.liferay.portal.kernel.exception.SystemException;
406    
407            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
408            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
409                    long nodeId, java.lang.String title,
410                    javax.portlet.PortletURL viewPageURL,
411                    javax.portlet.PortletURL editPageURL,
412                    java.lang.String attachmentURLPrefix)
413                    throws com.liferay.portal.kernel.exception.PortalException,
414                            com.liferay.portal.kernel.exception.SystemException;
415    
416            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
417            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
418                    com.liferay.portlet.wiki.model.WikiPage page,
419                    javax.portlet.PortletURL viewPageURL,
420                    javax.portlet.PortletURL editPageURL,
421                    java.lang.String attachmentURLPrefix)
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.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
427                    long nodeId, boolean head, int start, int end)
428                    throws com.liferay.portal.kernel.exception.SystemException;
429    
430            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
431            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
432                    long nodeId, boolean head, int start, int end,
433                    com.liferay.portal.kernel.util.OrderByComparator obc)
434                    throws com.liferay.portal.kernel.exception.SystemException;
435    
436            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
437            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
438                    long nodeId, int start, int end)
439                    throws com.liferay.portal.kernel.exception.SystemException;
440    
441            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
442            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
443                    long nodeId, int start, int end,
444                    com.liferay.portal.kernel.util.OrderByComparator obc)
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 resourcePrimKey, long nodeId, int status)
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 userId, long nodeId, int status, int start, int end)
455                    throws com.liferay.portal.kernel.exception.SystemException;
456    
457            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
458            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
459                    long nodeId, java.lang.String title, boolean head, int start, int end)
460                    throws com.liferay.portal.kernel.exception.SystemException;
461    
462            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
463            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
464                    long nodeId, java.lang.String title, int start, int end)
465                    throws com.liferay.portal.kernel.exception.SystemException;
466    
467            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
468            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
469                    long nodeId, java.lang.String title, int start, int end,
470                    com.liferay.portal.kernel.util.OrderByComparator obc)
471                    throws com.liferay.portal.kernel.exception.SystemException;
472    
473            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
474            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
475                    java.lang.String format)
476                    throws com.liferay.portal.kernel.exception.SystemException;
477    
478            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
479            public int getPagesCount(long nodeId)
480                    throws com.liferay.portal.kernel.exception.SystemException;
481    
482            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
483            public int getPagesCount(long nodeId, boolean head)
484                    throws com.liferay.portal.kernel.exception.SystemException;
485    
486            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
487            public int getPagesCount(long userId, long nodeId, int status)
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)
492                    throws com.liferay.portal.kernel.exception.SystemException;
493    
494            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
495            public int getPagesCount(long nodeId, java.lang.String title, boolean head)
496                    throws com.liferay.portal.kernel.exception.SystemException;
497    
498            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
499            public int getPagesCount(java.lang.String format)
500                    throws com.liferay.portal.kernel.exception.SystemException;
501    
502            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
503            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
504                    long nodeId, int start, int end)
505                    throws com.liferay.portal.kernel.exception.SystemException;
506    
507            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
508            public int getRecentChangesCount(long nodeId)
509                    throws com.liferay.portal.kernel.exception.SystemException;
510    
511            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
512            public java.lang.String[] getTempPageAttachmentNames(long userId,
513                    java.lang.String tempFolderName);
514    
515            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
516            public boolean hasDraftPage(long nodeId, java.lang.String title)
517                    throws com.liferay.portal.kernel.exception.SystemException;
518    
519            public void movePage(long userId, long nodeId, java.lang.String title,
520                    java.lang.String newTitle, boolean strict,
521                    com.liferay.portal.service.ServiceContext serviceContext)
522                    throws com.liferay.portal.kernel.exception.PortalException,
523                            com.liferay.portal.kernel.exception.SystemException;
524    
525            public void movePage(long userId, long nodeId, java.lang.String title,
526                    java.lang.String newTitle,
527                    com.liferay.portal.service.ServiceContext serviceContext)
528                    throws com.liferay.portal.kernel.exception.PortalException,
529                            com.liferay.portal.kernel.exception.SystemException;
530    
531            public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
532                    long nodeId, java.lang.String title, double version,
533                    com.liferay.portal.service.ServiceContext serviceContext)
534                    throws com.liferay.portal.kernel.exception.PortalException,
535                            com.liferay.portal.kernel.exception.SystemException;
536    
537            public void subscribePage(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 unsubscribePage(long userId, long nodeId, java.lang.String title)
542                    throws com.liferay.portal.kernel.exception.PortalException,
543                            com.liferay.portal.kernel.exception.SystemException;
544    
545            public void updateAsset(long userId,
546                    com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
547                    java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
548                    throws com.liferay.portal.kernel.exception.PortalException,
549                            com.liferay.portal.kernel.exception.SystemException;
550    
551            public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
552                    long nodeId, java.lang.String title, double version,
553                    java.lang.String content, java.lang.String summary, boolean minorEdit,
554                    java.lang.String format, java.lang.String parentTitle,
555                    java.lang.String redirectTitle,
556                    com.liferay.portal.service.ServiceContext serviceContext)
557                    throws com.liferay.portal.kernel.exception.PortalException,
558                            com.liferay.portal.kernel.exception.SystemException;
559    
560            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
561                    long resourcePrimKey, int status,
562                    com.liferay.portal.service.ServiceContext serviceContext)
563                    throws com.liferay.portal.kernel.exception.PortalException,
564                            com.liferay.portal.kernel.exception.SystemException;
565    
566            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
567                    com.liferay.portlet.wiki.model.WikiPage page, int status,
568                    com.liferay.portal.service.ServiceContext serviceContext)
569                    throws com.liferay.portal.kernel.exception.PortalException,
570                            com.liferay.portal.kernel.exception.SystemException;
571    
572            public void validateTitle(java.lang.String title)
573                    throws com.liferay.portal.kernel.exception.PortalException;
574    }