@Repository(value="jpaSystemScopeRepository") public class JpaSystemScopeRepository extends Object implements SystemScopeRepository
Constructor and Description |
---|
JpaSystemScopeRepository() |
Modifier and Type | Method and Description |
---|---|
Set<SystemScope> |
getAll() |
SystemScope |
getById(Long id) |
SystemScope |
getByValue(String value) |
void |
remove(SystemScope scope) |
SystemScope |
save(SystemScope scope) |
public JpaSystemScopeRepository()
@Transactional(value="defaultTransactionManager") public Set<SystemScope> getAll()
getAll
in interface SystemScopeRepository
@Transactional(value="defaultTransactionManager") public SystemScope getById(Long id)
getById
in interface SystemScopeRepository
@Transactional(value="defaultTransactionManager") public SystemScope getByValue(String value)
getByValue
in interface SystemScopeRepository
@Transactional(value="defaultTransactionManager") public void remove(SystemScope scope)
remove
in interface SystemScopeRepository
@Transactional(value="defaultTransactionManager") public SystemScope save(SystemScope scope)
save
in interface SystemScopeRepository
Copyright © 2018. All rights reserved.