public class UserServiceImpl extends AbstractKapuaConfigurableResourceLimitedService<User,UserCreator,UserService,UserListResult,UserQuery,UserFactory> implements UserService
UserService implementation.entityCache, 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 scopeId,
org.eclipse.kapua.model.id.KapuaId userId) |
User |
findByExternalId(java.lang.String externalId) |
User |
findByName(java.lang.String name) |
void |
onKapuaEvent(org.eclipse.kapua.event.ServiceEvent kapuaEvent) |
UserListResult |
query(org.eclipse.kapua.model.query.KapuaQuery<User> query) |
User |
update(User user) |
allowedChildEntities, allowedChildEntities, allowedChildEntities, getConfigValues, validateNewConfigValuesCoherencegetConfigMetadata, getConfigMetadata, getConfigValues, getConfigValues, isPropertyEnabled, setConfigValues, toValuesgetEntityManagerSession, isServiceEnabled, registerEventListenerpublic 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 scopeId, 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(java.lang.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(java.lang.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.KapuaExceptionpublic void onKapuaEvent(org.eclipse.kapua.event.ServiceEvent kapuaEvent)
throws org.eclipse.kapua.KapuaException
org.eclipse.kapua.KapuaExceptionCopyright © 2020 Eclipse.org. All rights reserved.