com.liferay.portlet.wiki.service
Interface WikiPageService
- All Known Implementing Classes:
- WikiPageServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,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
- 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 |
addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<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)
|
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,
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)
|
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
addPageAttachments
void addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<ObjectValuePair<java.lang.String,byte[]>> files)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
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
deletePageAttachment
void deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
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,
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
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