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