@ProviderType
public class WikiPageServiceUtil
extends java.lang.Object
com.liferay.portlet.wiki.service.impl.WikiPageServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.WikiPageService,
com.liferay.portlet.wiki.service.base.WikiPageServiceBaseImpl,
com.liferay.portlet.wiki.service.impl.WikiPageServiceImpl| Constructor and Description |
|---|
WikiPageServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
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 |
addPageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.File file,
java.lang.String mimeType) |
static void |
addPageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.InputStream inputStream,
java.lang.String mimeType) |
static void |
addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs) |
static void |
addTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName,
java.io.InputStream inputStream,
java.lang.String mimeType) |
static void |
changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
ServiceContext serviceContext) |
static void |
copyPageAttachments(long templateNodeId,
java.lang.String templateTitle,
long nodeId,
java.lang.String title) |
static void |
deletePage(long nodeId,
java.lang.String title) |
static void |
deletePage(long nodeId,
java.lang.String title,
double version)
Deprecated.
As of 6.2.0 replaced by
discardDraft(long, String,
double) |
static void |
deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName) |
static void |
deletePageAttachments(long nodeId,
java.lang.String title) |
static void |
deleteTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName) |
static void |
deleteTrashPageAttachments(long nodeId,
java.lang.String title) |
static void |
discardDraft(long nodeId,
java.lang.String title,
double version) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static java.util.List<WikiPage> |
getChildren(long groupId,
long nodeId,
boolean head,
java.lang.String parentTitle) |
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)
Deprecated.
As of 6.2.0, replaced by
getNodePagesRSS(long, int,
String, double, String, String, String, String) |
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,
java.lang.String attachmentURLPrefix) |
static java.util.List<WikiPage> |
getOrphans(long groupId,
long nodeId) |
static WikiPage |
getPage(long groupId,
long nodeId,
java.lang.String title) |
static WikiPage |
getPage(long nodeId,
java.lang.String title) |
static WikiPage |
getPage(long nodeId,
java.lang.String title,
java.lang.Boolean head) |
static WikiPage |
getPage(long nodeId,
java.lang.String title,
double version) |
static java.util.List<WikiPage> |
getPages(long groupId,
long nodeId,
boolean head,
int status,
int start,
int end,
OrderByComparator obc) |
static java.util.List<WikiPage> |
getPages(long groupId,
long userId,
long nodeId,
int status,
int start,
int end) |
static int |
getPagesCount(long groupId,
long nodeId,
boolean head) |
static int |
getPagesCount(long groupId,
long userId,
long nodeId,
int status) |
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)
Deprecated.
|
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.lang.String attachmentURLPrefix,
java.util.Locale locale) |
static java.util.List<WikiPage> |
getRecentChanges(long groupId,
long nodeId,
int start,
int end) |
static int |
getRecentChangesCount(long groupId,
long nodeId) |
static WikiPageService |
getService() |
static java.lang.String[] |
getTempPageAttachmentNames(long nodeId,
java.lang.String tempFolderName) |
static void |
movePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
ServiceContext serviceContext) |
static FileEntry |
movePageAttachmentToTrash(long nodeId,
java.lang.String title,
java.lang.String fileName) |
static WikiPage |
movePageToTrash(long nodeId,
java.lang.String title) |
static WikiPage |
movePageToTrash(long nodeId,
java.lang.String title,
double version) |
static void |
restorePageAttachmentFromTrash(long nodeId,
java.lang.String title,
java.lang.String fileName) |
static void |
restorePageFromTrash(long resourcePrimKey) |
static WikiPage |
revertPage(long nodeId,
java.lang.String title,
double version,
ServiceContext serviceContext) |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(WikiPageService service)
Deprecated.
As of 6.2.0
|
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) |
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static WikiPage addPage(long nodeId, java.lang.String title, java.lang.String content, java.lang.String summary, boolean minorEdit, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic 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
PortalExceptionSystemExceptionpublic static void addPageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.File file,
java.lang.String mimeType)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void addPageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.InputStream inputStream,
java.lang.String mimeType)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void addTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName,
java.io.InputStream inputStream,
java.lang.String mimeType)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void copyPageAttachments(long templateNodeId,
java.lang.String templateTitle,
long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void deletePage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void deletePage(long nodeId,
java.lang.String title,
double version)
throws PortalException,
SystemException
discardDraft(long, String,
double)PortalExceptionSystemExceptionpublic static void deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void deletePageAttachments(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void deleteTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void deleteTrashPageAttachments(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void discardDraft(long nodeId,
java.lang.String title,
double version)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static java.util.List<WikiPage> getChildren(long groupId, long nodeId, boolean head, java.lang.String parentTitle) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage getDraftPage(long nodeId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<WikiPage> getNodePages(long nodeId, int max) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic 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
getNodePagesRSS(long, int,
String, double, String, String, String, String)PortalExceptionSystemExceptionpublic 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,
java.lang.String attachmentURLPrefix)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static java.util.List<WikiPage> getOrphans(long groupId, long nodeId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage getPage(long groupId, long nodeId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage getPage(long nodeId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage getPage(long nodeId, java.lang.String title, java.lang.Boolean head) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage getPage(long nodeId, java.lang.String title, double version) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<WikiPage> getPages(long groupId, long nodeId, boolean head, int status, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<WikiPage> getPages(long groupId, long userId, long nodeId, int status, int start, int end) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static int getPagesCount(long groupId,
long nodeId,
boolean head)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static int getPagesCount(long groupId,
long userId,
long nodeId,
int status)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic 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
getPagesRSS(long, long,
String, int, String, double, String, String, String, String,
java.util.Locale)PortalExceptionSystemExceptionpublic 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.lang.String attachmentURLPrefix,
java.util.Locale locale)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static java.util.List<WikiPage> getRecentChanges(long groupId, long nodeId, int start, int end) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static int getRecentChangesCount(long groupId,
long nodeId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static java.lang.String[] getTempPageAttachmentNames(long nodeId,
java.lang.String tempFolderName)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void movePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static FileEntry movePageAttachmentToTrash(long nodeId, java.lang.String title, java.lang.String fileName) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage movePageToTrash(long nodeId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage movePageToTrash(long nodeId, java.lang.String title, double version) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void restorePageAttachmentFromTrash(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void restorePageFromTrash(long resourcePrimKey)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static WikiPage revertPage(long nodeId, java.lang.String title, double version, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void subscribePage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void unsubscribePage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic 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
PortalExceptionSystemExceptionpublic static WikiPageService getService()
public void setService(WikiPageService service)