public interface UserDao
Modifier and Type | Method and Description |
---|---|
User |
getSimpleUserMappingConstructor(int id) |
List<User> |
getSimpleUsersWithMappingConstructor() |
User |
getUser(int id) |
List<User> |
getUsers() |
UserPermissionsResultSet |
getUserWithPermissions(int id) |
void |
saveUser(int id,
String name) |
User getUser(int id)
User getSimpleUserMappingConstructor(int id)
UserPermissionsResultSet getUserWithPermissions(int id)
@Transactional(isolation=SERIALIZABLE, rollbackFor={java.sql.SQLSyntaxErrorException.class,org.hsqldb.HsqlException.class}) void saveUser(int id, String name)
Copyright © 2015. All rights reserved.