com.liferay.portlet.wiki.service
Class WikiPageServiceUtil
java.lang.Object
com.liferay.portlet.wiki.service.WikiPageServiceUtil
public class WikiPageServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
WikiPageService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
WikiPageService
- Generated:
Method Summary |
static WikiPage |
addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
ServiceContext serviceContext)
|
static WikiPage |
addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
java.lang.String parentTitle,
java.lang.String redirectTitle,
ServiceContext serviceContext)
|
static void |
addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<ObjectValuePair<java.lang.String,byte[]>> files)
|
static void |
changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
ServiceContext serviceContext)
|
static void |
deletePage(long nodeId,
java.lang.String title)
|
static void |
deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
|
static WikiPage |
getDraftPage(long nodeId,
java.lang.String title)
|
static java.util.List<WikiPage> |
getNodePages(long nodeId,
int max)
|
static 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)
|
static WikiPage |
getPage(long nodeId,
java.lang.String title)
|
static WikiPage |
getPage(long nodeId,
java.lang.String title,
boolean head)
|
static WikiPage |
getPage(long nodeId,
java.lang.String title,
double version)
|
static 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)
|
static WikiPageService |
getService()
|
static void |
movePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
ServiceContext serviceContext)
|
static WikiPage |
revertPage(long nodeId,
java.lang.String title,
double version,
ServiceContext serviceContext)
|
void |
setService(WikiPageService service)
|
static void |
subscribePage(long nodeId,
java.lang.String title)
|
static void |
unsubscribePage(long nodeId,
java.lang.String title)
|
static 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,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikiPageServiceUtil
public WikiPageServiceUtil()
addPage
public static WikiPage addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addPage
public static WikiPage addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
java.lang.String parentTitle,
java.lang.String redirectTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addPageAttachments
public static void addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<ObjectValuePair<java.lang.String,byte[]>> files)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
changeParent
public static void changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deletePage
public static void deletePage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deletePageAttachment
public static void deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getDraftPage
public static WikiPage getDraftPage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNodePages
public static java.util.List<WikiPage> getNodePages(long nodeId,
int max)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNodePagesRSS
public static 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 PortalException,
SystemException
- Throws:
PortalException
SystemException
getPage
public static WikiPage getPage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPage
public static WikiPage getPage(long nodeId,
java.lang.String title,
boolean head)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPage
public static WikiPage getPage(long nodeId,
java.lang.String title,
double version)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPagesRSS
public static 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 PortalException,
SystemException
- Throws:
PortalException
SystemException
movePage
public static void movePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
revertPage
public static WikiPage revertPage(long nodeId,
java.lang.String title,
double version,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
subscribePage
public static void subscribePage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unsubscribePage
public static void unsubscribePage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updatePage
public static 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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static WikiPageService getService()
setService
public void setService(WikiPageService service)