public class PopulatorService extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
ACTIVITIES
The activities.
|
String |
CALENDAR
The calendar.
|
String |
DOCUMENTS
The documents.
|
String |
FORUM
The forum.
|
String |
SCENARIO_DESCRIPTION_ATTRIBUTE
The scenario description attribute.
|
String |
SCENARIO_FOLDER
The scenario folder.
|
String |
SCENARIO_NAME_ATTRIBUTE
The scenario name attribute.
|
String |
SPACES
The spaces.
|
String |
USERS
The users.
|
String |
WIKI
The wiki.
|
| Constructor and Description |
|---|
PopulatorService()
Instantiates a new populator service.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCompletionAsJson()
Gets the completion as json.
|
String |
getData(InputStream inputStream)
Gets the data.
|
Map<String,org.json.JSONObject> |
getScenarios()
Gets the scenarios.
|
void |
init()
Inits the.
|
String |
populate(String scenarioName)
Populate.
|
void |
setCompletion(String category,
int value)
Sets the completion.
|
public String SCENARIO_FOLDER
public String SCENARIO_NAME_ATTRIBUTE
public String SCENARIO_DESCRIPTION_ATTRIBUTE
public final String USERS
public final String SPACES
public final String CALENDAR
public final String WIKI
public final String DOCUMENTS
public final String FORUM
public final String ACTIVITIES
public void init()
public String populate(String scenarioName)
scenarioName - the scenario namepublic String getData(InputStream inputStream)
inputStream - the input streampublic Map<String,org.json.JSONObject> getScenarios()
public void setCompletion(String category, int value)
category - the categoryvalue - the valuepublic String getCompletionAsJson()
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.