com.liferay.portlet.wiki.service
Interface WikiPageService
- All Known Implementing Classes:
- WikiPageServiceWrapper
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface WikiPageService
The interface for the wiki page remote service.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
WikiPageServiceUtil,
com.liferay.portlet.wiki.service.base.WikiPageServiceBaseImpl,
com.liferay.portlet.wiki.service.impl.WikiPageServiceImpl- Generated:
|
Method Summary |
WikiPage |
addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
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,
ServiceContext serviceContext)
|
void |
addPageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.File file)
|
void |
addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStream)
|
java.lang.String |
addTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName,
java.io.InputStream inputStream)
|
void |
changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
ServiceContext serviceContext)
|
void |
deletePage(long nodeId,
java.lang.String title)
|
void |
deletePage(long nodeId,
java.lang.String title,
double version)
|
void |
deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
|
void |
deleteTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName)
|
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)
|
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.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)
|
java.lang.String[] |
getTempPageAttachmentNames(long nodeId,
java.lang.String tempFolderName)
|
void |
movePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
ServiceContext serviceContext)
|
WikiPage |
revertPage(long nodeId,
java.lang.String title,
double version,
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,
ServiceContext serviceContext)
|
addPage
WikiPage addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addPage
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
- Throws:
PortalException
SystemException
addPageAttachment
void addPageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.File file)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addPageAttachments
void addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStream)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addTempPageAttachment
java.lang.String addTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName,
java.io.InputStream inputStream)
throws PortalException,
SystemException,
java.io.IOException
- Throws:
PortalException
SystemException
java.io.IOException
changeParent
void changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deletePage
void deletePage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deletePage
void deletePage(long nodeId,
java.lang.String title,
double version)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deletePageAttachment
void deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTempPageAttachment
void deleteTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getDraftPage
@Transactional(propagation=SUPPORTS,
readOnly=true)
WikiPage getDraftPage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNodePages
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WikiPage> getNodePages(long nodeId,
int max)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNodePagesRSS
@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)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPage
WikiPage getPage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPage
WikiPage getPage(long nodeId,
java.lang.String title,
java.lang.Boolean head)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPage
WikiPage getPage(long nodeId,
java.lang.String title,
double version)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPagesRSS
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
- Throws:
PortalException
SystemException
getTempPageAttachmentNames
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.lang.String[] getTempPageAttachmentNames(long nodeId,
java.lang.String tempFolderName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
movePage
void movePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
revertPage
WikiPage revertPage(long nodeId,
java.lang.String title,
double version,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
subscribePage
void subscribePage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unsubscribePage
void unsubscribePage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updatePage
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
- Throws:
PortalException
SystemException