Package io.meeds.layout.service
Class SiteLayoutService
java.lang.Object
io.meeds.layout.service.SiteLayoutService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.portal.config.model.PortalConfigcreateSite(SiteCreateModel createModel, String username) voiddeleteSite(org.exoplatform.portal.mop.SiteKey siteKey, String username) org.exoplatform.portal.config.model.PortalConfigorg.exoplatform.portal.config.model.PortalConfiggetSiteDescriptions(Long siteId, String username) getSiteLabels(Long siteId, String username) voidupdateSite(SiteUpdateModel updateModel, String username) voidupdateSitePermissions(PermissionUpdateModel permissionUpdateModel, String username)
-
Constructor Details
-
SiteLayoutService
public SiteLayoutService()
-
-
Method Details
-
getSite
public org.exoplatform.portal.config.model.PortalConfig getSite(long siteId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
getSite
public org.exoplatform.portal.config.model.PortalConfig getSite(org.exoplatform.portal.mop.SiteKey siteKey, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
createSite
public org.exoplatform.portal.config.model.PortalConfig createSite(SiteCreateModel createModel, String username) throws IllegalAccessException, org.exoplatform.commons.ObjectAlreadyExistsException - Throws:
IllegalAccessExceptionorg.exoplatform.commons.ObjectAlreadyExistsException
-
updateSite
public void updateSite(SiteUpdateModel updateModel, String username) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
IllegalAccessExceptionorg.exoplatform.commons.exception.ObjectNotFoundException
-
deleteSite
public void deleteSite(org.exoplatform.portal.mop.SiteKey siteKey, String username) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
IllegalAccessExceptionorg.exoplatform.commons.exception.ObjectNotFoundException
-
updateSitePermissions
public void updateSitePermissions(PermissionUpdateModel permissionUpdateModel, String username) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
IllegalAccessExceptionorg.exoplatform.commons.exception.ObjectNotFoundException
-
getSiteLabels
public NodeLabel getSiteLabels(Long siteId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
getSiteDescriptions
public NodeLabel getSiteDescriptions(Long siteId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-