@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface WikiPageService
extends com.liferay.portal.kernel.service.BaseService
WikiPageServiceUtil
,
com.liferay.wiki.service.base.WikiPageServiceBaseImpl
,
com.liferay.wiki.service.impl.WikiPageServiceImpl
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) |
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 |
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) |
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.PortalException
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.PortalException
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.PortalException
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.PortalException
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.PortalException
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.PortalException
@Deprecated 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.PortalException
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.PortalException
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.PortalException
void deletePage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deletePageAttachment(long nodeId, java.lang.String title, java.lang.String fileName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deletePageAttachments(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteTempFileEntry(long nodeId, java.lang.String folderName, java.lang.String fileName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteTrashPageAttachments(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void discardDraft(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) WikiPage fetchPage(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) WikiPage getDraftPage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<WikiPage> getNodePages(long nodeId, int max) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<WikiPage> getOrphans(long groupId, long nodeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) WikiPage getPage(long pageId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) WikiPage getPage(long groupId, long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) WikiPage getPage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) WikiPage getPage(long nodeId, java.lang.String title, java.lang.Boolean head) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) WikiPage getPage(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getPagesCount(long groupId, long nodeId, boolean head) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getPagesCount(long groupId, long userId, long nodeId, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) int getRecentChangesCount(long groupId, long nodeId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.lang.String[] getTempFileNames(long nodeId, java.lang.String folderName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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.PortalException
WikiPage movePageToTrash(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
WikiPage movePageToTrash(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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.PortalException
void restorePageAttachmentFromTrash(long nodeId, java.lang.String title, java.lang.String fileName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void restorePageFromTrash(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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.PortalException
void subscribePage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void unsubscribePage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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.PortalException