com.liferay.portlet.wiki.service
Class WikiPageServiceWrapper
java.lang.Object
com.liferay.portlet.wiki.service.WikiPageServiceWrapper
- All Implemented Interfaces:
- ServiceWrapper<WikiPageService>, WikiPageService
public class WikiPageServiceWrapper
- extends Object
- implements WikiPageService, ServiceWrapper<WikiPageService>
This class is a wrapper for WikiPageService
.
- See Also:
WikiPageService
Method Summary |
WikiPage |
addPage(long nodeId,
String title,
String content,
String summary,
boolean minorEdit,
ServiceContext serviceContext)
|
WikiPage |
addPage(long nodeId,
String title,
String content,
String summary,
boolean minorEdit,
String format,
String parentTitle,
String redirectTitle,
ServiceContext serviceContext)
|
void |
addPageAttachment(long nodeId,
String title,
String fileName,
File file)
|
void |
addPageAttachments(long nodeId,
String title,
List<ObjectValuePair<String,InputStream>> inputStream)
|
String |
addTempPageAttachment(long nodeId,
String fileName,
String tempFolderName,
InputStream inputStream)
|
void |
changeParent(long nodeId,
String title,
String newParentTitle,
ServiceContext serviceContext)
|
void |
deletePage(long nodeId,
String title)
|
void |
deletePage(long nodeId,
String title,
double version)
|
void |
deletePageAttachment(long nodeId,
String title,
String fileName)
|
void |
deleteTempPageAttachment(long nodeId,
String fileName,
String tempFolderName)
|
WikiPage |
getDraftPage(long nodeId,
String title)
|
List<WikiPage> |
getNodePages(long nodeId,
int max)
|
String |
getNodePagesRSS(long nodeId,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL)
|
WikiPage |
getPage(long nodeId,
String title)
|
WikiPage |
getPage(long nodeId,
String title,
Boolean head)
|
WikiPage |
getPage(long nodeId,
String title,
double version)
|
String |
getPagesRSS(long companyId,
long nodeId,
String title,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
Locale locale)
|
String[] |
getTempPageAttachmentNames(long nodeId,
String tempFolderName)
|
WikiPageService |
getWrappedService()
|
WikiPageService |
getWrappedWikiPageService()
Deprecated. Renamed to getWrappedService() |
void |
movePage(long nodeId,
String title,
String newTitle,
ServiceContext serviceContext)
|
WikiPage |
revertPage(long nodeId,
String title,
double version,
ServiceContext serviceContext)
|
void |
setWrappedService(WikiPageService wikiPageService)
|
void |
setWrappedWikiPageService(WikiPageService wikiPageService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.wiki.service.WikiPageService) |
void |
subscribePage(long nodeId,
String title)
|
void |
unsubscribePage(long nodeId,
String title)
|
WikiPage |
updatePage(long nodeId,
String title,
double version,
String content,
String summary,
boolean minorEdit,
String format,
String parentTitle,
String redirectTitle,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikiPageServiceWrapper
public WikiPageServiceWrapper(WikiPageService wikiPageService)
addPage
public WikiPage addPage(long nodeId,
String title,
String content,
String summary,
boolean minorEdit,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
addPage
in interface WikiPageService
- Throws:
PortalException
SystemException
addPage
public WikiPage addPage(long nodeId,
String title,
String content,
String summary,
boolean minorEdit,
String format,
String parentTitle,
String redirectTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
addPage
in interface WikiPageService
- Throws:
PortalException
SystemException
addPageAttachment
public void addPageAttachment(long nodeId,
String title,
String fileName,
File file)
throws PortalException,
SystemException
- Specified by:
addPageAttachment
in interface WikiPageService
- Throws:
PortalException
SystemException
addPageAttachments
public void addPageAttachments(long nodeId,
String title,
List<ObjectValuePair<String,InputStream>> inputStream)
throws PortalException,
SystemException
- Specified by:
addPageAttachments
in interface WikiPageService
- Throws:
PortalException
SystemException
addTempPageAttachment
public String addTempPageAttachment(long nodeId,
String fileName,
String tempFolderName,
InputStream inputStream)
throws PortalException,
SystemException,
IOException
- Specified by:
addTempPageAttachment
in interface WikiPageService
- Throws:
PortalException
SystemException
IOException
changeParent
public void changeParent(long nodeId,
String title,
String newParentTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
changeParent
in interface WikiPageService
- Throws:
PortalException
SystemException
deletePage
public void deletePage(long nodeId,
String title)
throws PortalException,
SystemException
- Specified by:
deletePage
in interface WikiPageService
- Throws:
PortalException
SystemException
deletePage
public void deletePage(long nodeId,
String title,
double version)
throws PortalException,
SystemException
- Specified by:
deletePage
in interface WikiPageService
- Throws:
PortalException
SystemException
deletePageAttachment
public void deletePageAttachment(long nodeId,
String title,
String fileName)
throws PortalException,
SystemException
- Specified by:
deletePageAttachment
in interface WikiPageService
- Throws:
PortalException
SystemException
deleteTempPageAttachment
public void deleteTempPageAttachment(long nodeId,
String fileName,
String tempFolderName)
throws PortalException,
SystemException
- Specified by:
deleteTempPageAttachment
in interface WikiPageService
- Throws:
PortalException
SystemException
getDraftPage
public WikiPage getDraftPage(long nodeId,
String title)
throws PortalException,
SystemException
- Specified by:
getDraftPage
in interface WikiPageService
- Throws:
PortalException
SystemException
getNodePages
public List<WikiPage> getNodePages(long nodeId,
int max)
throws PortalException,
SystemException
- Specified by:
getNodePages
in interface WikiPageService
- Throws:
PortalException
SystemException
getNodePagesRSS
public String getNodePagesRSS(long nodeId,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL)
throws PortalException,
SystemException
- Specified by:
getNodePagesRSS
in interface WikiPageService
- Throws:
PortalException
SystemException
getPage
public WikiPage getPage(long nodeId,
String title)
throws PortalException,
SystemException
- Specified by:
getPage
in interface WikiPageService
- Throws:
PortalException
SystemException
getPage
public WikiPage getPage(long nodeId,
String title,
Boolean head)
throws PortalException,
SystemException
- Specified by:
getPage
in interface WikiPageService
- Throws:
PortalException
SystemException
getPage
public WikiPage getPage(long nodeId,
String title,
double version)
throws PortalException,
SystemException
- Specified by:
getPage
in interface WikiPageService
- Throws:
PortalException
SystemException
getPagesRSS
public String getPagesRSS(long companyId,
long nodeId,
String title,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
Locale locale)
throws PortalException,
SystemException
- Specified by:
getPagesRSS
in interface WikiPageService
- Throws:
PortalException
SystemException
getTempPageAttachmentNames
public String[] getTempPageAttachmentNames(long nodeId,
String tempFolderName)
throws PortalException,
SystemException
- Specified by:
getTempPageAttachmentNames
in interface WikiPageService
- Throws:
PortalException
SystemException
movePage
public void movePage(long nodeId,
String title,
String newTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
movePage
in interface WikiPageService
- Throws:
PortalException
SystemException
revertPage
public WikiPage revertPage(long nodeId,
String title,
double version,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
revertPage
in interface WikiPageService
- Throws:
PortalException
SystemException
subscribePage
public void subscribePage(long nodeId,
String title)
throws PortalException,
SystemException
- Specified by:
subscribePage
in interface WikiPageService
- Throws:
PortalException
SystemException
unsubscribePage
public void unsubscribePage(long nodeId,
String title)
throws PortalException,
SystemException
- Specified by:
unsubscribePage
in interface WikiPageService
- Throws:
PortalException
SystemException
updatePage
public WikiPage updatePage(long nodeId,
String title,
double version,
String content,
String summary,
boolean minorEdit,
String format,
String parentTitle,
String redirectTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
updatePage
in interface WikiPageService
- Throws:
PortalException
SystemException
getWrappedWikiPageService
public WikiPageService getWrappedWikiPageService()
- Deprecated. Renamed to
getWrappedService()
setWrappedWikiPageService
public void setWrappedWikiPageService(WikiPageService wikiPageService)
- Deprecated. Renamed to
setWrappedService(com.liferay.portlet.wiki.service.WikiPageService)
getWrappedService
public WikiPageService getWrappedService()
- Specified by:
getWrappedService
in interface ServiceWrapper<WikiPageService>
setWrappedService
public void setWrappedService(WikiPageService wikiPageService)
- Specified by:
setWrappedService
in interface ServiceWrapper<WikiPageService>