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:
WikiPageLocalServiceFactory
,
WikiPageLocalServiceUtil
Method Summary |
WikiPage |
addPage(long userId,
long nodeId,
java.lang.String title,
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 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 |
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<WikiPage> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List<WikiPage> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
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 begin,
int end)
|
java.util.List<WikiPage> |
getPages(long nodeId,
int begin,
int end)
|
java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
boolean head,
int begin,
int end)
|
java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
int begin,
int end)
|
java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
int begin,
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 begin,
int end)
|
int |
getRecentChangesCount(long nodeId)
|
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 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,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
dynamicQuery
java.util.List<WikiPage> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<WikiPage> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
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,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addPage
WikiPage addPage(java.lang.String uuid,
long userId,
long nodeId,
java.lang.String title,
double version,
java.lang.String content,
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addPageResources
void addPageResources(long nodeId,
java.lang.String title,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addPageResources
void addPageResources(WikiNode node,
WikiPage page,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addPageResources
void addPageResources(long nodeId,
java.lang.String title,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addPageResources
void addPageResources(WikiNode node,
WikiPage page,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deletePage
void deletePage(long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deletePage
void deletePage(WikiPage page)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deletePageAttachment
void deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deletePages
void deletePages(long nodeId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getChildren
java.util.List<WikiPage> getChildren(long nodeId,
boolean head,
java.lang.String parentTitle)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getIncomingLinks
java.util.List<WikiPage> getIncomingLinks(long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getOutgoingLinks
java.util.List<WikiPage> getOutgoingLinks(long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getPage
WikiPage getPage(long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getPage
WikiPage getPage(long nodeId,
java.lang.String title,
double version)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getPages
java.util.List<WikiPage> getPages(long nodeId,
int begin,
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 begin,
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 begin,
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 begin,
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 begin,
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 begin,
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
revertPage
WikiPage revertPage(long userId,
long nodeId,
java.lang.String title,
double version,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
subscribePage
void subscribePage(long userId,
long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
unsubscribePage
void unsubscribePage(long userId,
long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updatePage
WikiPage updatePage(long userId,
long nodeId,
java.lang.String title,
double version,
java.lang.String content,
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateTagsAsset
void updateTagsAsset(long userId,
WikiPage page,
java.lang.String[] tagsEntries)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
validateTitle
void validateTitle(java.lang.String title)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException