org.exoplatform.social.extras.injection
Class RelationshipInjector
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.bench.DataInjector
org.exoplatform.social.extras.injection.AbstractSocialInjector
org.exoplatform.social.extras.injection.RelationshipInjector
- All Implemented Interfaces:
- org.exoplatform.container.component.ComponentPlugin
public class RelationshipInjector
- extends AbstractSocialInjector
- Version:
- $Revision$
- Author:
- Alain Defrance
| Fields inherited from class org.exoplatform.social.extras.injection.AbstractSocialInjector |
activityManager, container, DOMAIN, identityManager, identityStorage, lorem, nameGenerator, organizationService, PASSWORD, random, relationshipManager, spaceBase, spaceNumber, spacePrettyBase, spaceService, userBase, userHandler, userNumber |
| Fields inherited from class org.exoplatform.services.bench.DataInjector |
ARRAY_SPLIT |
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
desc, name |
| 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 |
RelationshipInjector
public RelationshipInjector()
inject
public void inject(HashMap<String,String> params)
throws Exception
- Specified by:
inject in class org.exoplatform.services.bench.DataInjector
- Throws:
Exception
isPossible
public boolean isPossible(int a,
int b,
int c)
- Parameters:
a - begin rangeb - end rangec - number
compute
public Map<Integer,Integer> compute(int a,
int b,
int c)
- Parameters:
a - begin rangeb - end rangec - number
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.