com.atlassian.jira.web.action.setup
Class SetupOldUserHelper

java.lang.Object
  extended by 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

Constructor Summary
SetupOldUserHelper()
           
 
Method Summary
static org.ofbiz.core.entity.GenericValue addGroup(String groupName)
           
static org.ofbiz.core.entity.GenericValue addToGroup(String groupName, String userName)
           
static org.ofbiz.core.entity.GenericValue addUser(UserService.CreateUserValidationResult result)
           
static org.ofbiz.core.entity.GenericValue getExistingAdmins()
           
static boolean groupExists(String groupName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetupOldUserHelper

public SetupOldUserHelper()
Method Detail

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.