public class UserServiceImpl extends AbstractKapuaConfigurableResourceLimitedService<User,UserCreator,UserService,UserListResult,UserQuery,UserFactory> implements UserService
entityManagerFactory, entityManagerSession| Constructor and Description |
|---|
UserServiceImpl()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
long |
count(org.eclipse.kapua.model.query.KapuaQuery<User> query) |
User |
create(UserCreator userCreator) |
void |
delete(org.eclipse.kapua.model.id.KapuaId scopeId,
org.eclipse.kapua.model.id.KapuaId userId) |
void |
delete(User user) |
User |
find(org.eclipse.kapua.model.id.KapuaId accountId,
org.eclipse.kapua.model.id.KapuaId userId) |
User |
findByExternalId(String externalId) |
User |
findByName(String name) |
UserListResult |
query(org.eclipse.kapua.model.query.KapuaQuery<User> query) |
User |
update(User user) |
allowedChildEntities, allowedChildEntities, allowedChildEntities, getConfigValues, validateNewConfigValuesCoherencegetConfigMetadata, getConfigValues, setConfigValues, toValuespublic User create(UserCreator userCreator) throws org.eclipse.kapua.KapuaException
create in interface org.eclipse.kapua.service.KapuaEntityService<User,UserCreator>create in interface UserServiceorg.eclipse.kapua.KapuaExceptionpublic User update(User user) throws org.eclipse.kapua.KapuaException
update in interface org.eclipse.kapua.service.KapuaUpdatableEntityService<User>update in interface UserServiceorg.eclipse.kapua.KapuaExceptionpublic void delete(org.eclipse.kapua.model.id.KapuaId scopeId,
org.eclipse.kapua.model.id.KapuaId userId)
throws org.eclipse.kapua.KapuaException
delete in interface org.eclipse.kapua.service.KapuaEntityService<User,UserCreator>org.eclipse.kapua.KapuaExceptionpublic void delete(User user) throws org.eclipse.kapua.KapuaException
delete in interface UserServiceorg.eclipse.kapua.KapuaExceptionpublic User find(org.eclipse.kapua.model.id.KapuaId accountId, org.eclipse.kapua.model.id.KapuaId userId) throws org.eclipse.kapua.KapuaException
find in interface org.eclipse.kapua.service.KapuaEntityService<User,UserCreator>find in interface UserServiceorg.eclipse.kapua.KapuaExceptionpublic User findByName(String name) throws org.eclipse.kapua.KapuaException
findByName in interface org.eclipse.kapua.service.KapuaNamedEntityService<User>findByName in interface UserServiceorg.eclipse.kapua.KapuaExceptionpublic User findByExternalId(String externalId) throws org.eclipse.kapua.KapuaException
findByExternalId in interface UserServiceorg.eclipse.kapua.KapuaExceptionpublic UserListResult query(org.eclipse.kapua.model.query.KapuaQuery<User> query) throws org.eclipse.kapua.KapuaException
query in interface org.eclipse.kapua.service.KapuaEntityService<User,UserCreator>query in interface UserServiceorg.eclipse.kapua.KapuaExceptionpublic long count(org.eclipse.kapua.model.query.KapuaQuery<User> query) throws org.eclipse.kapua.KapuaException
count in interface org.eclipse.kapua.service.KapuaEntityService<User,UserCreator>org.eclipse.kapua.KapuaExceptionCopyright © 2017 Eclipse.org. All rights reserved.