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:
WikiPageServiceFactory
,
WikiPageServiceUtil
Method Summary |
WikiPage |
addPage(long userId,
long nodeId,
java.lang.String title)
|
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 model)
|
void |
deletePage(long nodeId,
java.lang.String title)
|
void |
deletePage(WikiPage page)
|
void |
deletePages(long nodeId)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
java.util.List |
getLinks(long nodeId,
java.lang.String title)
|
java.util.List |
getOrphans(long nodeId)
|
WikiPage |
getPage(long nodeId,
java.lang.String title)
|
WikiPage |
getPage(long nodeId,
java.lang.String title,
double version)
|
java.util.List |
getPages(long nodeId,
boolean head,
int begin,
int end)
|
java.util.List |
getPages(long nodeId,
int begin,
int end)
|
java.util.List |
getPages(long nodeId,
java.lang.String title,
boolean head,
int begin,
int end)
|
java.util.List |
getPages(long nodeId,
java.lang.String title,
int begin,
int end)
|
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 |
getRecentChanges(long nodeId,
int begin,
int end)
|
int |
getRecentChangesCount(long nodeId)
|
WikiPage |
revertPage(long userId,
long nodeId,
java.lang.String title,
double version)
|
WikiPage |
updatePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String format,
java.lang.String[] tagsEntries)
|
WikiPage |
updateWikiPage(WikiPage model)
|
addWikiPage
public WikiPage addWikiPage(WikiPage model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateWikiPage
public WikiPage updateWikiPage(WikiPage model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addPage
public WikiPage addPage(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
addPageResources
public 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
public 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
public 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
public 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
public 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
public void deletePage(WikiPage page)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deletePages
public void deletePages(long nodeId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getLinks
public java.util.List getLinks(long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrphans
public java.util.List getOrphans(long nodeId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPage
public 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
public 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
getPages
public java.util.List getPages(long nodeId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPages
public java.util.List getPages(long nodeId,
java.lang.String title,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPages
public java.util.List getPages(long nodeId,
boolean head,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPages
public java.util.List getPages(long nodeId,
java.lang.String title,
boolean head,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPagesCount
public int getPagesCount(long nodeId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPagesCount
public int getPagesCount(long nodeId,
java.lang.String title)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPagesCount
public int getPagesCount(long nodeId,
boolean head)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPagesCount
public int getPagesCount(long nodeId,
java.lang.String title,
boolean head)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRecentChanges
public java.util.List getRecentChanges(long nodeId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRecentChangesCount
public int getRecentChangesCount(long nodeId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
revertPage
public WikiPage revertPage(long userId,
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
updatePage
public WikiPage updatePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String format,
java.lang.String[] tagsEntries)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException