Class SpacesAdministrationServiceImpl
java.lang.Object
org.exoplatform.social.core.space.impl.SpacesAdministrationServiceImpl
- All Implemented Interfaces:
org.exoplatform.social.core.space.SpacesAdministrationService,org.picocontainer.Startable
public class SpacesAdministrationServiceImpl
extends Object
implements org.picocontainer.Startable, org.exoplatform.social.core.space.SpacesAdministrationService
Service to manage administration of spaces
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.exoplatform.portal.mop.page.PageKey -
Constructor Summary
ConstructorsConstructorDescriptionSpacesAdministrationServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.portal.mop.service.LayoutService layoutService, org.exoplatform.portal.config.UserACL userACL, org.exoplatform.container.xml.InitParams initParams) -
Method Summary
Modifier and TypeMethodDescriptionList<org.exoplatform.services.security.MembershipEntry> booleanisSuperManager(String username) protected voidloadSettings(org.exoplatform.container.xml.InitParams initParams) Load Spaces Administration settings For Spaces Administrators setting, it uses the value stored in the settings if any, otherwise it uses the value from the configurationvoidstart()voidupdateSpacesAdministratorsMemberships(List<org.exoplatform.services.security.MembershipEntry> permissionsExpressions) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.picocontainer.Startable
stop
-
Field Details
-
SPACES_ADMINISTRATION_PAGE_KEY
public static final org.exoplatform.portal.mop.page.PageKey SPACES_ADMINISTRATION_PAGE_KEY
-
-
Constructor Details
-
SpacesAdministrationServiceImpl
public SpacesAdministrationServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.portal.mop.service.LayoutService layoutService, org.exoplatform.portal.config.UserACL userACL, org.exoplatform.container.xml.InitParams initParams)
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.picocontainer.Startable
-
updateSpacesAdministratorsMemberships
public void updateSpacesAdministratorsMemberships(List<org.exoplatform.services.security.MembershipEntry> permissionsExpressions) - Specified by:
updateSpacesAdministratorsMembershipsin interfaceorg.exoplatform.social.core.space.SpacesAdministrationService
-
getSpacesAdministratorsMemberships
- Specified by:
getSpacesAdministratorsMembershipsin interfaceorg.exoplatform.social.core.space.SpacesAdministrationService
-
isSuperManager
- Specified by:
isSuperManagerin interfaceorg.exoplatform.social.core.space.SpacesAdministrationService
-
loadSettings
protected void loadSettings(org.exoplatform.container.xml.InitParams initParams) Load Spaces Administration settings For Spaces Administrators setting, it uses the value stored in the settings if any, otherwise it uses the value from the configuration- Parameters:
initParams- Service init parameters
-