Interface SpaceAdministrationService


public interface SpaceAdministrationService
  • Method Details

    • getSpacePermissions

      SpacePermissions getSpacePermissions(long spaceId) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Parameters:
      spaceId - Space technical id
      Returns:
      Space permissions with layoutPermissions, deletePermissions and publicSitePermissions
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException - when the space doesn't exist
    • updateSpacePermissions

      void updateSpacePermissions(long spaceId, SpacePermissions permissions) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Parameters:
      spaceId - Space technical id
      permissions - Space permissions with layoutPermissions, deletePermissions and publicSitePermissions
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException - when the space doesn't exist
    • applySpaceTemplate

      void applySpaceTemplate(long spaceId, SpaceTemplatePatch templatePatch) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Parameters:
      spaceId - Space technical id
      templatePatch - SpaceTemplate properties to apply
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException - when the space doesn't exist