public class PageServiceWrapper extends Object implements org.exoplatform.portal.mop.page.PageService
A wrapper for the PageServiceImpl, the wrappers takes care of integrating the implementation with the GateIn runtime.
The wrapper emits events when page modifications are performed:
EventType.PAGE_CREATED: when a page is createdEventType.PAGE_UPDATED: when a page is updatedEventType.PAGE_DESTROYED: when a page is destroyed| Constructor and Description |
|---|
PageServiceWrapper(POMSessionManager manager,
org.exoplatform.services.listener.ListenerService listenerService) |
PageServiceWrapper(POMSessionManager manager,
org.exoplatform.services.listener.ListenerService listenerService,
org.exoplatform.services.cache.CacheService cacheService) |
| Modifier and Type | Method and Description |
|---|---|
org.exoplatform.portal.mop.page.PageContext |
clone(org.exoplatform.portal.mop.page.PageKey src,
org.exoplatform.portal.mop.page.PageKey dst) |
boolean |
destroyPage(org.exoplatform.portal.mop.page.PageKey key) |
org.exoplatform.portal.mop.QueryResult<org.exoplatform.portal.mop.page.PageContext> |
findPages(int offset,
int limit,
org.exoplatform.portal.mop.SiteType siteType,
String siteName,
String pageName,
String pageTitle) |
org.exoplatform.portal.mop.page.PageContext |
loadPage(org.exoplatform.portal.mop.page.PageKey key) |
List<org.exoplatform.portal.mop.page.PageContext> |
loadPages(org.exoplatform.portal.mop.SiteKey siteKey) |
boolean |
savePage(org.exoplatform.portal.mop.page.PageContext page) |
public PageServiceWrapper(POMSessionManager manager, org.exoplatform.services.listener.ListenerService listenerService)
public PageServiceWrapper(POMSessionManager manager, org.exoplatform.services.listener.ListenerService listenerService, org.exoplatform.services.cache.CacheService cacheService)
public org.exoplatform.portal.mop.page.PageContext loadPage(org.exoplatform.portal.mop.page.PageKey key)
loadPage in interface org.exoplatform.portal.mop.page.PageServicepublic List<org.exoplatform.portal.mop.page.PageContext> loadPages(org.exoplatform.portal.mop.SiteKey siteKey) throws NullPointerException, org.exoplatform.portal.mop.page.PageServiceException
loadPages in interface org.exoplatform.portal.mop.page.PageServiceNullPointerExceptionorg.exoplatform.portal.mop.page.PageServiceExceptionpublic boolean savePage(org.exoplatform.portal.mop.page.PageContext page)
savePage in interface org.exoplatform.portal.mop.page.PageServicepublic boolean destroyPage(org.exoplatform.portal.mop.page.PageKey key)
destroyPage in interface org.exoplatform.portal.mop.page.PageServicepublic org.exoplatform.portal.mop.page.PageContext clone(org.exoplatform.portal.mop.page.PageKey src,
org.exoplatform.portal.mop.page.PageKey dst)
clone in interface org.exoplatform.portal.mop.page.PageServicepublic org.exoplatform.portal.mop.QueryResult<org.exoplatform.portal.mop.page.PageContext> findPages(int offset,
int limit,
org.exoplatform.portal.mop.SiteType siteType,
String siteName,
String pageName,
String pageTitle)
findPages in interface org.exoplatform.portal.mop.page.PageServiceCopyright © 2003–2021 eXo Platform SAS. All rights reserved.