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:
WikiPageServiceFactory, WikiPageServiceUtil

Method Summary
 WikiPage addPage(long nodeId, java.lang.String title, 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 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 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,
                 javax.portlet.PortletPreferences prefs,
                 ThemeDisplay themeDisplay)
                 throws java.rmi.RemoteException,
                        com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

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.SystemException,
                               com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deletePage

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

deletePageAttachment

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

getNodePages

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

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.SystemException,
                                        com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getPage

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

getPage

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

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.SystemException,
                                    com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

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.SystemException,
                     com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

revertPage

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

subscribePage

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

unsubscribePage

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

updatePage

WikiPage updatePage(long nodeId,
                    java.lang.String title,
                    double version,
                    java.lang.String content,
                    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.SystemException,
                           com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException