com.liferay.portlet.wiki.service
Class WikiPageLocalServiceUtil
java.lang.Object
com.liferay.portlet.wiki.service.WikiPageLocalServiceUtil
public class WikiPageLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portlet.wiki.service.WikiPageLocalService
bean. The static methods of this class calls the same methods of the bean
instance. It's convenient to be able to just write one line to call a method
on a bean instead of writing a lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
WikiPageLocalService
Method Summary |
static 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)
|
static 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)
|
static void |
addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files)
|
static void |
addPageResources(long nodeId,
java.lang.String title,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addPageResources(long nodeId,
java.lang.String title,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addPageResources(WikiNode node,
WikiPage page,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addPageResources(WikiNode node,
WikiPage page,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static WikiPage |
addWikiPage(WikiPage wikiPage)
|
static void |
changeParent(long userId,
long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
|
static void |
deletePage(long nodeId,
java.lang.String title)
|
static void |
deletePage(WikiPage page)
|
static void |
deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
|
static void |
deletePages(long nodeId)
|
static void |
deleteWikiPage(long pageId)
|
static void |
deleteWikiPage(WikiPage wikiPage)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List<WikiPage> |
getChildren(long nodeId,
boolean head,
java.lang.String parentTitle)
|
static java.util.List<WikiPage> |
getIncomingLinks(long nodeId,
java.lang.String title)
|
static java.util.List<WikiPage> |
getNoAssetPages()
|
static java.util.List<WikiPage> |
getOrphans(long nodeId)
|
static java.util.List<WikiPage> |
getOutgoingLinks(long nodeId,
java.lang.String title)
|
static WikiPage |
getPage(long nodeId,
java.lang.String title)
|
static WikiPage |
getPage(long nodeId,
java.lang.String title,
double version)
|
static WikiPageDisplay |
getPageDisplay(long nodeId,
java.lang.String title,
javax.portlet.PortletURL viewPageURL,
javax.portlet.PortletURL editPageURL,
java.lang.String attachmentURLPrefix)
|
static java.util.List<WikiPage> |
getPages(long nodeId,
boolean head,
int start,
int end)
|
static java.util.List<WikiPage> |
getPages(long nodeId,
int start,
int end)
|
static java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
boolean head,
int start,
int end)
|
static java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
int start,
int end)
|
static java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<WikiPage> |
getPages(java.lang.String format)
|
static int |
getPagesCount(long nodeId)
|
static int |
getPagesCount(long nodeId,
boolean head)
|
static int |
getPagesCount(long nodeId,
java.lang.String title)
|
static int |
getPagesCount(long nodeId,
java.lang.String title,
boolean head)
|
static java.util.List<WikiPage> |
getRecentChanges(long nodeId,
int start,
int end)
|
static int |
getRecentChangesCount(long nodeId)
|
static WikiPageLocalService |
getService()
|
static WikiPage |
getWikiPage(long pageId)
|
static java.util.List<WikiPage> |
getWikiPages(int start,
int end)
|
static int |
getWikiPagesCount()
|
static void |
movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
boolean strict,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
|
static void |
movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
|
static WikiPage |
revertPage(long userId,
long nodeId,
java.lang.String title,
double version,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
|
void |
setService(WikiPageLocalService service)
|
static void |
subscribePage(long userId,
long nodeId,
java.lang.String title)
|
static void |
unsubscribePage(long userId,
long nodeId,
java.lang.String title)
|
static 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)
|
static void |
updateTagsAsset(long userId,
WikiPage page,
java.lang.String[] tagsEntries)
|
static WikiPage |
updateWikiPage(WikiPage wikiPage)
|
static void |
validateTitle(java.lang.String title)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikiPageLocalServiceUtil
public WikiPageLocalServiceUtil()
addWikiPage
public static WikiPage addWikiPage(WikiPage wikiPage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteWikiPage
public static void deleteWikiPage(long pageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteWikiPage
public static void deleteWikiPage(WikiPage wikiPage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static 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
public static 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
public static WikiPage getWikiPage(long pageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getWikiPages
public static java.util.List<WikiPage> getWikiPages(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getWikiPagesCount
public static int getWikiPagesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateWikiPage
public static WikiPage updateWikiPage(WikiPage wikiPage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addPage
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static void deletePage(WikiPage page)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deletePageAttachment
public static 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
public static void deletePages(long nodeId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getChildren
public static java.util.List<WikiPage> getChildren(long nodeId,
boolean head,
java.lang.String parentTitle)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getIncomingLinks
public static 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
public static java.util.List<WikiPage> getNoAssetPages()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrphans
public static 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
public static 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
public static 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
public static 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
public static 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
public static java.util.List<WikiPage> getPages(long nodeId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPages
public static java.util.List<WikiPage> getPages(java.lang.String format)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPages
public static 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
public static 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
public static java.util.List<WikiPage> getPages(long nodeId,
boolean head,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPages
public static 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
public static int getPagesCount(long nodeId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPagesCount
public static int getPagesCount(long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPagesCount
public static int getPagesCount(long nodeId,
boolean head)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPagesCount
public static int getPagesCount(long nodeId,
java.lang.String title,
boolean head)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRecentChanges
public static java.util.List<WikiPage> getRecentChanges(long nodeId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRecentChangesCount
public static int getRecentChangesCount(long nodeId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
movePage
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static void validateTitle(java.lang.String title)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException
getService
public static WikiPageLocalService getService()
setService
public void setService(WikiPageLocalService service)