public class UserServiceImpl extends PersistedServiceImpl implements UserService
mongoConnection| Constructor and Description |
|---|
UserServiceImpl(MongoConnection mongoConnection,
Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
User |
create() |
User |
getAdminUser() |
User |
load(String username) |
List<User> |
loadAll() |
<T extends Persisted> |
save(T model) |
User |
syncFromLdapEntry(LdapEntry userEntry,
LdapSettings ldapSettings,
String username) |
void |
updateFromLdap(User user,
LdapEntry userEntry,
LdapSettings ldapSettings,
String username) |
collection, collection, count, count, cursorToList, destroy, destroy, destroyAll, destroyAll, destroyAll, embed, findOne, findOne, findOne, findOne, get, get, get, query, query, query, query, query, removeEmbedded, removeEmbedded, saveWithoutValidation, totalCount, totalCount, validate, validate, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, destroyAll, saveWithoutValidation, validate, validate, validate@Inject public UserServiceImpl(MongoConnection mongoConnection, Configuration configuration)
public User load(String username)
load in interface UserServicepublic User create()
create in interface UserServicepublic List<User> loadAll()
loadAll in interface UserServicepublic User syncFromLdapEntry(LdapEntry userEntry, LdapSettings ldapSettings, String username)
syncFromLdapEntry in interface UserServicepublic void updateFromLdap(User user, LdapEntry userEntry, LdapSettings ldapSettings, String username)
updateFromLdap in interface UserServicepublic <T extends Persisted> String save(T model) throws ValidationException
save in interface PersistedServicesave in class PersistedServiceImplValidationExceptionpublic User getAdminUser()
getAdminUser in interface UserServiceCopyright © 2012–2014 TORCH GmbH. All rights reserved.