Package io.meeds.layout.service
Class PageLayoutService
java.lang.Object
io.meeds.layout.service.PageLayoutService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.portal.mop.page.PageKeyorg.exoplatform.portal.mop.page.PageContextcreatePage(PageCreateModel pageModel, String username) org.exoplatform.portal.mop.page.PageContextorg.exoplatform.portal.config.model.PagegetPageLayout(org.exoplatform.portal.mop.page.PageKey pageKey) org.exoplatform.portal.config.model.PagegetPageLayout(org.exoplatform.portal.mop.page.PageKey pageKey, String username) List<org.exoplatform.portal.mop.page.PageContext>getPages(String siteTypeName, String siteName, String pageDisplayName, int offset, int limit, String username) org.exoplatform.portal.mop.page.PageContextupdatePageLayout(String pageRef, org.exoplatform.portal.config.model.Page page, boolean publish, String username) voidupdatePageLink(org.exoplatform.portal.mop.page.PageKey pageKey, String link, String username) voidupdatePagePermissions(org.exoplatform.portal.mop.page.PageKey pageKey, PermissionUpdateModel permissionUpdateModel, String username)
-
Field Details
-
EMPTY_PAGE_TEMPLATE
- See Also:
-
-
Constructor Details
-
PageLayoutService
public PageLayoutService()
-
-
Method Details
-
getPages
-
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.ObjectNotFoundExceptionIllegalAccessException
-
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.ObjectNotFoundExceptionIllegalAccessException
-
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.ObjectNotFoundExceptionIllegalAccessExceptionIllegalArgumentException
-
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:
IllegalAccessExceptionorg.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:
IllegalAccessExceptionorg.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.ObjectNotFoundExceptionIllegalAccessExceptionIllegalStateException
-
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.ObjectNotFoundExceptionIllegalAccessException
-