com.liferay.portlet.wiki.service
Interface WikiPageService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface WikiPageService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.wiki.service.impl.WikiPageServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
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
Method Summary |
WikiPage |
addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
ServiceContext serviceContext)
|
void |
addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files)
|
void |
changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
ServiceContext serviceContext)
|
void |
deletePage(long nodeId,
java.lang.String title)
|
void |
deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
|
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,
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)
|
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 com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addPageAttachments
void addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
changeParent
void changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deletePage
void deletePage(long nodeId,
java.lang.String title)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deletePageAttachment
void deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getNodePages
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WikiPage> getNodePages(long nodeId,
int max)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.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 com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPage
WikiPage getPage(long nodeId,
java.lang.String title)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPage
WikiPage getPage(long nodeId,
java.lang.String title,
double version)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.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 com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
movePage
void movePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
revertPage
WikiPage revertPage(long nodeId,
java.lang.String title,
double version,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
subscribePage
void subscribePage(long nodeId,
java.lang.String title)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
unsubscribePage
void unsubscribePage(long nodeId,
java.lang.String title)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.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 com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException