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

java.lang.Object
  extended by com.liferay.portlet.wiki.service.base.WikiPageLocalServiceBaseImpl
      extended by com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl
All Implemented Interfaces:
com.liferay.portlet.wiki.service.WikiPageLocalService

public class WikiPageLocalServiceImpl
extends WikiPageLocalServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan, Jorge Ferrer, Raymond Augé, Bruno Farache, Julio Camarero

Field Summary
 
Fields inherited from class com.liferay.portlet.wiki.service.base.WikiPageLocalServiceBaseImpl
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
 
Constructor Summary
WikiPageLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.wiki.model.WikiPage addPage(long userId, 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(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, 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 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(com.liferay.portlet.wiki.model.WikiPage page, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addPageResources(com.liferay.portlet.wiki.model.WikiPage page, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void changeParent(long userId, long nodeId, java.lang.String title, java.lang.String newParentTitle, com.liferay.portal.service.ServiceContext serviceContext)
           
protected  void clearPageCache(com.liferay.portlet.wiki.model.WikiPage page)
           
protected  void clearReferralsCache(com.liferay.portlet.wiki.model.WikiPage page)
           
 void deletePage(long nodeId, java.lang.String title)
           
 void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
           
 void deletePageAttachment(long nodeId, java.lang.String title, java.lang.String fileName)
           
 void deletePages(long nodeId)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(long nodeId, boolean head, java.lang.String parentTitle)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(long nodeId, java.lang.String title)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
           
 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(long nodeId)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(long nodeId, java.lang.String title)
           
 com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
           
 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)
           
 com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(long nodeId, java.lang.String title, javax.portlet.PortletURL viewPageURL, javax.portlet.PortletURL editPageURL, java.lang.String attachmentURLPrefix)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(long nodeId, boolean head, int start, int end)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(long nodeId, int start, int end)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(long nodeId, java.lang.String title, boolean head, int start, int end)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(long nodeId, java.lang.String title, int start, int end)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(long nodeId, java.lang.String title, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.wiki.model.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)
           
 int getPagesCount(java.lang.String format)
           
protected  com.liferay.portlet.wiki.model.WikiPage getPreviousVersionPage(com.liferay.portlet.wiki.model.WikiPage page)
           
 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(long nodeId, int start, int end)
           
 int getRecentChangesCount(long nodeId)
           
protected  boolean isLinkedTo(com.liferay.portlet.wiki.model.WikiPage page, java.lang.String targetTitle)
           
protected  boolean isUsedTitle(long nodeId, java.lang.String title)
           
 void movePage(long userId, long nodeId, java.lang.String title, java.lang.String newTitle, boolean strict, com.liferay.portal.service.ServiceContext serviceContext)
           
 void movePage(long userId, long nodeId, java.lang.String title, java.lang.String newTitle, com.liferay.portal.service.ServiceContext serviceContext)
           
protected  void notifySubscribers(com.liferay.portlet.wiki.model.WikiNode node, com.liferay.portlet.wiki.model.WikiPage page, com.liferay.portal.service.ServiceContext serviceContext, boolean update)
           
 void reIndex(long resourcePrimKey)
           
 void reIndex(com.liferay.portlet.wiki.model.WikiPage page)
           
protected  java.lang.String replaceStyles(java.lang.String html)
           
 com.liferay.portlet.wiki.model.WikiPage revertPage(long userId, long nodeId, java.lang.String title, double version, com.liferay.portal.service.ServiceContext serviceContext)
           
 void subscribePage(long userId, long nodeId, java.lang.String title)
           
 void unsubscribePage(long userId, long nodeId, java.lang.String title)
           
 com.liferay.portlet.wiki.model.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, com.liferay.portal.service.ServiceContext serviceContext)
           
 void updateTagsAsset(long userId, com.liferay.portlet.wiki.model.WikiPage page, java.lang.String[] tagsCategories, java.lang.String[] tagsEntries)
           
protected  void validate(long nodeId, java.lang.String content, java.lang.String format)
           
protected  void validate(java.lang.String title, long nodeId, java.lang.String content, java.lang.String format)
           
 void validateTitle(java.lang.String title)
           
 
Methods inherited from class com.liferay.portlet.wiki.service.base.WikiPageLocalServiceBaseImpl
addWikiPage, createWikiPage, deleteWikiPage, deleteWikiPage, dynamicQuery, dynamicQuery, 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, getWikiPage, getWikiPageFinder, getWikiPageLocalService, getWikiPagePersistence, getWikiPageResourceLocalService, getWikiPageResourcePersistence, getWikiPages, getWikiPagesCount, 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, updateWikiPage, updateWikiPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiPageLocalServiceImpl

public WikiPageLocalServiceImpl()
Method Detail

addPage

public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
                                                       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(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,
                                                       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

addPageResources

public 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 void addPageResources(com.liferay.portlet.wiki.model.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 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 void addPageResources(com.liferay.portlet.wiki.model.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 void changeParent(long userId,
                         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

deletePage

public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
                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

deletePages

public void deletePages(long nodeId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getChildren

public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(long nodeId,
                                                                           boolean head,
                                                                           java.lang.String parentTitle)
                                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getIncomingLinks

public java.util.List<com.liferay.portlet.wiki.model.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 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
                                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getOrphans

public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(long nodeId)
                                                                   throws com.liferay.portal.PortalException,
                                                                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getOutgoingLinks

public java.util.List<com.liferay.portlet.wiki.model.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 com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
                                                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

getPageDisplay

public com.liferay.portlet.wiki.model.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 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(long nodeId,
                                                                        int start,
                                                                        int end)
                                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPages

public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(java.lang.String format)
                                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPages

public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(long nodeId,
                                                                        java.lang.String title,
                                                                        int start,
                                                                        int end)
                                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPages

public java.util.List<com.liferay.portlet.wiki.model.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 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(long nodeId,
                                                                        boolean head,
                                                                        int start,
                                                                        int end)
                                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPages

public java.util.List<com.liferay.portlet.wiki.model.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 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

getPagesCount

public int getPagesCount(java.lang.String format)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getRecentChanges

public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(long nodeId,
                                                                                int start,
                                                                                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

movePage

public void movePage(long userId,
                     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

movePage

public void movePage(long userId,
                     long nodeId,
                     java.lang.String title,
                     java.lang.String newTitle,
                     boolean strict,
                     com.liferay.portal.service.ServiceContext serviceContext)
              throws com.liferay.portal.PortalException,
                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

reIndex

public void reIndex(long resourcePrimKey)
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

reIndex

public void reIndex(com.liferay.portlet.wiki.model.WikiPage page)
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

revertPage

public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
                                                          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 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 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 com.liferay.portlet.wiki.model.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,
                                                          com.liferay.portal.service.ServiceContext serviceContext)
                                                   throws com.liferay.portal.PortalException,
                                                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateTagsAsset

public void updateTagsAsset(long userId,
                            com.liferay.portlet.wiki.model.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

public void validateTitle(java.lang.String title)
                   throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException

clearPageCache

protected void clearPageCache(com.liferay.portlet.wiki.model.WikiPage page)

clearReferralsCache

protected void clearReferralsCache(com.liferay.portlet.wiki.model.WikiPage page)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPreviousVersionPage

protected com.liferay.portlet.wiki.model.WikiPage getPreviousVersionPage(com.liferay.portlet.wiki.model.WikiPage page)
                                                                  throws com.liferay.portal.PortalException,
                                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

isLinkedTo

protected boolean isLinkedTo(com.liferay.portlet.wiki.model.WikiPage page,
                             java.lang.String targetTitle)
                      throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException

isUsedTitle

protected boolean isUsedTitle(long nodeId,
                              java.lang.String title)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

notifySubscribers

protected void notifySubscribers(com.liferay.portlet.wiki.model.WikiNode node,
                                 com.liferay.portlet.wiki.model.WikiPage page,
                                 com.liferay.portal.service.ServiceContext serviceContext,
                                 boolean update)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

replaceStyles

protected java.lang.String replaceStyles(java.lang.String html)

validate

protected void validate(long nodeId,
                        java.lang.String content,
                        java.lang.String format)
                 throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException

validate

protected void validate(java.lang.String title,
                        long nodeId,
                        java.lang.String content,
                        java.lang.String format)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException