public class WikiDataInjector
extends org.exoplatform.services.bench.DataInjector
| Modifier and Type | Class and Description |
|---|---|
static class |
WikiDataInjector.CONSTANTS |
| Modifier and Type | Field and Description |
|---|---|
static String |
ARRAY_SPLIT |
static String |
ATTACH_SIZE |
static String |
PAGE_SIZE |
static String |
PERMISSION |
static String |
PREFIX |
static String |
QUANTITY |
static String |
RECURSIVE |
static String |
WIKI_OWNER |
static String |
WIKI_TYPE |
| Constructor and Description |
|---|
WikiDataInjector(org.exoplatform.wiki.service.WikiService wikiService,
org.exoplatform.container.xml.InitParams params) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(HashMap<String,String> params) |
org.exoplatform.services.log.Log |
getLog() |
org.chromattic.api.query.QueryResult<org.exoplatform.wiki.mow.core.api.wiki.PageImpl> |
getPagesByPrefix(String prefix,
org.exoplatform.wiki.mow.core.api.wiki.PageImpl father) |
void |
inject(HashMap<String,String> queryParams) |
void |
reject(HashMap<String,String> params) |
createTextResource, getRestId, paragraphs, randomParagraphs, randomUser, randomWords, readGroupsIfExist, readMembershipIfExist, readUsersIfExist, setRestId, wordspublic static final String QUANTITY
public static final String PREFIX
public static final String PAGE_SIZE
public static final String ATTACH_SIZE
public static final String WIKI_OWNER
public static final String WIKI_TYPE
public static final String RECURSIVE
public static final String PERMISSION
public static final String ARRAY_SPLIT
public WikiDataInjector(org.exoplatform.wiki.service.WikiService wikiService,
org.exoplatform.container.xml.InitParams params)
public void inject(HashMap<String,String> queryParams) throws Exception
inject in class org.exoplatform.services.bench.DataInjectorExceptionpublic void reject(HashMap<String,String> params) throws Exception
reject in class org.exoplatform.services.bench.DataInjectorExceptionpublic org.chromattic.api.query.QueryResult<org.exoplatform.wiki.mow.core.api.wiki.PageImpl> getPagesByPrefix(String prefix, org.exoplatform.wiki.mow.core.api.wiki.PageImpl father)
public org.exoplatform.services.log.Log getLog()
getLog in class org.exoplatform.services.bench.DataInjectorCopyright © 2003–2014 eXo Platform SAS. All rights reserved.