Liferay 6.0.5

com.liferay.portlet.wiki.service
Interface WikiPageService

All Known Implementing Classes:
WikiPageServiceBaseImpl, WikiPageServiceImpl, WikiPageServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface WikiPageService

The interface for the wiki page remote service.

Never modify or reference this interface directly. Always use WikiPageServiceUtil to access the wiki page remote service. Add custom service methods to WikiPageServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

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.

See Also:
WikiPageServiceUtil, WikiPageServiceBaseImpl, WikiPageServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 WikiPage addPage(long nodeId, String title, String content, String summary, boolean minorEdit, ServiceContext serviceContext)
           
 WikiPage addPage(long nodeId, String title, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, ServiceContext serviceContext)
           
 void addPageAttachments(long nodeId, String title, List<ObjectValuePair<String,byte[]>> files)
           
 void changeParent(long nodeId, String title, String newParentTitle, ServiceContext serviceContext)
           
 void deletePage(long nodeId, String title)
           
 void deletePage(long nodeId, String title, double version)
           
 void deletePageAttachment(long nodeId, String title, String fileName)
           
 WikiPage getDraftPage(long nodeId, String title)
           
 List<WikiPage> getNodePages(long nodeId, int max)
           
 String getNodePagesRSS(long nodeId, int max, String type, double version, String displayStyle, String feedURL, String entryURL)
           
 WikiPage getPage(long nodeId, String title)
           
 WikiPage getPage(long nodeId, String title, Boolean head)
           
 WikiPage getPage(long nodeId, String title, double version)
           
 String getPagesRSS(long companyId, long nodeId, String title, int max, String type, double version, String displayStyle, String feedURL, String entryURL, Locale locale)
           
 void movePage(long nodeId, String title, String newTitle, ServiceContext serviceContext)
           
 WikiPage revertPage(long nodeId, String title, double version, ServiceContext serviceContext)
           
 void subscribePage(long nodeId, String title)
           
 void unsubscribePage(long nodeId, String title)
           
 WikiPage updatePage(long nodeId, String title, double version, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, ServiceContext serviceContext)
           
 

Method Detail

addPage

WikiPage addPage(long nodeId,
                 String title,
                 String content,
                 String summary,
                 boolean minorEdit,
                 ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

addPage

WikiPage addPage(long nodeId,
                 String title,
                 String content,
                 String summary,
                 boolean minorEdit,
                 String format,
                 String parentTitle,
                 String redirectTitle,
                 ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

addPageAttachments

void addPageAttachments(long nodeId,
                        String title,
                        List<ObjectValuePair<String,byte[]>> files)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

changeParent

void changeParent(long nodeId,
                  String title,
                  String newParentTitle,
                  ServiceContext serviceContext)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

deletePage

void deletePage(long nodeId,
                String title)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

deletePage

void deletePage(long nodeId,
                String title,
                double version)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

deletePageAttachment

void deletePageAttachment(long nodeId,
                          String title,
                          String fileName)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getDraftPage

@Transactional(propagation=SUPPORTS,
               readOnly=true)
WikiPage getDraftPage(long nodeId,
                                                               String title)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getNodePages

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<WikiPage> getNodePages(long nodeId,
                                                                     int max)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getNodePagesRSS

@Transactional(propagation=SUPPORTS,
               readOnly=true)
String getNodePagesRSS(long nodeId,
                                                                int max,
                                                                String type,
                                                                double version,
                                                                String displayStyle,
                                                                String feedURL,
                                                                String entryURL)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getPage

WikiPage getPage(long nodeId,
                 String title)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getPage

WikiPage getPage(long nodeId,
                 String title,
                 Boolean head)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getPage

WikiPage getPage(long nodeId,
                 String title,
                 double version)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getPagesRSS

@Transactional(propagation=SUPPORTS,
               readOnly=true)
String getPagesRSS(long companyId,
                                                            long nodeId,
                                                            String title,
                                                            int max,
                                                            String type,
                                                            double version,
                                                            String displayStyle,
                                                            String feedURL,
                                                            String entryURL,
                                                            Locale locale)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

movePage

void movePage(long nodeId,
              String title,
              String newTitle,
              ServiceContext serviceContext)
              throws PortalException,
                     SystemException
Throws:
PortalException
SystemException

revertPage

WikiPage revertPage(long nodeId,
                    String title,
                    double version,
                    ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

subscribePage

void subscribePage(long nodeId,
                   String title)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

unsubscribePage

void unsubscribePage(long nodeId,
                     String title)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

updatePage

WikiPage updatePage(long nodeId,
                    String title,
                    double version,
                    String content,
                    String summary,
                    boolean minorEdit,
                    String format,
                    String parentTitle,
                    String redirectTitle,
                    ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5