com.liferay.portlet.wiki.service
Interface WikiPageLocalService
public interface WikiPageLocalService
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.WikiPageLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
WikiPageLocalServiceUtil
Method Summary |
WikiPage |
addPage(long userId,
long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
|
WikiPage |
addPage(java.lang.String uuid,
long userId,
long nodeId,
java.lang.String title,
double version,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
boolean head,
java.lang.String parentTitle,
java.lang.String redirectTitle,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
|
void |
addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files)
|
void |
addPageResources(long nodeId,
java.lang.String title,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addPageResources(long nodeId,
java.lang.String title,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addPageResources(WikiNode node,
WikiPage page,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addPageResources(WikiNode node,
WikiPage page,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
WikiPage |
addWikiPage(WikiPage wikiPage)
|
void |
changeParent(long userId,
long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
|
void |
deletePage(long nodeId,
java.lang.String title)
|
void |
deletePage(WikiPage page)
|
void |
deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
|
void |
deletePages(long nodeId)
|
void |
deleteWikiPage(long pageId)
|
void |
deleteWikiPage(WikiPage wikiPage)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List<WikiPage> |
getChildren(long nodeId,
boolean head,
java.lang.String parentTitle)
|
java.util.List<WikiPage> |
getIncomingLinks(long nodeId,
java.lang.String title)
|
java.util.List<WikiPage> |
getNoAssetPages()
|
java.util.List<WikiPage> |
getOrphans(long nodeId)
|
java.util.List<WikiPage> |
getOutgoingLinks(long nodeId,
java.lang.String title)
|
WikiPage |
getPage(long nodeId,
java.lang.String title)
|
WikiPage |
getPage(long nodeId,
java.lang.String title,
double version)
|
WikiPageDisplay |
getPageDisplay(long nodeId,
java.lang.String title,
javax.portlet.PortletURL viewPageURL,
javax.portlet.PortletURL editPageURL,
java.lang.String attachmentURLPrefix)
|
java.util.List<WikiPage> |
getPages(long nodeId,
boolean head,
int start,
int end)
|
java.util.List<WikiPage> |
getPages(long nodeId,
int start,
int end)
|
java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
boolean head,
int start,
int end)
|
java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
int start,
int end)
|
java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<WikiPage> |
getPages(java.lang.String format)
|
int |
getPagesCount(long nodeId)
|
int |
getPagesCount(long nodeId,
boolean head)
|
int |
getPagesCount(long nodeId,
java.lang.String title)
|
int |
getPagesCount(long nodeId,
java.lang.String title,
boolean head)
|
java.util.List<WikiPage> |
getRecentChanges(long nodeId,
int start,
int end)
|
int |
getRecentChangesCount(long nodeId)
|
WikiPage |
getWikiPage(long pageId)
|
java.util.List<WikiPage> |
getWikiPages(int start,
int end)
|
int |
getWikiPagesCount()
|
void |
movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
boolean strict,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
|
void |
movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
|
WikiPage |
revertPage(long userId,
long nodeId,
java.lang.String title,
double version,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
|
void |
subscribePage(long userId,
long nodeId,
java.lang.String title)
|
void |
unsubscribePage(long userId,
long nodeId,
java.lang.String title)
|
WikiPage |
updatePage(long userId,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
|
void |
updateTagsAsset(long userId,
WikiPage page,
java.lang.String[] tagsEntries)
|
WikiPage |
updateWikiPage(WikiPage wikiPage)
|
void |
validateTitle(java.lang.String title)
|
addWikiPage
WikiPage addWikiPage(WikiPage wikiPage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteWikiPage
void deleteWikiPage(long pageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteWikiPage
void deleteWikiPage(WikiPage wikiPage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getWikiPage
WikiPage getWikiPage(long pageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getWikiPages
java.util.List<WikiPage> getWikiPages(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getWikiPagesCount
int getWikiPagesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateWikiPage
WikiPage updateWikiPage(WikiPage wikiPage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addPage
WikiPage addPage(long userId,
long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addPage
WikiPage addPage(java.lang.String uuid,
long userId,
long nodeId,
java.lang.String title,
double version,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
boolean head,
java.lang.String parentTitle,
java.lang.String redirectTitle,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
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
addPageResources
void addPageResources(long nodeId,
java.lang.String title,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addPageResources
void addPageResources(WikiNode node,
WikiPage page,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addPageResources
void addPageResources(long nodeId,
java.lang.String title,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addPageResources
void addPageResources(WikiNode node,
WikiPage page,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
changeParent
void changeParent(long userId,
long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
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
deletePage
void deletePage(WikiPage page)
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
deletePages
void deletePages(long nodeId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getChildren
java.util.List<WikiPage> getChildren(long nodeId,
boolean head,
java.lang.String parentTitle)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getIncomingLinks
java.util.List<WikiPage> getIncomingLinks(long nodeId,
java.lang.String title)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getNoAssetPages
java.util.List<WikiPage> getNoAssetPages()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrphans
java.util.List<WikiPage> getOrphans(long nodeId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getOutgoingLinks
java.util.List<WikiPage> getOutgoingLinks(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)
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
getPageDisplay
WikiPageDisplay getPageDisplay(long nodeId,
java.lang.String title,
javax.portlet.PortletURL viewPageURL,
javax.portlet.PortletURL editPageURL,
java.lang.String attachmentURLPrefix)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPages
java.util.List<WikiPage> getPages(long nodeId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPages
java.util.List<WikiPage> getPages(java.lang.String format)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPages
java.util.List<WikiPage> getPages(long nodeId,
java.lang.String title,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPages
java.util.List<WikiPage> getPages(long nodeId,
java.lang.String title,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPages
java.util.List<WikiPage> getPages(long nodeId,
boolean head,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPages
java.util.List<WikiPage> getPages(long nodeId,
java.lang.String title,
boolean head,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPagesCount
int getPagesCount(long nodeId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPagesCount
int getPagesCount(long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPagesCount
int getPagesCount(long nodeId,
boolean head)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPagesCount
int getPagesCount(long nodeId,
java.lang.String title,
boolean head)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRecentChanges
java.util.List<WikiPage> getRecentChanges(long nodeId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRecentChangesCount
int getRecentChangesCount(long nodeId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
movePage
void movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
movePage
void movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
boolean strict,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
revertPage
WikiPage revertPage(long userId,
long nodeId,
java.lang.String title,
double version,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
subscribePage
void subscribePage(long userId,
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 userId,
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 userId,
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,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateTagsAsset
void updateTagsAsset(long userId,
WikiPage page,
java.lang.String[] tagsEntries)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validateTitle
void validateTitle(java.lang.String title)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException