@ProviderType
public class WikiPageServiceUtil
extends java.lang.Object
com.liferay.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.wiki.service.base.WikiPageServiceBaseImpl,
com.liferay.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,
com.liferay.portal.kernel.service.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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.FileEntry |
addPageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.File file,
java.lang.String mimeType) |
static com.liferay.portal.kernel.repository.model.FileEntry |
addPageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.InputStream inputStream,
java.lang.String mimeType) |
static java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> |
addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs) |
static com.liferay.portal.kernel.repository.model.FileEntry |
addTempFileEntry(long nodeId,
java.lang.String folderName,
java.lang.String fileName,
java.io.InputStream inputStream,
java.lang.String mimeType) |
static void |
addTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName,
java.io.InputStream inputStream,
java.lang.String mimeType)
Deprecated.
As of 7.0.0 replaced by
addTempFileEntry(long,
String, String, InputStream, String) |
static void |
changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
com.liferay.portal.kernel.service.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 |
deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName) |
static void |
deletePageAttachments(long nodeId,
java.lang.String title) |
static void |
deleteTempFileEntry(long nodeId,
java.lang.String folderName,
java.lang.String fileName) |
static void |
deleteTrashPageAttachments(long nodeId,
java.lang.String title) |
static void |
discardDraft(long nodeId,
java.lang.String title,
double version) |
static WikiPage |
fetchPage(long nodeId,
java.lang.String title,
double version) |
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,
java.lang.String attachmentURLPrefix) |
static java.util.List<WikiPage> |
getOrphans(long groupId,
long nodeId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static WikiPage |
getPage(long pageId) |
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,
com.liferay.portal.kernel.util.OrderByComparator<WikiPage> obc) |
static java.util.List<WikiPage> |
getPages(long groupId,
long nodeId,
boolean head,
long userId,
boolean includeOwner,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiPage> 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 nodeId,
boolean head,
long userId,
boolean includeOwner,
int status) |
static int |
getPagesCount(long groupId,
long userId,
long nodeId,
int status) |
static java.lang.String |
getPagesRSS(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[] |
getTempFileNames(long nodeId,
java.lang.String folderName) |
static com.liferay.portal.kernel.repository.model.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 |
renamePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static com.liferay.portal.kernel.repository.model.FileEntry addPageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.File file,
java.lang.String mimeType)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.portal.kernel.repository.model.FileEntry addPageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.InputStream inputStream,
java.lang.String mimeType)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.portal.kernel.repository.model.FileEntry addTempFileEntry(long nodeId,
java.lang.String folderName,
java.lang.String fileName,
java.io.InputStream inputStream,
java.lang.String mimeType)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.portal.kernel.repository.model.FileEntry movePageAttachmentToTrash(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static WikiPage addPage(long nodeId, java.lang.String title, java.lang.String content, java.lang.String summary, boolean minorEdit, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static WikiPage fetchPage(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static WikiPage getDraftPage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static WikiPage getPage(long groupId, long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static WikiPage getPage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static WikiPage getPage(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static WikiPage getPage(long nodeId, java.lang.String title, java.lang.Boolean head) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static WikiPage getPage(long pageId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static WikiPage movePageToTrash(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static WikiPage movePageToTrash(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static WikiPage revertPage(long nodeId, java.lang.String title, double version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getPagesCount(long groupId,
long nodeId,
boolean head)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getPagesCount(long groupId,
long nodeId,
boolean head,
long userId,
boolean includeOwner,
int status)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getPagesCount(long groupId,
long userId,
long nodeId,
int status)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getRecentChangesCount(long groupId,
long nodeId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic 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 com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static java.lang.String getPagesRSS(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 com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String[] getTempFileNames(long nodeId,
java.lang.String folderName)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<WikiPage> getChildren(long groupId, long nodeId, boolean head, java.lang.String parentTitle) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<WikiPage> getNodePages(long nodeId, int max) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<WikiPage> getOrphans(long groupId, long nodeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<WikiPage> getPages(long groupId, long nodeId, boolean head, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPage> obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<WikiPage> getPages(long groupId, long nodeId, boolean head, long userId, boolean includeOwner, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPage> obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<WikiPage> getPages(long groupId, long userId, long nodeId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<WikiPage> getRecentChanges(long groupId, long nodeId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Deprecated
public static void addTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName,
java.io.InputStream inputStream,
java.lang.String mimeType)
throws com.liferay.portal.kernel.exception.PortalException
addTempFileEntry(long,
String, String, InputStream, String)com.liferay.portal.kernel.exception.PortalExceptionpublic static void changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void copyPageAttachments(long templateNodeId,
java.lang.String templateTitle,
long nodeId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deletePage(long nodeId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deletePageAttachments(long nodeId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteTempFileEntry(long nodeId,
java.lang.String folderName,
java.lang.String fileName)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteTrashPageAttachments(long nodeId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void discardDraft(long nodeId,
java.lang.String title,
double version)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void renamePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void restorePageAttachmentFromTrash(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void restorePageFromTrash(long resourcePrimKey)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void subscribePage(long nodeId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void unsubscribePage(long nodeId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static WikiPageService getService()