@ProviderType public class WikiPageServiceWrapper extends java.lang.Object implements WikiPageService, com.liferay.portal.kernel.service.ServiceWrapper<WikiPageService>
WikiPageService
.WikiPageService
Constructor and Description |
---|
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) |
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 |
addTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName,
java.io.InputStream inputStream,
java.lang.String mimeType)
Deprecated.
As of Wilberforce (7.0.x), replaced by
addTempFileEntry(long, String, String, InputStream, String) |
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 |
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) |
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(long groupId,
long nodeId) |
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) |
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) |
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) |
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(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 WikiPageService
com.liferay.portal.kernel.exception.PortalException
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
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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 WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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 WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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 WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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 WikiPageService
com.liferay.portal.kernel.exception.PortalException
@Deprecated public 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)
addTempPageAttachment
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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 WikiPageService
com.liferay.portal.kernel.exception.PortalException
public void copyPageAttachments(long templateNodeId, java.lang.String templateTitle, long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
copyPageAttachments
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public void deletePage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
deletePage
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public void deletePageAttachment(long nodeId, java.lang.String title, java.lang.String fileName) throws com.liferay.portal.kernel.exception.PortalException
deletePageAttachment
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public void deletePageAttachments(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
deletePageAttachments
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public void deleteTempFileEntry(long nodeId, java.lang.String folderName, java.lang.String fileName) throws com.liferay.portal.kernel.exception.PortalException
deleteTempFileEntry
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public void deleteTrashPageAttachments(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
deleteTrashPageAttachments
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public void discardDraft(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
discardDraft
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public WikiPage fetchPage(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
fetchPage
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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 WikiPageService
com.liferay.portal.kernel.exception.PortalException
public WikiPage getDraftPage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
getDraftPage
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<WikiPage> getNodePages(long nodeId, int max) throws com.liferay.portal.kernel.exception.PortalException
getNodePages
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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 WikiPageService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<WikiPage> getOrphans(long groupId, long nodeId) throws com.liferay.portal.kernel.exception.PortalException
getOrphans
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface WikiPageService
public WikiPage getPage(long pageId) throws com.liferay.portal.kernel.exception.PortalException
getPage
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public WikiPage getPage(long groupId, long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
getPage
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public WikiPage getPage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
getPage
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public WikiPage getPage(long nodeId, java.lang.String title, java.lang.Boolean head) throws com.liferay.portal.kernel.exception.PortalException
getPage
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public WikiPage getPage(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
getPage
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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
getPages
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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
getPages
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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 WikiPageService
com.liferay.portal.kernel.exception.PortalException
public int getPagesCount(long groupId, long nodeId, boolean head) throws com.liferay.portal.kernel.exception.PortalException
getPagesCount
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public int getPagesCount(long groupId, long nodeId, boolean head, long userId, boolean includeOwner, int status) throws com.liferay.portal.kernel.exception.PortalException
getPagesCount
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public int getPagesCount(long groupId, long userId, long nodeId, int status) throws com.liferay.portal.kernel.exception.PortalException
getPagesCount
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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 WikiPageService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<WikiPage> getRecentChanges(long groupId, long nodeId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getRecentChanges
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public int getRecentChangesCount(long groupId, long nodeId) throws com.liferay.portal.kernel.exception.PortalException
getRecentChangesCount
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String[] getTempFileNames(long nodeId, java.lang.String folderName) throws com.liferay.portal.kernel.exception.PortalException
getTempFileNames
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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 WikiPageService
com.liferay.portal.kernel.exception.PortalException
public WikiPage movePageToTrash(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
movePageToTrash
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public WikiPage movePageToTrash(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
movePageToTrash
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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 WikiPageService
com.liferay.portal.kernel.exception.PortalException
public void restorePageAttachmentFromTrash(long nodeId, java.lang.String title, java.lang.String fileName) throws com.liferay.portal.kernel.exception.PortalException
restorePageAttachmentFromTrash
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public void restorePageFromTrash(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
restorePageFromTrash
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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 WikiPageService
com.liferay.portal.kernel.exception.PortalException
public void subscribePage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
subscribePage
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public void unsubscribePage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
unsubscribePage
in interface WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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 WikiPageService
com.liferay.portal.kernel.exception.PortalException
public 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>