Interface LicensingSummaryDao
public interface LicensingSummaryDao
Data access object for
LicensingSummary-
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(LicensingSummary licensingSummary) Marks current version as an active one and deletes all other versions.findByApplication(Application application, ApplicationSubtype applicationSubtype) findByApplication(Application application, Long version) getLatestLicensingSummary(Application application) getLicensingSummaryByVersion(Application application, ApplicationSubtype applicationSubtype, long version) voidvoidsaveAfterCleanup(LicensingSummary licensingSummary)
-
Method Details
-
findById
- Throws:
ObjectNotFoundException
-
getLicensingSummaryByVersion
Optional<LicensingSummary> getLicensingSummaryByVersion(Application application, ApplicationSubtype applicationSubtype, long version) -
findByApplication
Optional<LicensingSummary> findByApplication(Application application, ApplicationSubtype applicationSubtype) -
getLatestLicensingSummary
-
findByApplication
-
saveAfterCleanup
-
activate
Marks current version as an active one and deletes all other versions. -
removeByApplicationId
-