public class CreateUsersWithRestV1API
extends org.alfresco.bm.AbstractRestApiEventProcessor
| Constructor and Description |
|---|
CreateUsersWithRestV1API() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getRandomGroups()
Using the current
user group chances, generate a set of random groups
according to the chances. |
org.alfresco.bm.user.UserDataService |
getUserDataService() |
String |
getUserGroups() |
Map<String,Double> |
getUserGroupsMap() |
boolean |
isIgnoreExistingUsers() |
protected org.alfresco.bm.common.EventResult |
processEvent(org.alfresco.bm.driver.event.Event event) |
void |
setAlfrescoAdminPassword(String alfrescoAdminPassword) |
void |
setAlfrescoAdminUsername(String alfrescoAdminUsername) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setIgnoreExistingUsers(boolean ignoreExistingUsers) |
void |
setUserDataService(org.alfresco.bm.user.UserDataService userDataService) |
void |
setUserGroups(String userGroups) |
getDataContent, getDataSite, getDataUser, getRestWrapper, setBaseUrlgetName, getWarnDelay, isAutoCloseSessionId, isAutoPropagateSessionId, isChart, processEvent, register, resumeTimer, setAutoCloseSessionId, setAutoPropagateSessionId, setBeanName, setChart, setEventName, setEventNames, setRegistry, setWarnDelay, stopTimer, suspendTimer, toStringpublic void setAlfrescoAdminUsername(String alfrescoAdminUsername)
public void setAlfrescoAdminPassword(String alfrescoAdminPassword)
protected org.alfresco.bm.common.EventResult processEvent(org.alfresco.bm.driver.event.Event event)
throws Exception
processEvent in class org.alfresco.bm.driver.event.AbstractEventProcessorExceptionpublic List<String> getRandomGroups()
user group chances, generate a set of random groups
according to the chances.public org.alfresco.bm.user.UserDataService getUserDataService()
public void setUserDataService(org.alfresco.bm.user.UserDataService userDataService)
public boolean isIgnoreExistingUsers()
public void setIgnoreExistingUsers(boolean ignoreExistingUsers)
public String getUserGroups()
public void setUserGroups(String userGroups)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwaresetApplicationContext in class org.alfresco.bm.AbstractRestApiEventProcessororg.springframework.beans.BeansExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.