com.liferay.portlet.wiki.service
Interface WikiPageService


public interface WikiPageService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.wiki.service.impl.WikiPageServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
WikiPageServiceUtil

Method Summary
 WikiPage addPage(long nodeId, java.lang.String title, java.lang.String content, java.lang.String summary, boolean minorEdit, javax.portlet.PortletPreferences prefs, ThemeDisplay themeDisplay)
           
 void addPageAttachments(long nodeId, java.lang.String title, java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files)
           
 void changeParent(long nodeId, java.lang.String title, java.lang.String newParentTitle, javax.portlet.PortletPreferences prefs, ThemeDisplay themeDisplay)
           
 void deletePage(long nodeId, java.lang.String title)
           
 void deletePageAttachment(long nodeId, java.lang.String title, java.lang.String fileName)
           
 java.util.List<WikiPage> getNodePages(long nodeId, int max)
           
 java.lang.String getNodePagesRSS(long nodeId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL)
           
 WikiPage getPage(long nodeId, java.lang.String title)
           
 WikiPage getPage(long nodeId, java.lang.String title, double version)
           
 java.lang.String getPagesRSS(long companyId, long nodeId, java.lang.String title, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, java.util.Locale locale)
           
 void movePage(long nodeId, java.lang.String title, java.lang.String newTitle, javax.portlet.PortletPreferences prefs, ThemeDisplay themeDisplay)
           
 WikiPage revertPage(long nodeId, java.lang.String title, double version, javax.portlet.PortletPreferences prefs, ThemeDisplay themeDisplay)
           
 void subscribePage(long nodeId, java.lang.String title)
           
 void unsubscribePage(long nodeId, java.lang.String title)
           
 WikiPage updatePage(long nodeId, java.lang.String title, double version, java.lang.String content, java.lang.String summary, boolean minorEdit, java.lang.String format, java.lang.String parentTitle, java.lang.String redirectTitle, java.lang.String[] tagsEntries, javax.portlet.PortletPreferences prefs, ThemeDisplay themeDisplay)
           
 

Method Detail

addPage

WikiPage addPage(long nodeId,
                 java.lang.String title,
                 java.lang.String content,
                 java.lang.String summary,
                 boolean minorEdit,
                 javax.portlet.PortletPreferences prefs,
                 ThemeDisplay themeDisplay)
                 throws java.rmi.RemoteException,
                        com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addPageAttachments

void addPageAttachments(long nodeId,
                        java.lang.String title,
                        java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files)
                        throws java.rmi.RemoteException,
                               com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

changeParent

void changeParent(long nodeId,
                  java.lang.String title,
                  java.lang.String newParentTitle,
                  javax.portlet.PortletPreferences prefs,
                  ThemeDisplay themeDisplay)
                  throws java.rmi.RemoteException,
                         com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deletePage

void deletePage(long nodeId,
                java.lang.String title)
                throws java.rmi.RemoteException,
                       com.liferay.portal.PortalException,
                       com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deletePageAttachment

void deletePageAttachment(long nodeId,
                          java.lang.String title,
                          java.lang.String fileName)
                          throws java.rmi.RemoteException,
                                 com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getNodePages

java.util.List<WikiPage> getNodePages(long nodeId,
                                      int max)
                                      throws java.rmi.RemoteException,
                                             com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getNodePagesRSS

java.lang.String getNodePagesRSS(long nodeId,
                                 int max,
                                 java.lang.String type,
                                 double version,
                                 java.lang.String displayStyle,
                                 java.lang.String feedURL,
                                 java.lang.String entryURL)
                                 throws java.rmi.RemoteException,
                                        com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPage

WikiPage getPage(long nodeId,
                 java.lang.String title)
                 throws java.rmi.RemoteException,
                        com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPage

WikiPage getPage(long nodeId,
                 java.lang.String title,
                 double version)
                 throws java.rmi.RemoteException,
                        com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPagesRSS

java.lang.String getPagesRSS(long companyId,
                             long nodeId,
                             java.lang.String title,
                             int max,
                             java.lang.String type,
                             double version,
                             java.lang.String displayStyle,
                             java.lang.String feedURL,
                             java.lang.String entryURL,
                             java.util.Locale locale)
                             throws java.rmi.RemoteException,
                                    com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

movePage

void movePage(long nodeId,
              java.lang.String title,
              java.lang.String newTitle,
              javax.portlet.PortletPreferences prefs,
              ThemeDisplay themeDisplay)
              throws java.rmi.RemoteException,
                     com.liferay.portal.PortalException,
                     com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

revertPage

WikiPage revertPage(long nodeId,
                    java.lang.String title,
                    double version,
                    javax.portlet.PortletPreferences prefs,
                    ThemeDisplay themeDisplay)
                    throws java.rmi.RemoteException,
                           com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

subscribePage

void subscribePage(long nodeId,
                   java.lang.String title)
                   throws java.rmi.RemoteException,
                          com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

unsubscribePage

void unsubscribePage(long nodeId,
                     java.lang.String title)
                     throws java.rmi.RemoteException,
                            com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updatePage

WikiPage updatePage(long nodeId,
                    java.lang.String title,
                    double version,
                    java.lang.String content,
                    java.lang.String summary,
                    boolean minorEdit,
                    java.lang.String format,
                    java.lang.String parentTitle,
                    java.lang.String redirectTitle,
                    java.lang.String[] tagsEntries,
                    javax.portlet.PortletPreferences prefs,
                    ThemeDisplay themeDisplay)
                    throws java.rmi.RemoteException,
                           com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException