Interface LicensingSummaryDao
- All Known Implementing Classes:
LicensingSummaryDaoHibernate
public interface LicensingSummaryDao
Data access object for
LicensingSummary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activate
(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) void
void
saveAfterCleanup
(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
-