Package io.meeds.social.space.service
Interface SpaceAdministrationService
public interface SpaceAdministrationService
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplySpaceTemplate(long spaceId, SpaceTemplatePatch templatePatch) getSpacePermissions(long spaceId) voidupdateSpacePermissions(long spaceId, SpacePermissions permissions)
-
Method Details
-
getSpacePermissions
SpacePermissions getSpacePermissions(long spaceId) throws org.exoplatform.commons.exception.ObjectNotFoundException - Parameters:
spaceId-Spacetechnical 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-Spacetechnical idpermissions- 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-Spacetechnical idtemplatePatch- SpaceTemplate properties to apply- Throws:
org.exoplatform.commons.exception.ObjectNotFoundException- when the space doesn't exist
-