@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 ResourceSetRepository
public ResourceSet getById(Long id)
getById
in interface ResourceSetRepository
@Transactional(value="defaultTransactionManager") public void remove(ResourceSet rs)
remove
in interface ResourceSetRepository
public Collection<ResourceSet> getAllForOwner(String owner)
getAllForOwner
in interface ResourceSetRepository
public Collection<ResourceSet> getAllForOwnerAndClient(String owner, String clientId)
getAllForOwnerAndClient
in interface ResourceSetRepository
public Collection<ResourceSet> getAll()
getAll
in interface ResourceSetRepository
public Collection<ResourceSet> getAllForClient(String clientId)
getAllForClient
in interface ResourceSetRepository
Copyright © 2018. All rights reserved.