@Repository public class JpaResourceSetRepository extends Object implements ResourceSetRepository
| Constructor and Description |
|---|
JpaResourceSetRepository() |
| Modifier and Type | Method and Description |
|---|---|
Collection<ResourceSet> |
getAll() |
Collection<ResourceSet> |
getAllForClient(String clientId) |
Collection<ResourceSet> |
getAllForOwner(String owner) |
Collection<ResourceSet> |
getAllForOwnerAndClient(String owner,
String clientId) |
ResourceSet |
getById(Long id) |
void |
remove(ResourceSet rs) |
ResourceSet |
save(ResourceSet rs) |
public JpaResourceSetRepository()
@Transactional(value="defaultTransactionManager") public ResourceSet save(ResourceSet rs)
save in interface ResourceSetRepositorypublic ResourceSet getById(Long id)
getById in interface ResourceSetRepository@Transactional(value="defaultTransactionManager") public void remove(ResourceSet rs)
remove in interface ResourceSetRepositorypublic Collection<ResourceSet> getAllForOwner(String owner)
getAllForOwner in interface ResourceSetRepositorypublic Collection<ResourceSet> getAllForOwnerAndClient(String owner, String clientId)
getAllForOwnerAndClient in interface ResourceSetRepositorypublic Collection<ResourceSet> getAll()
getAll in interface ResourceSetRepositorypublic Collection<ResourceSet> getAllForClient(String clientId)
getAllForClient in interface ResourceSetRepositoryCopyright © 2018. All rights reserved.