com.atlassian.jira.user.util
Class UserSharingPreferencesUtilImpl
java.lang.Object
com.atlassian.jira.user.util.UserSharingPreferencesUtilImpl
- All Implemented Interfaces:
- UserSharingPreferencesUtil
public class UserSharingPreferencesUtilImpl
- extends Object
- implements UserSharingPreferencesUtil
Standard implementation of the UserSharingPreferencesUtil
interface.
- Since:
- v3.13
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserSharingPreferencesUtilImpl
public UserSharingPreferencesUtilImpl(PermissionManager permissionManager,
UserPreferencesManager userPreferencesManager)
getDefaultSharePermissions
public SharedEntity.SharePermissions getDefaultSharePermissions(com.atlassian.crowd.embedded.api.User user)
- Description copied from interface:
UserSharingPreferencesUtil
- Return the default share permissions for the passed user.
- Specified by:
getDefaultSharePermissions
in interface UserSharingPreferencesUtil
- Parameters:
user
- the user whose preferences should be queried.
- Returns:
- the default preferences for the user.
Copyright © 2002-2013 Atlassian. All Rights Reserved.