public interface ApprovedSiteRepository
| Modifier and Type | Method and Description |
|---|---|
Collection<ApprovedSite> |
getAll()
Return a collection of all ApprovedSites managed by this repository
|
Collection<ApprovedSite> |
getByClientId(String clientId)
Get all sites associated with this client
|
Collection<ApprovedSite> |
getByClientIdAndUserId(String clientId,
String userId)
Return a collection of ApprovedSite managed by this repository matching the
provided client ID and user ID
|
ApprovedSite |
getById(Long id)
Returns the ApprovedSite for the given id
|
Collection<ApprovedSite> |
getByUserId(String userId)
Get all sites approved by this user
|
void |
remove(ApprovedSite approvedSite)
Removes the given ApprovedSite from the repository
|
ApprovedSite |
save(ApprovedSite approvedSite)
Persists an ApprovedSite
|
ApprovedSite getById(Long id)
id - id the id of the ApprovedSiteCollection<ApprovedSite> getAll()
Collection<ApprovedSite> getByClientIdAndUserId(String clientId, String userId)
clientId - userId - void remove(ApprovedSite approvedSite)
aggregator - the ApprovedSite object to removeApprovedSite save(ApprovedSite approvedSite)
aggregator - valid ApprovedSite instanceCollection<ApprovedSite> getByUserId(String userId)
userId - Collection<ApprovedSite> getByClientId(String clientId)
clientId - Copyright © 2022. All rights reserved.