Class PageLayoutService

java.lang.Object
io.meeds.layout.service.PageLayoutService

@Service public class PageLayoutService extends Object
  • Field Details

  • Constructor Details

    • PageLayoutService

      public PageLayoutService()
  • Method Details

    • getPages

      public List<org.exoplatform.portal.mop.page.PageContext> getPages(String siteTypeName, String siteName, String pageDisplayName, int offset, int limit, String username)
    • getPage

      public org.exoplatform.portal.mop.page.PageContext getPage(org.exoplatform.portal.mop.page.PageKey pageKey, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException
    • getPageApplicationLayout

      public org.exoplatform.portal.config.model.Application<org.exoplatform.portal.pom.spi.portlet.Portlet> getPageApplicationLayout(org.exoplatform.portal.mop.page.PageKey pageKey, long applicationId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException
    • getPageLayout

      public org.exoplatform.portal.config.model.Page getPageLayout(org.exoplatform.portal.mop.page.PageKey pageKey, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException
    • getPageLayout

      public org.exoplatform.portal.config.model.Page getPageLayout(org.exoplatform.portal.mop.page.PageKey pageKey)
    • createPage

      public org.exoplatform.portal.mop.page.PageContext createPage(PageCreateModel pageModel, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException, IllegalArgumentException
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException
      IllegalArgumentException
    • clonePage

      public org.exoplatform.portal.mop.page.PageKey clonePage(org.exoplatform.portal.mop.page.PageKey pageKey, String username) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException
      Throws:
      IllegalAccessException
      org.exoplatform.commons.exception.ObjectNotFoundException
    • updatePageLayout

      public org.exoplatform.portal.mop.page.PageContext updatePageLayout(String pageRef, org.exoplatform.portal.config.model.Page page, boolean publish, String username) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException
      Throws:
      IllegalAccessException
      org.exoplatform.commons.exception.ObjectNotFoundException
    • updatePageLink

      public void updatePageLink(org.exoplatform.portal.mop.page.PageKey pageKey, String link, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException, IllegalStateException
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException
      IllegalStateException
    • updatePagePermissions

      public void updatePagePermissions(org.exoplatform.portal.mop.page.PageKey pageKey, PermissionUpdateModel permissionUpdateModel, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException