com.liferay.portlet.wiki.service.impl
Class WikiPageServiceImpl
java.lang.Object
com.liferay.portal.service.base.PrincipalBean
com.liferay.portlet.wiki.service.base.WikiPageServiceBaseImpl
com.liferay.portlet.wiki.service.impl.WikiPageServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.wiki.service.WikiPageService
public class WikiPageServiceImpl
- extends WikiPageServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan, Jorge Ferrer, Raymond Augé
Fields inherited from class com.liferay.portlet.wiki.service.base.WikiPageServiceBaseImpl |
companyLocalService, companyPersistence, companyService, counterLocalService, counterService, dlLocalService, dlService, groupFinder, groupLocalService, groupPersistence, groupService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, subscriptionLocalService, subscriptionPersistence, tagsAssetFinder, tagsAssetLocalService, tagsAssetPersistence, tagsAssetService, tagsEntryFinder, tagsEntryLocalService, tagsEntryPersistence, tagsEntryService, userFinder, userLocalService, userPersistence, userService, wikiNodeLocalService, wikiNodePersistence, wikiNodeService, wikiPageFinder, wikiPageLocalService, wikiPagePersistence, wikiPageResourceLocalService, wikiPageResourcePersistence, wikiPageService |
Fields inherited from class com.liferay.portal.service.base.PrincipalBean |
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS |
Method Summary |
com.liferay.portlet.wiki.model.WikiPage |
addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
com.liferay.portal.service.ServiceContext serviceContext)
|
com.liferay.portlet.wiki.model.WikiPage |
addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
java.lang.String parentTitle,
java.lang.String redirectTitle,
com.liferay.portal.service.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 |
changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
deletePage(long nodeId,
java.lang.String title)
|
void |
deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
|
protected java.lang.String |
exportToRSS(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
java.util.List<com.liferay.portlet.wiki.model.WikiPage> pages,
boolean diff,
java.util.Locale locale)
|
java.util.List<com.liferay.portlet.wiki.model.WikiPage> |
getNodePages(long nodeId,
int max)
|
java.lang.String |
getNodePagesRSS(long nodeId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
|
com.liferay.portlet.wiki.model.WikiPage |
getPage(long nodeId,
java.lang.String title)
|
com.liferay.portlet.wiki.model.WikiPage |
getPage(long nodeId,
java.lang.String title,
double version)
|
protected java.lang.String |
getPageDiff(long companyId,
com.liferay.portlet.wiki.model.WikiPage latestPage,
com.liferay.portlet.wiki.model.WikiPage page,
java.util.Locale locale)
|
java.lang.String |
getPagesRSS(long companyId,
long nodeId,
java.lang.String title,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
java.util.Locale locale)
|
void |
movePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
com.liferay.portal.service.ServiceContext serviceContext)
|
com.liferay.portlet.wiki.model.WikiPage |
revertPage(long nodeId,
java.lang.String title,
double version,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
subscribePage(long nodeId,
java.lang.String title)
|
void |
unsubscribePage(long nodeId,
java.lang.String title)
|
com.liferay.portlet.wiki.model.WikiPage |
updatePage(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,
com.liferay.portal.service.ServiceContext serviceContext)
|
Methods inherited from class com.liferay.portlet.wiki.service.base.WikiPageServiceBaseImpl |
getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getCounterService, getDLLocalService, getDLService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getTagsAssetFinder, getTagsAssetLocalService, getTagsAssetPersistence, getTagsAssetService, getTagsEntryFinder, getTagsEntryLocalService, getTagsEntryPersistence, getTagsEntryService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWikiNodeLocalService, getWikiNodePersistence, getWikiNodeService, getWikiPageFinder, getWikiPageLocalService, getWikiPagePersistence, getWikiPageResourceLocalService, getWikiPageResourcePersistence, getWikiPageService, runSQL, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setCounterService, setDLLocalService, setDLService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setTagsAssetFinder, setTagsAssetLocalService, setTagsAssetPersistence, setTagsAssetService, setTagsEntryFinder, setTagsEntryLocalService, setTagsEntryPersistence, setTagsEntryService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWikiNodeLocalService, setWikiNodePersistence, setWikiNodeService, setWikiPageFinder, setWikiPageLocalService, setWikiPagePersistence, setWikiPageResourceLocalService, setWikiPageResourcePersistence, setWikiPageService |
Methods inherited from class com.liferay.portal.service.base.PrincipalBean |
getGuestOrUserId, getPermissionChecker, getUser, getUserId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikiPageServiceImpl
public WikiPageServiceImpl()
addPage
public com.liferay.portlet.wiki.model.WikiPage addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addPage
public com.liferay.portlet.wiki.model.WikiPage addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
java.lang.String parentTitle,
java.lang.String redirectTitle,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addPageAttachments
public 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
changeParent
public void changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deletePage
public 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
deletePageAttachment
public 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
getNodePages
public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNodePages(long nodeId,
int max)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getNodePagesRSS
public java.lang.String getNodePagesRSS(long nodeId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPage
public com.liferay.portlet.wiki.model.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 com.liferay.portlet.wiki.model.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
getPagesRSS
public java.lang.String getPagesRSS(long companyId,
long nodeId,
java.lang.String title,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
java.util.Locale locale)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
movePage
public void movePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
revertPage
public com.liferay.portlet.wiki.model.WikiPage revertPage(long nodeId,
java.lang.String title,
double version,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
subscribePage
public void subscribePage(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 void unsubscribePage(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 com.liferay.portlet.wiki.model.WikiPage updatePage(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,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
exportToRSS
protected java.lang.String exportToRSS(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
java.util.List<com.liferay.portlet.wiki.model.WikiPage> pages,
boolean diff,
java.util.Locale locale)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPageDiff
protected java.lang.String getPageDiff(long companyId,
com.liferay.portlet.wiki.model.WikiPage latestPage,
com.liferay.portlet.wiki.model.WikiPage page,
java.util.Locale locale)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException