com.atlassian.jira.dev.backdoor
Class UserProfileBackdoor
java.lang.Object
com.atlassian.jira.dev.backdoor.UserProfileBackdoor
public class UserProfileBackdoor
- extends Object
Use this backdoor to manipulate User Profiles as part of setup for tests.
This class should only be called by the UserProfileControl
.
- Since:
- v5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserProfileBackdoor
public UserProfileBackdoor(UserPreferencesManager userPreferencesManager,
UserUtil userUtil,
AvatarService avatarService,
AvatarManager avatarManager)
addGlobalPermission
public javax.ws.rs.core.Response addGlobalPermission(String username,
String format)
setUserLanguage
public void setUserLanguage(String username,
String language)
throws com.atlassian.core.AtlassianCoreException
- Throws:
com.atlassian.core.AtlassianCoreException
setUserAutoWatch
public javax.ws.rs.core.Response setUserAutoWatch(String username,
String autoWatch)
throws com.atlassian.core.AtlassianCoreException
- Throws:
com.atlassian.core.AtlassianCoreException
- Since:
- 5.2.2
getAvatarUrl
public javax.ws.rs.core.Response getAvatarUrl(String username)
throws com.atlassian.core.AtlassianCoreException
- Throws:
com.atlassian.core.AtlassianCoreException
getCustomAvatarIds
public javax.ws.rs.core.Response getCustomAvatarIds(String username)
throws com.atlassian.core.AtlassianCoreException
- Throws:
com.atlassian.core.AtlassianCoreException
Copyright © 2002-2014 Atlassian. All Rights Reserved.