Liferay 6.0.5

com.liferay.portlet.wiki.service
Class WikiPageServiceUtil

java.lang.Object
  extended by com.liferay.portlet.wiki.service.WikiPageServiceUtil

public class WikiPageServiceUtil
extends Object

The utility for the wiki page remote service. This utility wraps WikiPageServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

Never modify this class directly. Add custom service methods to WikiPageServiceImpl and rerun ServiceBuilder to regenerate this class.

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:
WikiPageService, WikiPageServiceBaseImpl, WikiPageServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
WikiPageServiceUtil()
           
 
Method Summary
static WikiPage addPage(long nodeId, String title, String content, String summary, boolean minorEdit, ServiceContext serviceContext)
           
static WikiPage addPage(long nodeId, String title, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, ServiceContext serviceContext)
           
static void addPageAttachments(long nodeId, String title, List<ObjectValuePair<String,byte[]>> files)
           
static void changeParent(long nodeId, String title, String newParentTitle, ServiceContext serviceContext)
           
static void deletePage(long nodeId, String title)
           
static void deletePage(long nodeId, String title, double version)
           
static void deletePageAttachment(long nodeId, String title, String fileName)
           
static WikiPage getDraftPage(long nodeId, String title)
           
static List<WikiPage> getNodePages(long nodeId, int max)
           
static String getNodePagesRSS(long nodeId, int max, String type, double version, String displayStyle, String feedURL, String entryURL)
           
static WikiPage getPage(long nodeId, String title)
           
static WikiPage getPage(long nodeId, String title, Boolean head)
           
static WikiPage getPage(long nodeId, String title, double version)
           
static String getPagesRSS(long companyId, long nodeId, String title, int max, String type, double version, String displayStyle, String feedURL, String entryURL, Locale locale)
           
static WikiPageService getService()
           
static void movePage(long nodeId, String title, String newTitle, ServiceContext serviceContext)
           
static WikiPage revertPage(long nodeId, String title, double version, ServiceContext serviceContext)
           
 void setService(WikiPageService service)
           
static void subscribePage(long nodeId, String title)
           
static void unsubscribePage(long nodeId, String title)
           
static WikiPage updatePage(long nodeId, String title, double version, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiPageServiceUtil

public WikiPageServiceUtil()
Method Detail

addPage

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

addPage

public static 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

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

changeParent

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

deletePage

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

deletePage

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

deletePageAttachment

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

getDraftPage

public static WikiPage getDraftPage(long nodeId,
                                    String title)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getNodePages

public static List<WikiPage> getNodePages(long nodeId,
                                          int max)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getNodePagesRSS

public static String getNodePagesRSS(long nodeId,
                                     int max,
                                     String type,
                                     double version,
                                     String displayStyle,
                                     String feedURL,
                                     String entryURL)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getPage

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

getPage

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

getPage

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

getPagesRSS

public static 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

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

revertPage

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

subscribePage

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

unsubscribePage

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

updatePage

public static 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

getService

public static WikiPageService getService()

setService

public void setService(WikiPageService service)

Liferay 6.0.5