public interface SubscriptionRepository
Modifier and Type | Method and Description |
---|---|
void |
delete(Subscription subscription)
Deletes given subscription from subscription repository
|
List<Subscription> |
findAll()
Obtains all the existing subscriptions
|
Subscription |
findOne(String tenantId)
Retrieves subscription data for a given tenant
|
void |
save(Subscription subscription)
Saves given subscription to subscription repository
|
@Nonnull List<Subscription> findAll()
@Nullable Subscription findOne(@Nonnull String tenantId)
tenantId
- tenant id to retrieve subscription data forvoid save(@Nonnull Subscription subscription)
subscription
- subscription object to savevoid delete(@Nonnull Subscription subscription)
subscription
- subscription object to deleteCopyright © 2019 SAP SE. All rights reserved.