com.liferay.portlet.wiki.service
Interface WikiPageLocalService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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,
ServiceContext serviceContext)
|
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,
ServiceContext serviceContext)
|
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,
ServiceContext serviceContext)
|
WikiPage |
createWikiPage(long pageId)
|
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,
ServiceContext serviceContext)
|
void |
movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
ServiceContext serviceContext)
|
void |
reIndex(long resourcePrimKey)
|
WikiPage |
revertPage(long userId,
long nodeId,
java.lang.String title,
double version,
ServiceContext serviceContext)
|
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,
ServiceContext serviceContext)
|
void |
updateTagsAsset(long userId,
WikiPage page,
java.lang.String[] tagsCategories,
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
createWikiPage
WikiPage createWikiPage(long pageId)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
WikiPage getWikiPage(long pageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getWikiPages
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WikiPage> getWikiPages(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getWikiPagesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
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,
ServiceContext serviceContext)
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,
ServiceContext serviceContext)
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,
ServiceContext serviceContext)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WikiPage> getChildren(long nodeId,
boolean head,
java.lang.String parentTitle)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getIncomingLinks
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WikiPage> getNoAssetPages()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrphans
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WikiPage> getPages(long nodeId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPages
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WikiPage> getPages(java.lang.String format)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPages
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WikiPage> getPages(long nodeId,
boolean head,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPages
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getPagesCount(long nodeId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPagesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getPagesCount(long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPagesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getPagesCount(long nodeId,
boolean head)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPagesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getPagesCount(long nodeId,
java.lang.String title,
boolean head)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRecentChanges
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<WikiPage> getRecentChanges(long nodeId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRecentChangesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
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,
ServiceContext serviceContext)
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,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
reIndex
void reIndex(long resourcePrimKey)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
revertPage
WikiPage revertPage(long userId,
long nodeId,
java.lang.String title,
double version,
ServiceContext serviceContext)
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,
ServiceContext serviceContext)
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[] tagsCategories,
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