public interface UserAccessorInternal extends UserAccessor
UserAccessor interface; see the package-info.java for rationale.ANONYMOUS, DEFAULT_GROUP_NAMES, GROUP_CONFLUENCE_ADMINS, GROUP_CONFLUENCE_USERS, PROFILE_PICTURE_BUILTIN_PATH, USER_GROUP_SUFFIX| Modifier and Type | Method and Description |
|---|---|
com.atlassian.fugue.Option<ConfluenceUser> |
getExistingByApiUser(User user)
Retrieve the corresponding ConfluenceUser (if any) for a user, by user key or username
|
ConfluenceUser |
getExistingUserByPerson(Person person)
Retrieve the corresponding ConfluenceUser (if any) for a Person, by username, or user key
|
countLicenseConsumingUsers, countUsersWithConfluenceAccess, createUser, exists, filterUnaccessibleGroups, filterUnaccessibleGroups, filterUnaccessibleUsers, filterUnaccessibleUsers, findUsersAsList, getAllDefaultGroupNames, getConfluenceUserPreferences, getExistingUserByKey, getGroupNames, getGroupNamesForUserName, getGroupsAsList, getGroupsAsList, getMemberNamesAsList, getMembers, getNewUserDefaultGroupName, getPropertySet, getPropertySet, getUser, getUserByKey, getUserByName, getUserIfAvailable, getUserNamesWithConfluenceAccess, getUserProfilePicture, getUserProfilePicture, getUsersWithConfluenceAccessAsList, getWriteableGroups, isReadOnly, isReadOnly, isSuperUser, renameUser, setUserProfilePicture, setUserProfilePictureaddGroup, addMembership, addMembership, addUser, addUser, alterPassword, authenticate, createGroup, createUser, deactivateUser, findUsers, getDelegatingRepositories, getExternallMembers, getGroup, getGroupCreateIfNecessary, getGroups, getGroups, getLocalMembers, getMemberNames, getRepository, getUserNames, getUserPreferences, getUsers, getUsersByEmail, getUsersWithConfluenceAccess, hasMembership, hasMembership, isDeactivated, isDeactivated, isLicensedToAddMoreUsers, isUserRemovable, reactivateUser, removeGroup, removeMembership, removeMembership, removeUser, saveUser@Nullable ConfluenceUser getExistingUserByPerson(Person person)
person - the person whose corresponding ConfluenceUser should be retrievedIllegalArgumentException - if person has neither username nor user keycom.atlassian.fugue.Option<ConfluenceUser> getExistingByApiUser(User user)
One of username or userkey must be set on the user object.
This method differs from getExistingUserByPerson(com.atlassian.confluence.api.model.people.Person) in its handling of anonymous, it is not
possible to retrieve an anonymous user from this method. When a Option.none() is returned from this method
it indicates that the user was not found in the user repository.
user - the user whose corresponding ConfluenceUser should be retrievedIllegalArgumentException - if user parameter has neither username nor user keyCopyright © 2003–2017 Atlassian. All rights reserved.