public class WikiPageServiceWrapper extends java.lang.Object implements com.liferay.portal.kernel.service.ServiceWrapper<WikiPageService>, WikiPageService
WikiPageService.WikiPageService| Constructor and Description |
|---|
WikiPageServiceWrapper() |
WikiPageServiceWrapper(WikiPageService wikiPageService) |
| Modifier and Type | Method and Description |
|---|---|
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) |
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)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
addPage(String,
long, String, String, String, boolean, String, String,
String, ServiceContext) |
WikiPage |
addPage(java.lang.String externalReferenceCode,
long nodeId,
java.lang.String title,
double version,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
boolean head,
java.lang.String parentTitle,
java.lang.String redirectTitle,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
WikiPage |
addPage(java.lang.String externalReferenceCode,
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) |
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) |
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) |
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) |
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) |
void |
changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
copyPageAttachments(long templateNodeId,
java.lang.String templateTitle,
long nodeId,
java.lang.String title) |
void |
deletePage(long nodeId,
java.lang.String title) |
void |
deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName) |
void |
deletePageAttachments(long nodeId,
java.lang.String title) |
void |
deleteTempFileEntry(long nodeId,
java.lang.String folderName,
java.lang.String fileName) |
void |
deleteTrashPageAttachments(long nodeId,
java.lang.String title) |
void |
discardDraft(long nodeId,
java.lang.String title,
double version) |
WikiPage |
fetchLatestPageByExternalReferenceCode(long groupId,
java.lang.String externalReferenceCode)
Returns the latest wiki page matching the group and the external
reference code
|
WikiPage |
fetchPage(long nodeId,
java.lang.String title,
double version) |
java.util.List<WikiPage> |
getChildren(long groupId,
long nodeId,
boolean head,
java.lang.String parentTitle) |
WikiPage |
getDraftPage(long nodeId,
java.lang.String title) |
WikiPage |
getLatestPageByExternalReferenceCode(long groupId,
java.lang.String externalReferenceCode)
Returns the latest wiki page matching the group and the external
reference code
|
java.util.List<WikiPage> |
getNodePages(long nodeId,
int max) |
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) |
java.util.List<WikiPage> |
getOrphans(WikiNode node) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
WikiPage |
getPage(long pageId) |
WikiPage |
getPage(long groupId,
long nodeId,
java.lang.String title) |
WikiPage |
getPage(long nodeId,
java.lang.String title) |
WikiPage |
getPage(long nodeId,
java.lang.String title,
java.lang.Boolean head) |
WikiPage |
getPage(long nodeId,
java.lang.String title,
double version) |
WikiPage |
getPageByPageId(long pageId) |
java.util.List<WikiPage> |
getPages(long groupId,
long nodeId,
boolean head,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiPage> orderByComparator) |
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> orderByComparator) |
java.util.List<WikiPage> |
getPages(long groupId,
long userId,
long nodeId,
int status,
int start,
int end) |
int |
getPagesCount(long groupId,
long nodeId,
boolean head) |
int |
getPagesCount(long groupId,
long nodeId,
boolean head,
long userId,
boolean includeOwner,
int status) |
int |
getPagesCount(long groupId,
long userId,
long nodeId,
int status) |
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) |
java.util.List<WikiPage> |
getRecentChanges(long groupId,
long nodeId,
int start,
int end) |
int |
getRecentChangesCount(long groupId,
long nodeId) |
java.lang.String[] |
getTempFileNames(long nodeId,
java.lang.String folderName) |
WikiPageService |
getWrappedService() |
com.liferay.portal.kernel.repository.model.FileEntry |
movePageAttachmentToTrash(long nodeId,
java.lang.String title,
java.lang.String fileName) |
WikiPage |
movePageToTrash(long nodeId,
java.lang.String title) |
WikiPage |
movePageToTrash(long nodeId,
java.lang.String title,
double version) |
void |
renamePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
restorePageAttachmentFromTrash(long nodeId,
java.lang.String title,
java.lang.String fileName) |
void |
restorePageFromTrash(long resourcePrimKey) |
WikiPage |
revertPage(long nodeId,
java.lang.String title,
double version,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setWrappedService(WikiPageService wikiPageService) |
void |
subscribePage(long nodeId,
java.lang.String title) |
void |
unsubscribePage(long nodeId,
java.lang.String title) |
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 WikiPageServiceWrapper()
public WikiPageServiceWrapper(WikiPageService wikiPageService)
public 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
addPage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public 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
addPage(String,
long, String, String, String, boolean, String, String,
String, ServiceContext)addPage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic WikiPage addPage(java.lang.String externalReferenceCode, long nodeId, java.lang.String title, double version, java.lang.String content, java.lang.String summary, boolean minorEdit, java.lang.String format, boolean head, java.lang.String parentTitle, java.lang.String redirectTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addPage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic WikiPage addPage(java.lang.String externalReferenceCode, 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
addPage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
addPageAttachment in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
addPageAttachment in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
addPageAttachments in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
addTempFileEntry in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
changeParent in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void copyPageAttachments(long templateNodeId,
java.lang.String templateTitle,
long nodeId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.PortalException
copyPageAttachments in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deletePage(long nodeId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.PortalException
deletePage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws com.liferay.portal.kernel.exception.PortalException
deletePageAttachment in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deletePageAttachments(long nodeId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.PortalException
deletePageAttachments in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteTempFileEntry(long nodeId,
java.lang.String folderName,
java.lang.String fileName)
throws com.liferay.portal.kernel.exception.PortalException
deleteTempFileEntry in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteTrashPageAttachments(long nodeId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.PortalException
deleteTrashPageAttachments in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void discardDraft(long nodeId,
java.lang.String title,
double version)
throws com.liferay.portal.kernel.exception.PortalException
discardDraft in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic WikiPage fetchLatestPageByExternalReferenceCode(long groupId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
fetchLatestPageByExternalReferenceCode in interface WikiPageServicegroupId - the primary key of the groupexternalReferenceCode - the wiki page external reference codenull if no
matching wiki page could be foundcom.liferay.portal.kernel.exception.PortalExceptionpublic WikiPage fetchPage(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
fetchPage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<WikiPage> getChildren(long groupId, long nodeId, boolean head, java.lang.String parentTitle) throws com.liferay.portal.kernel.exception.PortalException
getChildren in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic WikiPage getDraftPage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
getDraftPage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic WikiPage getLatestPageByExternalReferenceCode(long groupId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
getLatestPageByExternalReferenceCode in interface WikiPageServicegroupId - the primary key of the groupexternalReferenceCode - the wiki page external reference codePortalException - if a portal exception occurredpublic java.util.List<WikiPage> getNodePages(long nodeId, int max) throws com.liferay.portal.kernel.exception.PortalException
getNodePages in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
getNodePagesRSS in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<WikiPage> getOrphans(WikiNode node) throws com.liferay.portal.kernel.exception.PortalException
getOrphans in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface WikiPageServicepublic WikiPage getPage(long pageId) throws com.liferay.portal.kernel.exception.PortalException
getPage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic WikiPage getPage(long groupId, long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
getPage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic WikiPage getPage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
getPage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic WikiPage getPage(long nodeId, java.lang.String title, java.lang.Boolean head) throws com.liferay.portal.kernel.exception.PortalException
getPage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic WikiPage getPage(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
getPage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic WikiPage getPageByPageId(long pageId) throws com.liferay.portal.kernel.exception.PortalException
getPageByPageId in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<WikiPage> getPages(long groupId, long nodeId, boolean head, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPage> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
getPages in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
getPages in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<WikiPage> getPages(long groupId, long userId, long nodeId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getPages in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getPagesCount(long groupId,
long nodeId,
boolean head)
throws com.liferay.portal.kernel.exception.PortalException
getPagesCount in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getPagesCount(long groupId,
long nodeId,
boolean head,
long userId,
boolean includeOwner,
int status)
throws com.liferay.portal.kernel.exception.PortalException
getPagesCount in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getPagesCount(long groupId,
long userId,
long nodeId,
int status)
throws com.liferay.portal.kernel.exception.PortalException
getPagesCount in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
getPagesRSS in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<WikiPage> getRecentChanges(long groupId, long nodeId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getRecentChanges in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getRecentChangesCount(long groupId,
long nodeId)
throws com.liferay.portal.kernel.exception.PortalException
getRecentChangesCount in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String[] getTempFileNames(long nodeId,
java.lang.String folderName)
throws com.liferay.portal.kernel.exception.PortalException
getTempFileNames in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
movePageAttachmentToTrash in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic WikiPage movePageToTrash(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
movePageToTrash in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic WikiPage movePageToTrash(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
movePageToTrash in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
renamePage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void restorePageAttachmentFromTrash(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws com.liferay.portal.kernel.exception.PortalException
restorePageAttachmentFromTrash in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void restorePageFromTrash(long resourcePrimKey)
throws com.liferay.portal.kernel.exception.PortalException
restorePageFromTrash in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic WikiPage revertPage(long nodeId, java.lang.String title, double version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
revertPage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void subscribePage(long nodeId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.PortalException
subscribePage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void unsubscribePage(long nodeId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.PortalException
unsubscribePage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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
updatePage in interface WikiPageServicecom.liferay.portal.kernel.exception.PortalExceptionpublic WikiPageService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<WikiPageService>public void setWrappedService(WikiPageService wikiPageService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<WikiPageService>