001    /**
002     * Copyright (c) 2000-2013 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.exception.PortalException;
020    import com.liferay.portal.kernel.exception.SystemException;
021    import com.liferay.portal.kernel.transaction.Isolation;
022    import com.liferay.portal.kernel.transaction.Propagation;
023    import com.liferay.portal.kernel.transaction.Transactional;
024    import com.liferay.portal.service.BaseLocalService;
025    import com.liferay.portal.service.PersistedModelLocalService;
026    
027    /**
028     * Provides the local service interface for WikiPage. Methods of this
029     * service will not have security checks based on the propagated JAAS
030     * credentials because this service can only be accessed from within the same
031     * VM.
032     *
033     * @author Brian Wing Shun Chan
034     * @see WikiPageLocalServiceUtil
035     * @see com.liferay.portlet.wiki.service.base.WikiPageLocalServiceBaseImpl
036     * @see com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl
037     * @generated
038     */
039    @ProviderType
040    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
041            PortalException.class, SystemException.class})
042    public interface WikiPageLocalService extends BaseLocalService,
043            PersistedModelLocalService {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * 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.
048             */
049    
050            /**
051            * Adds the wiki page to the database. Also notifies the appropriate model listeners.
052            *
053            * @param wikiPage the wiki page
054            * @return the wiki page that was added
055            * @throws SystemException if a system exception occurred
056            */
057            public com.liferay.portlet.wiki.model.WikiPage addWikiPage(
058                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
059                    throws com.liferay.portal.kernel.exception.SystemException;
060    
061            /**
062            * Creates a new wiki page with the primary key. Does not add the wiki page to the database.
063            *
064            * @param pageId the primary key for the new wiki page
065            * @return the new wiki page
066            */
067            public com.liferay.portlet.wiki.model.WikiPage createWikiPage(long pageId);
068    
069            /**
070            * Deletes the wiki page with the primary key from the database. Also notifies the appropriate model listeners.
071            *
072            * @param pageId the primary key of the wiki page
073            * @return the wiki page that was removed
074            * @throws PortalException if a wiki page with the primary key could not be found
075            * @throws SystemException if a system exception occurred
076            */
077            public com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(long pageId)
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException;
080    
081            /**
082            * Deletes the wiki page from the database. Also notifies the appropriate model listeners.
083            *
084            * @param wikiPage the wiki page
085            * @return the wiki page that was removed
086            * @throws SystemException if a system exception occurred
087            */
088            public com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(
089                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
090                    throws com.liferay.portal.kernel.exception.SystemException;
091    
092            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
093    
094            /**
095            * Performs a dynamic query on the database and returns the matching rows.
096            *
097            * @param dynamicQuery the dynamic query
098            * @return the matching rows
099            * @throws SystemException if a system exception occurred
100            */
101            @SuppressWarnings("rawtypes")
102            public java.util.List dynamicQuery(
103                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
104                    throws com.liferay.portal.kernel.exception.SystemException;
105    
106            /**
107            * Performs a dynamic query on the database and returns a range of the matching rows.
108            *
109            * <p>
110            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
111            * </p>
112            *
113            * @param dynamicQuery the dynamic query
114            * @param start the lower bound of the range of model instances
115            * @param end the upper bound of the range of model instances (not inclusive)
116            * @return the range of matching rows
117            * @throws SystemException if a system exception occurred
118            */
119            @SuppressWarnings("rawtypes")
120            public java.util.List dynamicQuery(
121                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122                    int end) throws com.liferay.portal.kernel.exception.SystemException;
123    
124            /**
125            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
126            *
127            * <p>
128            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
129            * </p>
130            *
131            * @param dynamicQuery the dynamic query
132            * @param start the lower bound of the range of model instances
133            * @param end the upper bound of the range of model instances (not inclusive)
134            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
135            * @return the ordered range of matching rows
136            * @throws SystemException if a system exception occurred
137            */
138            @SuppressWarnings("rawtypes")
139            public java.util.List dynamicQuery(
140                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
141                    int end,
142                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143                    throws com.liferay.portal.kernel.exception.SystemException;
144    
145            /**
146            * Returns the number of rows that match the dynamic query.
147            *
148            * @param dynamicQuery the dynamic query
149            * @return the number of rows that match the dynamic query
150            * @throws SystemException if a system exception occurred
151            */
152            public long dynamicQueryCount(
153                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
154                    throws com.liferay.portal.kernel.exception.SystemException;
155    
156            /**
157            * Returns the number of rows that match the dynamic query.
158            *
159            * @param dynamicQuery the dynamic query
160            * @param projection the projection to apply to the query
161            * @return the number of rows that match the dynamic query
162            * @throws SystemException if a system exception occurred
163            */
164            public long dynamicQueryCount(
165                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
166                    com.liferay.portal.kernel.dao.orm.Projection projection)
167                    throws com.liferay.portal.kernel.exception.SystemException;
168    
169            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
170            public com.liferay.portlet.wiki.model.WikiPage fetchWikiPage(long pageId)
171                    throws com.liferay.portal.kernel.exception.SystemException;
172    
173            /**
174            * Returns the wiki page with the matching UUID and company.
175            *
176            * @param uuid the wiki page's UUID
177            * @param companyId the primary key of the company
178            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
179            * @throws SystemException if a system exception occurred
180            */
181            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
182            public com.liferay.portlet.wiki.model.WikiPage fetchWikiPageByUuidAndCompanyId(
183                    java.lang.String uuid, long companyId)
184                    throws com.liferay.portal.kernel.exception.SystemException;
185    
186            /**
187            * Returns the wiki page matching the UUID and group.
188            *
189            * @param uuid the wiki page's UUID
190            * @param groupId the primary key of the group
191            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
192            * @throws SystemException if a system exception occurred
193            */
194            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
195            public com.liferay.portlet.wiki.model.WikiPage fetchWikiPageByUuidAndGroupId(
196                    java.lang.String uuid, long groupId)
197                    throws com.liferay.portal.kernel.exception.SystemException;
198    
199            /**
200            * Returns the wiki page with the primary key.
201            *
202            * @param pageId the primary key of the wiki page
203            * @return the wiki page
204            * @throws PortalException if a wiki page with the primary key could not be found
205            * @throws SystemException if a system exception occurred
206            */
207            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
208            public com.liferay.portlet.wiki.model.WikiPage getWikiPage(long pageId)
209                    throws com.liferay.portal.kernel.exception.PortalException,
210                            com.liferay.portal.kernel.exception.SystemException;
211    
212            @Override
213            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
214            public com.liferay.portal.model.PersistedModel getPersistedModel(
215                    java.io.Serializable primaryKeyObj)
216                    throws com.liferay.portal.kernel.exception.PortalException,
217                            com.liferay.portal.kernel.exception.SystemException;
218    
219            /**
220            * Returns the wiki page with the matching UUID and company.
221            *
222            * @param uuid the wiki page's UUID
223            * @param companyId the primary key of the company
224            * @return the matching wiki page
225            * @throws PortalException if a matching wiki page could not be found
226            * @throws SystemException if a system exception occurred
227            */
228            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
229            public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndCompanyId(
230                    java.lang.String uuid, long companyId)
231                    throws com.liferay.portal.kernel.exception.PortalException,
232                            com.liferay.portal.kernel.exception.SystemException;
233    
234            /**
235            * Returns the wiki page matching the UUID and group.
236            *
237            * @param uuid the wiki page's UUID
238            * @param groupId the primary key of the group
239            * @return the matching wiki page
240            * @throws PortalException if a matching wiki page could not be found
241            * @throws SystemException if a system exception occurred
242            */
243            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
244            public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndGroupId(
245                    java.lang.String uuid, long groupId)
246                    throws com.liferay.portal.kernel.exception.PortalException,
247                            com.liferay.portal.kernel.exception.SystemException;
248    
249            /**
250            * Returns a range of all the wiki pages.
251            *
252            * <p>
253            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
254            * </p>
255            *
256            * @param start the lower bound of the range of wiki pages
257            * @param end the upper bound of the range of wiki pages (not inclusive)
258            * @return the range of wiki pages
259            * @throws SystemException if a system exception occurred
260            */
261            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
262            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
263                    int start, int end)
264                    throws com.liferay.portal.kernel.exception.SystemException;
265    
266            /**
267            * Returns the number of wiki pages.
268            *
269            * @return the number of wiki pages
270            * @throws SystemException if a system exception occurred
271            */
272            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
273            public int getWikiPagesCount()
274                    throws com.liferay.portal.kernel.exception.SystemException;
275    
276            /**
277            * Updates the wiki page in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
278            *
279            * @param wikiPage the wiki page
280            * @return the wiki page that was updated
281            * @throws SystemException if a system exception occurred
282            */
283            public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
284                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
285                    throws com.liferay.portal.kernel.exception.SystemException;
286    
287            /**
288            * Returns the Spring bean ID for this bean.
289            *
290            * @return the Spring bean ID for this bean
291            */
292            public java.lang.String getBeanIdentifier();
293    
294            /**
295            * Sets the Spring bean ID for this bean.
296            *
297            * @param beanIdentifier the Spring bean ID for this bean
298            */
299            public void setBeanIdentifier(java.lang.String beanIdentifier);
300    
301            public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
302                    long nodeId, java.lang.String title, double version,
303                    java.lang.String content, java.lang.String summary, boolean minorEdit,
304                    java.lang.String format, boolean head, java.lang.String parentTitle,
305                    java.lang.String redirectTitle,
306                    com.liferay.portal.service.ServiceContext serviceContext)
307                    throws com.liferay.portal.kernel.exception.PortalException,
308                            com.liferay.portal.kernel.exception.SystemException;
309    
310            public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
311                    long nodeId, java.lang.String title, java.lang.String content,
312                    java.lang.String summary, boolean minorEdit,
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 addPageAttachment(long userId, long nodeId,
318                    java.lang.String title, java.lang.String fileName, java.io.File file,
319                    java.lang.String mimeType)
320                    throws com.liferay.portal.kernel.exception.PortalException,
321                            com.liferay.portal.kernel.exception.SystemException;
322    
323            public void addPageAttachment(long userId, long nodeId,
324                    java.lang.String title, java.lang.String fileName,
325                    java.io.InputStream inputStream, java.lang.String mimeType)
326                    throws com.liferay.portal.kernel.exception.PortalException,
327                            com.liferay.portal.kernel.exception.SystemException;
328    
329            public void addPageAttachments(long userId, long nodeId,
330                    java.lang.String title,
331                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs)
332                    throws com.liferay.portal.kernel.exception.PortalException,
333                            com.liferay.portal.kernel.exception.SystemException;
334    
335            public void addPageResources(long nodeId, java.lang.String title,
336                    boolean addGroupPermissions, boolean addGuestPermissions)
337                    throws com.liferay.portal.kernel.exception.PortalException,
338                            com.liferay.portal.kernel.exception.SystemException;
339    
340            public void addPageResources(long nodeId, java.lang.String title,
341                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
342                    throws com.liferay.portal.kernel.exception.PortalException,
343                            com.liferay.portal.kernel.exception.SystemException;
344    
345            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
346                    boolean addGroupPermissions, boolean addGuestPermissions)
347                    throws com.liferay.portal.kernel.exception.PortalException,
348                            com.liferay.portal.kernel.exception.SystemException;
349    
350            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
351                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
352                    throws com.liferay.portal.kernel.exception.PortalException,
353                            com.liferay.portal.kernel.exception.SystemException;
354    
355            public void addTempPageAttachment(long groupId, long userId,
356                    java.lang.String fileName, java.lang.String tempFolderName,
357                    java.io.InputStream inputStream, java.lang.String mimeType)
358                    throws com.liferay.portal.kernel.exception.PortalException,
359                            com.liferay.portal.kernel.exception.SystemException;
360    
361            public void changeParent(long userId, long nodeId, java.lang.String title,
362                    java.lang.String newParentTitle,
363                    com.liferay.portal.service.ServiceContext serviceContext)
364                    throws com.liferay.portal.kernel.exception.PortalException,
365                            com.liferay.portal.kernel.exception.SystemException;
366    
367            public void copyPageAttachments(long userId, long templateNodeId,
368                    java.lang.String templateTitle, long nodeId, java.lang.String title)
369                    throws com.liferay.portal.kernel.exception.PortalException,
370                            com.liferay.portal.kernel.exception.SystemException;
371    
372            public void deletePage(long nodeId, java.lang.String title)
373                    throws com.liferay.portal.kernel.exception.PortalException,
374                            com.liferay.portal.kernel.exception.SystemException;
375    
376            /**
377            * @deprecated As of 6.2.0 replaced by {@link #discardDraft(long, String,
378            double)}
379            */
380            public void deletePage(long nodeId, java.lang.String title, double version)
381                    throws com.liferay.portal.kernel.exception.PortalException,
382                            com.liferay.portal.kernel.exception.SystemException;
383    
384            public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
385                    throws com.liferay.portal.kernel.exception.PortalException,
386                            com.liferay.portal.kernel.exception.SystemException;
387    
388            public void deletePageAttachment(long nodeId, java.lang.String title,
389                    java.lang.String fileName)
390                    throws com.liferay.portal.kernel.exception.PortalException,
391                            com.liferay.portal.kernel.exception.SystemException;
392    
393            public void deletePageAttachments(long nodeId, java.lang.String title)
394                    throws com.liferay.portal.kernel.exception.PortalException,
395                            com.liferay.portal.kernel.exception.SystemException;
396    
397            public void deletePages(long nodeId)
398                    throws com.liferay.portal.kernel.exception.PortalException,
399                            com.liferay.portal.kernel.exception.SystemException;
400    
401            public void deleteTempPageAttachment(long groupId, long userId,
402                    java.lang.String fileName, java.lang.String tempFolderName)
403                    throws com.liferay.portal.kernel.exception.PortalException,
404                            com.liferay.portal.kernel.exception.SystemException;
405    
406            public void deleteTrashPageAttachments(long nodeId, java.lang.String title)
407                    throws com.liferay.portal.kernel.exception.PortalException,
408                            com.liferay.portal.kernel.exception.SystemException;
409    
410            public void discardDraft(long nodeId, java.lang.String title, double version)
411                    throws com.liferay.portal.kernel.exception.PortalException,
412                            com.liferay.portal.kernel.exception.SystemException;
413    
414            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
415            public com.liferay.portlet.wiki.model.WikiPage fetchLatestPage(
416                    long resourcePrimKey, int status, boolean preferApproved)
417                    throws com.liferay.portal.kernel.exception.SystemException;
418    
419            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
420            public com.liferay.portlet.wiki.model.WikiPage fetchLatestPage(
421                    long resourcePrimKey, long nodeId, int status, boolean preferApproved)
422                    throws com.liferay.portal.kernel.exception.SystemException;
423    
424            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
425            public com.liferay.portlet.wiki.model.WikiPage fetchLatestPage(
426                    long nodeId, java.lang.String title, int status, boolean preferApproved)
427                    throws com.liferay.portal.kernel.exception.SystemException;
428    
429            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
430            public com.liferay.portlet.wiki.model.WikiPage fetchPage(long nodeId,
431                    java.lang.String title, double version)
432                    throws com.liferay.portal.kernel.exception.SystemException;
433    
434            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
435            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
436                    long nodeId, boolean head, java.lang.String parentTitle)
437                    throws com.liferay.portal.kernel.exception.SystemException;
438    
439            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
440            public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
441                    java.lang.String title)
442                    throws com.liferay.portal.kernel.exception.PortalException,
443                            com.liferay.portal.kernel.exception.SystemException;
444    
445            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
446            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
447                    long nodeId, java.lang.String title)
448                    throws com.liferay.portal.kernel.exception.PortalException,
449                            com.liferay.portal.kernel.exception.SystemException;
450    
451            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
452            public com.liferay.portlet.wiki.model.WikiPage getLatestPage(
453                    long resourcePrimKey, int status, boolean preferApproved)
454                    throws com.liferay.portal.kernel.exception.PortalException,
455                            com.liferay.portal.kernel.exception.SystemException;
456    
457            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
458            public com.liferay.portlet.wiki.model.WikiPage getLatestPage(
459                    long resourcePrimKey, long nodeId, int status, boolean preferApproved)
460                    throws com.liferay.portal.kernel.exception.PortalException,
461                            com.liferay.portal.kernel.exception.SystemException;
462    
463            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
464            public com.liferay.portlet.wiki.model.WikiPage getLatestPage(long nodeId,
465                    java.lang.String title, int status, boolean preferApproved)
466                    throws com.liferay.portal.kernel.exception.PortalException,
467                            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> getNoAssetPages()
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> getOrphans(
475                    long nodeId)
476                    throws com.liferay.portal.kernel.exception.PortalException,
477                            com.liferay.portal.kernel.exception.SystemException;
478    
479            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
480            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
481                    long nodeId, java.lang.String title)
482                    throws com.liferay.portal.kernel.exception.PortalException,
483                            com.liferay.portal.kernel.exception.SystemException;
484    
485            public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
486                    throws com.liferay.portal.kernel.exception.PortalException,
487                            com.liferay.portal.kernel.exception.SystemException;
488    
489            public com.liferay.portlet.wiki.model.WikiPage getPage(
490                    long resourcePrimKey, java.lang.Boolean head)
491                    throws com.liferay.portal.kernel.exception.PortalException,
492                            com.liferay.portal.kernel.exception.SystemException;
493    
494            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
495                    java.lang.String title)
496                    throws com.liferay.portal.kernel.exception.PortalException,
497                            com.liferay.portal.kernel.exception.SystemException;
498    
499            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
500                    java.lang.String title, java.lang.Boolean head)
501                    throws com.liferay.portal.kernel.exception.PortalException,
502                            com.liferay.portal.kernel.exception.SystemException;
503    
504            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
505                    java.lang.String title, double version)
506                    throws com.liferay.portal.kernel.exception.PortalException,
507                            com.liferay.portal.kernel.exception.SystemException;
508    
509            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
510            public com.liferay.portlet.wiki.model.WikiPage getPageByPageId(long pageId)
511                    throws com.liferay.portal.kernel.exception.PortalException,
512                            com.liferay.portal.kernel.exception.SystemException;
513    
514            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
515            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
516                    long nodeId, java.lang.String title,
517                    javax.portlet.PortletURL viewPageURL,
518                    javax.portlet.PortletURL editPageURL,
519                    java.lang.String attachmentURLPrefix)
520                    throws com.liferay.portal.kernel.exception.PortalException,
521                            com.liferay.portal.kernel.exception.SystemException;
522    
523            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
524            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
525                    com.liferay.portlet.wiki.model.WikiPage page,
526                    javax.portlet.PortletURL viewPageURL,
527                    javax.portlet.PortletURL editPageURL,
528                    java.lang.String attachmentURLPrefix)
529                    throws com.liferay.portal.kernel.exception.PortalException,
530                            com.liferay.portal.kernel.exception.SystemException;
531    
532            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
533            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
534                    long nodeId, boolean head, int start, int end)
535                    throws com.liferay.portal.kernel.exception.SystemException;
536    
537            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
538            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
539                    long nodeId, boolean head, int status, int start, int end)
540                    throws com.liferay.portal.kernel.exception.SystemException;
541    
542            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
543            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
544                    long nodeId, boolean head, int status, int start, int end,
545                    com.liferay.portal.kernel.util.OrderByComparator obc)
546                    throws com.liferay.portal.kernel.exception.SystemException;
547    
548            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
549            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
550                    long nodeId, boolean head, int start, int end,
551                    com.liferay.portal.kernel.util.OrderByComparator obc)
552                    throws com.liferay.portal.kernel.exception.SystemException;
553    
554            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
555            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
556                    long nodeId, int start, int end)
557                    throws com.liferay.portal.kernel.exception.SystemException;
558    
559            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
560            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
561                    long nodeId, int start, int end,
562                    com.liferay.portal.kernel.util.OrderByComparator obc)
563                    throws com.liferay.portal.kernel.exception.SystemException;
564    
565            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
566            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
567                    long resourcePrimKey, long nodeId, int status)
568                    throws com.liferay.portal.kernel.exception.SystemException;
569    
570            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
571            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
572                    long userId, long nodeId, int status, int start, int end)
573                    throws com.liferay.portal.kernel.exception.SystemException;
574    
575            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
576            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
577                    long nodeId, java.lang.String title, boolean head, int start, int end)
578                    throws com.liferay.portal.kernel.exception.SystemException;
579    
580            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
581            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
582                    long nodeId, java.lang.String title, int start, int end)
583                    throws com.liferay.portal.kernel.exception.SystemException;
584    
585            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
586            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
587                    long nodeId, java.lang.String title, int start, int end,
588                    com.liferay.portal.kernel.util.OrderByComparator obc)
589                    throws com.liferay.portal.kernel.exception.SystemException;
590    
591            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
592            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
593                    java.lang.String format)
594                    throws com.liferay.portal.kernel.exception.SystemException;
595    
596            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
597            public int getPagesCount(long nodeId)
598                    throws com.liferay.portal.kernel.exception.SystemException;
599    
600            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
601            public int getPagesCount(long nodeId, boolean head)
602                    throws com.liferay.portal.kernel.exception.SystemException;
603    
604            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
605            public int getPagesCount(long nodeId, boolean head, int status)
606                    throws com.liferay.portal.kernel.exception.SystemException;
607    
608            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
609            public int getPagesCount(long nodeId, int status)
610                    throws com.liferay.portal.kernel.exception.SystemException;
611    
612            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
613            public int getPagesCount(long userId, long nodeId, int status)
614                    throws com.liferay.portal.kernel.exception.SystemException;
615    
616            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
617            public int getPagesCount(long nodeId, java.lang.String title)
618                    throws com.liferay.portal.kernel.exception.SystemException;
619    
620            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
621            public int getPagesCount(long nodeId, java.lang.String title, boolean head)
622                    throws com.liferay.portal.kernel.exception.SystemException;
623    
624            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
625            public int getPagesCount(java.lang.String format)
626                    throws com.liferay.portal.kernel.exception.SystemException;
627    
628            /**
629            * @deprecated As of 6.2.0, replaced by {@link #getRecentChanges(long, long,
630            int, int)}
631            */
632            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
633            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
634                    long nodeId, int start, int end)
635                    throws com.liferay.portal.kernel.exception.PortalException,
636                            com.liferay.portal.kernel.exception.SystemException;
637    
638            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
639            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
640                    long groupId, long nodeId, int start, int end)
641                    throws com.liferay.portal.kernel.exception.SystemException;
642    
643            /**
644            * @deprecated As of 6.2.0, replaced by {@link #getRecentChangesCount(long,
645            long)}
646            */
647            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
648            public int getRecentChangesCount(long nodeId)
649                    throws com.liferay.portal.kernel.exception.PortalException,
650                            com.liferay.portal.kernel.exception.SystemException;
651    
652            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
653            public int getRecentChangesCount(long groupId, long nodeId)
654                    throws com.liferay.portal.kernel.exception.SystemException;
655    
656            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
657            public java.lang.String[] getTempPageAttachmentNames(long groupId,
658                    long userId, java.lang.String tempFolderName)
659                    throws com.liferay.portal.kernel.exception.PortalException,
660                            com.liferay.portal.kernel.exception.SystemException;
661    
662            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
663            public boolean hasDraftPage(long nodeId, java.lang.String title)
664                    throws com.liferay.portal.kernel.exception.SystemException;
665    
666            public void movePage(long userId, long nodeId, java.lang.String title,
667                    java.lang.String newTitle, boolean strict,
668                    com.liferay.portal.service.ServiceContext serviceContext)
669                    throws com.liferay.portal.kernel.exception.PortalException,
670                            com.liferay.portal.kernel.exception.SystemException;
671    
672            public void movePage(long userId, long nodeId, java.lang.String title,
673                    java.lang.String newTitle,
674                    com.liferay.portal.service.ServiceContext serviceContext)
675                    throws com.liferay.portal.kernel.exception.PortalException,
676                            com.liferay.portal.kernel.exception.SystemException;
677    
678            public com.liferay.portal.kernel.repository.model.FileEntry movePageAttachmentToTrash(
679                    long userId, long nodeId, java.lang.String title,
680                    java.lang.String fileName)
681                    throws com.liferay.portal.kernel.exception.PortalException,
682                            com.liferay.portal.kernel.exception.SystemException;
683    
684            public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
685                    long userId, long nodeId, java.lang.String title)
686                    throws com.liferay.portal.kernel.exception.PortalException,
687                            com.liferay.portal.kernel.exception.SystemException;
688    
689            public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
690                    long userId, long nodeId, java.lang.String title, double version)
691                    throws com.liferay.portal.kernel.exception.PortalException,
692                            com.liferay.portal.kernel.exception.SystemException;
693    
694            public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
695                    long userId, com.liferay.portlet.wiki.model.WikiPage page)
696                    throws com.liferay.portal.kernel.exception.PortalException,
697                            com.liferay.portal.kernel.exception.SystemException;
698    
699            public void restorePageAttachmentFromTrash(long userId, long nodeId,
700                    java.lang.String title, java.lang.String fileName)
701                    throws com.liferay.portal.kernel.exception.PortalException,
702                            com.liferay.portal.kernel.exception.SystemException;
703    
704            public void restorePageFromTrash(long userId,
705                    com.liferay.portlet.wiki.model.WikiPage page)
706                    throws com.liferay.portal.kernel.exception.PortalException,
707                            com.liferay.portal.kernel.exception.SystemException;
708    
709            public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
710                    long nodeId, java.lang.String title, double version,
711                    com.liferay.portal.service.ServiceContext serviceContext)
712                    throws com.liferay.portal.kernel.exception.PortalException,
713                            com.liferay.portal.kernel.exception.SystemException;
714    
715            public void subscribePage(long userId, long nodeId, java.lang.String title)
716                    throws com.liferay.portal.kernel.exception.PortalException,
717                            com.liferay.portal.kernel.exception.SystemException;
718    
719            public void unsubscribePage(long userId, long nodeId, java.lang.String title)
720                    throws com.liferay.portal.kernel.exception.PortalException,
721                            com.liferay.portal.kernel.exception.SystemException;
722    
723            public void updateAsset(long userId,
724                    com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
725                    java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
726                    throws com.liferay.portal.kernel.exception.PortalException,
727                            com.liferay.portal.kernel.exception.SystemException;
728    
729            public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
730                    long nodeId, java.lang.String title, double version,
731                    java.lang.String content, java.lang.String summary, boolean minorEdit,
732                    java.lang.String format, java.lang.String parentTitle,
733                    java.lang.String redirectTitle,
734                    com.liferay.portal.service.ServiceContext serviceContext)
735                    throws com.liferay.portal.kernel.exception.PortalException,
736                            com.liferay.portal.kernel.exception.SystemException;
737    
738            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
739                    long resourcePrimKey, int status,
740                    com.liferay.portal.service.ServiceContext serviceContext)
741                    throws com.liferay.portal.kernel.exception.PortalException,
742                            com.liferay.portal.kernel.exception.SystemException;
743    
744            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
745                    com.liferay.portlet.wiki.model.WikiPage page, int status,
746                    com.liferay.portal.service.ServiceContext serviceContext)
747                    throws com.liferay.portal.kernel.exception.PortalException,
748                            com.liferay.portal.kernel.exception.SystemException;
749    
750            public void validateTitle(java.lang.String title)
751                    throws com.liferay.portal.kernel.exception.PortalException;
752    }