public interface LicensingSummaryDao
LicensingSummary
Modifier and Type | Method and Description |
---|---|
void |
activate(LicensingSummary licensingSummary)
Marks current version as an active one and deletes all other versions.
|
Optional<LicensingSummary> |
findByApplication(Application application,
ApplicationSubtype applicationSubtype) |
List<LicensingSummary> |
findByApplication(Application application,
Long version) |
LicensingSummary |
findById(Long id) |
Optional<LicensingSummary> |
getLatestLicensingSummary(Application application) |
Optional<LicensingSummary> |
getLicensingSummaryByVersion(Application application,
ApplicationSubtype applicationSubtype,
long version) |
void |
removeByApplicationId(Long id) |
void |
saveAfterCleanup(LicensingSummary licensingSummary) |
LicensingSummary findById(Long id) throws ObjectNotFoundException
ObjectNotFoundException
Optional<LicensingSummary> getLicensingSummaryByVersion(Application application, ApplicationSubtype applicationSubtype, long version)
Optional<LicensingSummary> findByApplication(Application application, ApplicationSubtype applicationSubtype)
Optional<LicensingSummary> getLatestLicensingSummary(Application application)
List<LicensingSummary> findByApplication(Application application, Long version)
void saveAfterCleanup(LicensingSummary licensingSummary)
void activate(LicensingSummary licensingSummary)
void removeByApplicationId(Long id)
Copyright © 2020 Atlassian. All rights reserved.