public class SettingsSpacesAdministrationStorage extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
MEMBERSHIPS_SETTING_SEPARATOR |
static String |
SETTINGS |
| Constructor and Description |
|---|
SettingsSpacesAdministrationStorage(org.exoplatform.commons.api.settings.SettingService settingService) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSpaceCreationMembership(org.exoplatform.services.security.MembershipEntry membership)
Add a new membership
|
void |
deleteSettingsEntity()
Delete the Settings JCR node
|
void |
deleteSpaceCreationMembership(org.exoplatform.services.security.MembershipEntry membership)
Delete a membership
|
List<org.exoplatform.services.security.MembershipEntry> |
getSpaceCreationMemberships()
Get JCR node storing the memberships
|
boolean |
settingsEntityExists()
Check if the Settings node exists
|
public static final String SETTINGS
public static final String MEMBERSHIPS_SETTING_SEPARATOR
public SettingsSpacesAdministrationStorage(org.exoplatform.commons.api.settings.SettingService settingService)
public boolean settingsEntityExists()
throws Exception
Exceptionpublic void addSpaceCreationMembership(org.exoplatform.services.security.MembershipEntry membership)
throws Exception
membership - Membership to addjavax.jcr.RepositoryExceptionExceptionpublic List<org.exoplatform.services.security.MembershipEntry> getSpaceCreationMemberships() throws Exception
Exceptionpublic void deleteSpaceCreationMembership(org.exoplatform.services.security.MembershipEntry membership)
throws Exception
membership - Membership to deletejavax.jcr.RepositoryExceptionExceptionpublic void deleteSettingsEntity()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionCopyright © 2003–2018 eXo Platform SAS. All rights reserved.