com.atlassian.jira.web.action.setup
Class SetupOldUserHelper
java.lang.Object
com.atlassian.jira.web.action.setup.SetupOldUserHelper
public class SetupOldUserHelper
- extends Object
This helper is used to create users, groups and memberships in the pre-Embedded Crowd OSUser tables.
The setup entities need to be in theOSUser tables, because later setup tasks rely on them being in that format.
- Since:
- v4.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetupOldUserHelper
public SetupOldUserHelper()
addUser
public static org.ofbiz.core.entity.GenericValue addUser(UserService.CreateUserValidationResult result)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
groupExists
public static boolean groupExists(String groupName)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
addGroup
public static org.ofbiz.core.entity.GenericValue addGroup(String groupName)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
addToGroup
public static org.ofbiz.core.entity.GenericValue addToGroup(String groupName,
String userName)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
getExistingAdmins
public static org.ofbiz.core.entity.GenericValue getExistingAdmins()
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
Copyright © 2002-2012 Atlassian. All Rights Reserved.