com.atlassian.confluence.user
Interface UserAccessor
- All Superinterfaces:
- EntityQueryParser, UserAccessor
public interface UserAccessor
- extends UserAccessor
| Methods inherited from interface bucket.user.UserAccessor |
addGroup, addMembership, addMembership, addUser, addUser, alterPassword, authenticate, createGroup, createUser, deactivateUser, findUsers, getDefaultGroup, getDelegatingRepositories, getExternallMembers, getGroup, getGroupCreateIfNecessary, getGroups, getGroups, getLocalMembers, getMemberNames, getPropertySet, getRepository, getUser, getUserNames, getUserPreferences, getUsers, getUsersByEmail, getUsersWithConfluenceAccess, hasMembership, hasMembership, isDeactivated, isDeactivated, isLicensedToAddMoreUsers, isUserRemovable, reactivateUser, removeGroup, removeMembership, removeMembership, removeUser, saveUser, setAtlassianUserConfiguration |
ANONYMOUS
static final String ANONYMOUS
- See Also:
- Constant Field Values
GROUP_CONFLUENCE_USERS
static final String GROUP_CONFLUENCE_USERS
- See Also:
- Constant Field Values
USER_GROUP_SUFFIX
static final String USER_GROUP_SUFFIX
- See Also:
- Constant Field Values
GROUP_CONFLUENCE_ADMINS
static final String GROUP_CONFLUENCE_ADMINS
- See Also:
- Constant Field Values
setSpacePermissionManager
void setSpacePermissionManager(SpacePermissionManager permissionManager)
setContentEntityManager
void setContentEntityManager(ContentEntityManager contentEntityManager)
setNotificationManager
void setNotificationManager(NotificationManager notificationManager)
setEventManager
void setEventManager(EventManager eventManager)
setPersonalInformationManager
void setPersonalInformationManager(PersonalInformationManager personalInformationManager)
setSettingsManager
void setSettingsManager(SettingsManager settingsManager)
isReadOnly
boolean isReadOnly(User user)
isReadOnly
boolean isReadOnly(Group group)
filterUnaccessibleUsers
Pager filterUnaccessibleUsers(Pager userPager,
User user)
- Filters a pager of Users based on the groups of the passed
User. If in "shared" mode
and the user isn't a global administrator, only users who are members of the same groups will be returned.
Otherwise, the pager will be returned unmodified.
- Parameters:
userPager - A Pager of User objectsuser - The user to filter against
- Returns:
- a filtered
Pager of User objects
filterUnaccessibleGroups
Pager filterUnaccessibleGroups(Pager groupPager,
User user)
- Filters a pager of groups based on the passed
User. If in "shared" mode and the user isn't a global
administrator, only the groups of the user will be returned. Otherwise, the pager will be returned unmodified.
- Parameters:
groupPager - The pager of groupsuser - The user to filter against
- Returns:
- A filtered
Pager of Group objects
getUserProfilePicture
ProfilePictureInfo getUserProfilePicture(String username)
- Retrieve the path to a user's personal picture
- Parameters:
username - the user whose picture to look up.
- Returns:
- The path to a user's personal picture, or null if they don't have one set.
getConfluenceUserPreferences
ConfluenceUserPreferences getConfluenceUserPreferences(User user)