public class

UserPropertyHelper

extends Object
implements EntityWithKeyPropertyHelper<E extends WithKey & WithId>
java.lang.Object
   ↳ com.atlassian.jira.bc.user.property.UserPropertyHelper

Summary

Fields
protected final GlobalPermissionManager permissionManager
Public Constructors
UserPropertyHelper(UserManager userManager, GlobalPermissionManager permissionManager, I18nHelper i18n)
Public Methods
Function2<ApplicationUserEntityProperty, ? extends EntityPropertyDeletedEvent> createDeletePropertyEventFunction()
Function2<ApplicationUserEntityProperty, ? extends EntityPropertySetEvent> createSetPropertyEventFunction()
Function<Long, Option<ApplicationUser>> getEntityByIdFunction()
Function<String, Option<ApplicationUser>> getEntityByKeyFunction()
EntityPropertyType getEntityPropertyType()
CheckPermissionFunction<ApplicationUser> hasEditPermissionFunction()
CheckPermissionFunction<ApplicationUser> hasReadPermissionFunction()
Protected Methods
final boolean canAdministerOtherUser(ApplicationUser currentUser, ApplicationUser accessedUser)
final boolean isTheSameUser(ApplicationUser user1, ApplicationUser user2)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.entity.property.EntityPropertyHelper
From interface com.atlassian.jira.entity.property.EntityWithKeyPropertyHelper

Fields

protected final GlobalPermissionManager permissionManager

Public Constructors

public UserPropertyHelper (UserManager userManager, GlobalPermissionManager permissionManager, I18nHelper i18n)

Public Methods

public Function2<ApplicationUserEntityProperty, ? extends EntityPropertyDeletedEvent> createDeletePropertyEventFunction ()

public Function2<ApplicationUserEntityProperty, ? extends EntityPropertySetEvent> createSetPropertyEventFunction ()

public Function<Long, Option<ApplicationUser>> getEntityByIdFunction ()

public Function<String, Option<ApplicationUser>> getEntityByKeyFunction ()

public EntityPropertyType getEntityPropertyType ()

public CheckPermissionFunction<ApplicationUser> hasEditPermissionFunction ()

public CheckPermissionFunction<ApplicationUser> hasReadPermissionFunction ()

Protected Methods

protected final boolean canAdministerOtherUser (ApplicationUser currentUser, ApplicationUser accessedUser)

protected final boolean isTheSameUser (ApplicationUser user1, ApplicationUser user2)