org.exoplatform.wiki.bench
Class WikiDataInjector
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.bench.DataInjector
org.exoplatform.wiki.bench.WikiDataInjector
- All Implemented Interfaces:
- org.exoplatform.container.component.ComponentPlugin
public class WikiDataInjector
- extends org.exoplatform.services.bench.DataInjector
Plugin for injecting Wiki data.
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
desc, name |
|
Constructor Summary |
WikiDataInjector(org.exoplatform.wiki.service.WikiService wikiService,
org.exoplatform.container.xml.InitParams params)
|
| Methods inherited from class org.exoplatform.services.bench.DataInjector |
createTextResource, getRestId, paragraphs, randomParagraphs, randomUser, randomWords, readGroupsIfExist, readMembershipIfExist, readUsersIfExist, setRestId, words |
| Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin |
getDescription, getName, setDescription, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QUANTITY
public static final String QUANTITY
- See Also:
- Constant Field Values
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
PAGE_SIZE
public static final String PAGE_SIZE
- See Also:
- Constant Field Values
ATTACH_SIZE
public static final String ATTACH_SIZE
- See Also:
- Constant Field Values
WIKI_OWNER
public static final String WIKI_OWNER
- See Also:
- Constant Field Values
WIKI_TYPE
public static final String WIKI_TYPE
- See Also:
- Constant Field Values
RECURSIVE
public static final String RECURSIVE
- See Also:
- Constant Field Values
PERMISSION
public static final String PERMISSION
- See Also:
- Constant Field Values
ARRAY_SPLIT
public static final String ARRAY_SPLIT
- See Also:
- Constant Field Values
WikiDataInjector
public WikiDataInjector(org.exoplatform.wiki.service.WikiService wikiService,
org.exoplatform.container.xml.InitParams params)
inject
public void inject(HashMap<String,String> queryParams)
throws Exception
- Specified by:
inject in class org.exoplatform.services.bench.DataInjector
- Throws:
Exception
reject
public void reject(HashMap<String,String> params)
throws Exception
- Specified by:
reject in class org.exoplatform.services.bench.DataInjector
- Throws:
Exception
getPagesByPrefix
public 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)
getLog
public org.exoplatform.services.log.Log getLog()
- Specified by:
getLog in class org.exoplatform.services.bench.DataInjector
execute
public Object execute(HashMap<String,String> params)
throws Exception
- Specified by:
execute in class org.exoplatform.services.bench.DataInjector
- Throws:
Exception
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.