Public Methods |
User
|
add(User user, PasswordCredential credential)
|
@Nonnull
BatchResult<User>
|
addAll(Set<UserTemplateWithCredentialAndAttributes> users)
|
@Nonnull
OfBizUser
|
findByExternalId(long directoryId, String externalId)
|
@Nonnull
TimestampedUser
|
findByName(long directoryId, String userName)
|
@Nonnull
UserWithAttributes
|
findByNameWithAttributes(long directoryId, String userName)
|
Collection<String>
|
findNamesOfUsersInGroups(Collection<String> groupNames)
Returns the lower-cased names of all users in the specified groups.
|
void
|
flushCache()
|
Collection<String>
|
getAllAttributeKeys()
|
Set<String>
|
getAllExternalIds(long directoryId)
|
@Nullable
PasswordCredential
|
getCredential(long directoryId, String userName)
|
List<PasswordCredential>
|
getCredentialHistory(long directoryId, String userName)
|
long
|
getUniqueUserCount(Set<Long> directoryIds)
|
long
|
getUserCount(long directoryId)
|
boolean
|
isCacheInitialized()
We check if the cache is initialized or not.
|
void
|
processUsers(Consumer<? super User> userProcessor)
Performs an operation on every user in the system.
|
void
|
remove(User user)
|
BatchResult<String>
|
removeAllUsers(long directoryId, Set<String> userNames)
|
void
|
removeAttribute(User user, String attributeName)
|
User
|
rename(User oldUser, String newName)
|
<T>
List<T>
|
search(long directoryId, EntityQuery<T> query)
|
void
|
setAttributeForAllInDirectory(long directoryId, String attrName, String attrValue)
|
void
|
storeAttributes(User user, Map<String, Set<String>> attributes)
|
User
|
update(User user)
|
void
|
updateCredential(User user, PasswordCredential credential, int credentialHistory)
|
boolean
|
useFullCache()
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.atlassian.crowd.embedded.spi.UserDao
User
|
add(User arg0, PasswordCredential arg1)
|
BatchResult<User>
|
addAll(Set<UserTemplateWithCredentialAndAttributes> arg0)
|
TimestampedUser
|
findByExternalId(long arg0, String arg1)
|
TimestampedUser
|
findByName(long arg0, String arg1)
|
UserWithAttributes
|
findByNameWithAttributes(long arg0, String arg1)
|
Set<String>
|
getAllExternalIds(long arg0)
|
PasswordCredential
|
getCredential(long arg0, String arg1)
|
List<PasswordCredential>
|
getCredentialHistory(long arg0, String arg1)
|
long
|
getUserCount(long arg0)
|
void
|
remove(User arg0)
|
BatchResult<String>
|
removeAllUsers(long arg0, Set<String> arg1)
|
void
|
removeAttribute(User arg0, String arg1)
|
User
|
rename(User arg0, String arg1)
|
<T>
List<T>
|
search(long arg0, EntityQuery<T> arg1)
|
void
|
setAttributeForAllInDirectory(long arg0, String arg1, String arg2)
|
void
|
storeAttributes(User arg0, Map<String, Set<String>> arg1)
|
User
|
update(User arg0)
|
void
|
updateCredential(User arg0, PasswordCredential arg1, int arg2)
|
|