public class SpaceModule extends Object
| 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 |
| 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)
Creates the space.
|
void |
createSpaces(org.json.JSONArray spaces,
String defaultDataFolderPath)
Creates the spaces.
|
void |
purgeSpaces(org.json.JSONArray spaces) |
protected 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)
name - the namecreator - the creatorpublic void purgeSpaces(org.json.JSONArray spaces)
Copyright © 2003–2017 eXo Platform SAS. All rights reserved.