|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.bench.DataInjector
org.exoplatform.social.extras.injection.AbstractSocialInjector
public abstract class AbstractSocialInjector
| Field Summary | |
|---|---|
protected org.exoplatform.social.core.manager.ActivityManager |
activityManager
. |
protected org.exoplatform.container.PortalContainer |
container
|
protected static String |
DOMAIN
. |
protected org.exoplatform.social.core.manager.IdentityManager |
identityManager
. |
protected org.exoplatform.social.core.storage.api.IdentityStorage |
identityStorage
. |
protected LoremIpsum4J |
lorem
. |
protected NameGenerator |
nameGenerator
. |
protected org.exoplatform.services.organization.OrganizationService |
organizationService
. |
protected static String |
PASSWORD
. |
protected Random |
random
. |
protected org.exoplatform.social.core.manager.RelationshipManager |
relationshipManager
. |
protected String |
spaceBase
. |
protected int |
spaceNumber
. |
protected String |
spacePrettyBase
. |
protected org.exoplatform.social.core.space.spi.SpaceService |
spaceService
. |
protected String |
userBase
. |
protected org.exoplatform.services.organization.UserHandler |
userHandler
. |
protected int |
userNumber
. |
| Fields inherited from class org.exoplatform.services.bench.DataInjector |
|---|
ARRAY_SPLIT |
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
|---|
desc, name |
| Constructor Summary | |
|---|---|
AbstractSocialInjector()
|
|
| Method Summary | |
|---|---|
Object |
execute(HashMap<String,String> stringStringHashMap)
|
org.exoplatform.services.log.Log |
getLog()
|
void |
init(String userPrefix,
String spacePrefix)
|
protected int |
param(HashMap<String,String> params,
String name)
|
void |
reject(HashMap<String,String> stringStringHashMap)
|
protected String |
spaceName()
|
protected String |
userName()
|
| Methods inherited from class org.exoplatform.services.bench.DataInjector |
|---|
createTextResource, getRestId, inject, 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 |
| Field Detail |
|---|
protected static final String PASSWORD
protected static final String DOMAIN
protected String userBase
protected String spaceBase
protected String spacePrettyBase
protected int userNumber
protected int spaceNumber
protected final org.exoplatform.social.core.manager.IdentityManager identityManager
protected final org.exoplatform.social.core.storage.api.IdentityStorage identityStorage
protected final org.exoplatform.social.core.manager.RelationshipManager relationshipManager
protected final org.exoplatform.social.core.manager.ActivityManager activityManager
protected final org.exoplatform.services.organization.OrganizationService organizationService
protected final org.exoplatform.social.core.space.spi.SpaceService spaceService
protected final org.exoplatform.services.organization.UserHandler userHandler
protected final Random random
protected NameGenerator nameGenerator
protected LoremIpsum4J lorem
protected org.exoplatform.container.PortalContainer container
| Constructor Detail |
|---|
public AbstractSocialInjector()
| Method Detail |
|---|
public void init(String userPrefix,
String spacePrefix)
public org.exoplatform.services.log.Log getLog()
getLog in class org.exoplatform.services.bench.DataInjector
public Object execute(HashMap<String,String> stringStringHashMap)
throws Exception
execute in class org.exoplatform.services.bench.DataInjectorException
public void reject(HashMap<String,String> stringStringHashMap)
throws Exception
reject in class org.exoplatform.services.bench.DataInjectorExceptionprotected String userName()
protected String spaceName()
protected int param(HashMap<String,String> params,
String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||