public class SpaceModule extends AbstractModule
| Modifier and Type | Field and Description |
|---|---|
protected org.exoplatform.social.core.manager.IdentityManager |
identityManager |
protected org.exoplatform.services.organization.OrganizationService |
organizationService |
protected org.exoplatform.social.core.space.spi.SpaceService |
spaceService |
SPACE_MODULE_PREFIX_PATTERN_VALUE, USER_MODULE_ENABLE, USER_MODULE_RANDOM_PASSWORD_PROPERTY| Constructor and Description |
|---|
SpaceModule(org.exoplatform.social.core.space.spi.SpaceService spaceService,
org.exoplatform.social.core.manager.IdentityManager identityManager,
org.exoplatform.services.organization.OrganizationService organizationService) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
createSpace(String name,
String creator,
String description,
String spacePrefix)
Creates the space.
|
void |
createSpaces(org.json.JSONArray spaces,
String defaultDataFolderPath)
Creates the spaces.
|
void |
purgeSpaces(org.json.JSONArray spaces) |
getLogprotected org.exoplatform.social.core.space.spi.SpaceService spaceService
protected org.exoplatform.social.core.manager.IdentityManager identityManager
protected org.exoplatform.services.organization.OrganizationService organizationService
public SpaceModule(org.exoplatform.social.core.space.spi.SpaceService spaceService,
org.exoplatform.social.core.manager.IdentityManager identityManager,
org.exoplatform.services.organization.OrganizationService organizationService)
public void createSpaces(org.json.JSONArray spaces,
String defaultDataFolderPath)
spaces - the spacesdefaultDataFolderPath - the default data folder pathpublic boolean createSpace(String name, String creator, String description, String spacePrefix)
name - the namecreator - the creatorpublic void purgeSpaces(org.json.JSONArray spaces)
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.