Liferay 6.0.5

com.liferay.portlet.wiki.service.impl
Class WikiPageServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.wiki.service.base.WikiPageServiceBaseImpl
          extended by com.liferay.portlet.wiki.service.impl.WikiPageServiceImpl
All Implemented Interfaces:
WikiPageService

public class WikiPageServiceImpl
extends WikiPageServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.wiki.service.base.WikiPageServiceBaseImpl
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, companyLocalService, companyPersistence, companyService, counterLocalService, dlLocalService, dlService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialEquityLogLocalService, socialEquityLogPersistence, subscriptionLocalService, subscriptionPersistence, userFinder, userLocalService, userPersistence, userService, wikiNodeLocalService, wikiNodePersistence, wikiNodeService, wikiPageFinder, wikiPageLocalService, wikiPagePersistence, wikiPageResourceLocalService, wikiPageResourcePersistence, wikiPageService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
WikiPageServiceImpl()
           
 
Method Summary
 WikiPage addPage(long nodeId, String title, String content, String summary, boolean minorEdit, ServiceContext serviceContext)
           
 WikiPage addPage(long nodeId, String title, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, ServiceContext serviceContext)
           
 void addPageAttachments(long nodeId, String title, List<ObjectValuePair<String,byte[]>> files)
           
 void changeParent(long nodeId, String title, String newParentTitle, ServiceContext serviceContext)
           
 void deletePage(long nodeId, String title)
           
 void deletePage(long nodeId, String title, double version)
           
 void deletePageAttachment(long nodeId, String title, String fileName)
           
protected  String exportToRSS(long companyId, String name, String description, String type, double version, String displayStyle, String feedURL, String entryURL, List<WikiPage> pages, boolean diff, Locale locale)
           
 WikiPage getDraftPage(long nodeId, String title)
           
 List<WikiPage> getNodePages(long nodeId, int max)
           
 String getNodePagesRSS(long nodeId, int max, String type, double version, String displayStyle, String feedURL, String entryURL)
           
 WikiPage getPage(long nodeId, String title)
           
 WikiPage getPage(long nodeId, String title, Boolean head)
           
 WikiPage getPage(long nodeId, String title, double version)
           
protected  String getPageDiff(long companyId, WikiPage latestPage, WikiPage page, Locale locale)
           
 String getPagesRSS(long companyId, long nodeId, String title, int max, String type, double version, String displayStyle, String feedURL, String entryURL, Locale locale)
           
 void movePage(long nodeId, String title, String newTitle, ServiceContext serviceContext)
           
 WikiPage revertPage(long nodeId, String title, double version, ServiceContext serviceContext)
           
 void subscribePage(long nodeId, String title)
           
 void unsubscribePage(long nodeId, String title)
           
 WikiPage updatePage(long nodeId, String title, double version, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.wiki.service.base.WikiPageServiceBaseImpl
getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getDLLocalService, getDLService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialEquityLogLocalService, getSocialEquityLogPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWikiNodeLocalService, getWikiNodePersistence, getWikiNodeService, getWikiPageFinder, getWikiPageLocalService, getWikiPagePersistence, getWikiPageResourceLocalService, getWikiPageResourcePersistence, getWikiPageService, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setDLLocalService, setDLService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialEquityLogLocalService, setSocialEquityLogPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWikiNodeLocalService, setWikiNodePersistence, setWikiNodeService, setWikiPageFinder, setWikiPageLocalService, setWikiPagePersistence, setWikiPageResourceLocalService, setWikiPageResourcePersistence, setWikiPageService, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiPageServiceImpl

public WikiPageServiceImpl()
Method Detail

addPage

public WikiPage addPage(long nodeId,
                        String title,
                        String content,
                        String summary,
                        boolean minorEdit,
                        ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

addPage

public WikiPage addPage(long nodeId,
                        String title,
                        String content,
                        String summary,
                        boolean minorEdit,
                        String format,
                        String parentTitle,
                        String redirectTitle,
                        ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

addPageAttachments

public void addPageAttachments(long nodeId,
                               String title,
                               List<ObjectValuePair<String,byte[]>> files)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

changeParent

public void changeParent(long nodeId,
                         String title,
                         String newParentTitle,
                         ServiceContext serviceContext)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

deletePage

public void deletePage(long nodeId,
                       String title)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

deletePage

public void deletePage(long nodeId,
                       String title,
                       double version)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

deletePageAttachment

public void deletePageAttachment(long nodeId,
                                 String title,
                                 String fileName)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getDraftPage

public WikiPage getDraftPage(long nodeId,
                             String title)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getNodePages

public List<WikiPage> getNodePages(long nodeId,
                                   int max)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getNodePagesRSS

public String getNodePagesRSS(long nodeId,
                              int max,
                              String type,
                              double version,
                              String displayStyle,
                              String feedURL,
                              String entryURL)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getPage

public WikiPage getPage(long nodeId,
                        String title)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getPage

public WikiPage getPage(long nodeId,
                        String title,
                        Boolean head)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getPage

public WikiPage getPage(long nodeId,
                        String title,
                        double version)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getPagesRSS

public String getPagesRSS(long companyId,
                          long nodeId,
                          String title,
                          int max,
                          String type,
                          double version,
                          String displayStyle,
                          String feedURL,
                          String entryURL,
                          Locale locale)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

movePage

public void movePage(long nodeId,
                     String title,
                     String newTitle,
                     ServiceContext serviceContext)
              throws PortalException,
                     SystemException
Throws:
PortalException
SystemException

revertPage

public WikiPage revertPage(long nodeId,
                           String title,
                           double version,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

subscribePage

public void subscribePage(long nodeId,
                          String title)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

unsubscribePage

public void unsubscribePage(long nodeId,
                            String title)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

updatePage

public WikiPage updatePage(long nodeId,
                           String title,
                           double version,
                           String content,
                           String summary,
                           boolean minorEdit,
                           String format,
                           String parentTitle,
                           String redirectTitle,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

exportToRSS

protected String exportToRSS(long companyId,
                             String name,
                             String description,
                             String type,
                             double version,
                             String displayStyle,
                             String feedURL,
                             String entryURL,
                             List<WikiPage> pages,
                             boolean diff,
                             Locale locale)
                      throws SystemException
Throws:
SystemException

getPageDiff

protected String getPageDiff(long companyId,
                             WikiPage latestPage,
                             WikiPage page,
                             Locale locale)
                      throws SystemException
Throws:
SystemException

Liferay 6.0.5