@Service @Primary public class DefaultResourceSetService extends Object implements ResourceSetService
| Constructor and Description |
|---|
DefaultResourceSetService() |
| Modifier and Type | Method and Description |
|---|---|
Collection<ResourceSet> |
getAllForClient(ClientDetailsEntity client) |
Collection<ResourceSet> |
getAllForOwner(String owner) |
Collection<ResourceSet> |
getAllForOwnerAndClient(String owner,
String clientId) |
ResourceSet |
getById(Long id) |
void |
remove(ResourceSet rs) |
ResourceSet |
saveNew(ResourceSet rs) |
ResourceSet |
update(ResourceSet oldRs,
ResourceSet newRs) |
public DefaultResourceSetService()
public ResourceSet saveNew(ResourceSet rs)
saveNew in interface ResourceSetServicepublic ResourceSet getById(Long id)
getById in interface ResourceSetServicepublic ResourceSet update(ResourceSet oldRs, ResourceSet newRs)
update in interface ResourceSetServicepublic void remove(ResourceSet rs)
remove in interface ResourceSetServicepublic Collection<ResourceSet> getAllForOwner(String owner)
getAllForOwner in interface ResourceSetServicepublic Collection<ResourceSet> getAllForOwnerAndClient(String owner, String clientId)
getAllForOwnerAndClient in interface ResourceSetServicepublic Collection<ResourceSet> getAllForClient(ClientDetailsEntity client)
getAllForClient in interface ResourceSetServiceCopyright © 2018. All rights reserved.