Package no.priv.bang.ukelonn
Interface UkelonnService
public interface UkelonnService
This is the service exposed by the ukelonn.bundle
after it gets all of its injections, and activates.
The plan is to make this interface a place to access various
aspects of the web application, e.g. JDBC storage.
- Author:
- Steinar Bang
-
Method Summary
Modifier and TypeMethodDescriptionaddAccount(User user) createBonus(Bonus newBonus) createJobtype(TransactionType jobtype) createPaymenttype(TransactionType paymenttype) deleteBonus(Bonus removedBonus) deleteJobsFromAccount(int accountId, List<Integer> idsOfJobsToDelete) displayTexts(Locale locale) earningsSumOverMonth(String username) earningsSumOverYear(String username) getAccount(String username) getJobs(int accountId, int pageNumber, int pageSize) org.osgi.service.log.LogServicegetPayments(int accountId, int pageNumber, int pageSize) modifyBonus(Bonus updatedBonus) modifyJobtype(TransactionType jobtype) modifyPaymenttype(TransactionType paymenttype) notificationsTo(String username) voidnotificationTo(String username, Notification notification) registerPayment(PerformedTransaction payment) updateJob(UpdatedTransaction editedJob)
-
Method Details
-
getMessage
String getMessage() -
getDataSource
DataSource getDataSource() -
getLogservice
org.osgi.service.log.LogService getLogservice() -
getAccounts
-
getAccount
-
registerPerformedJob
-
updateJob
-
getJobTypes
List<TransactionType> getJobTypes() -
getJobs
-
deleteJobsFromAccount
-
getPayments
-
getPaymenttypes
List<TransactionType> getPaymenttypes() -
registerPayment
-
modifyJobtype
-
createJobtype
-
modifyPaymenttype
-
createPaymenttype
-
addAccount
-
notificationsTo
-
notificationTo
-
earningsSumOverYear
-
earningsSumOverMonth
-
getActiveBonuses
-
getAllBonuses
-
createBonus
-
modifyBonus
-
deleteBonus
-
defaultLocale
Locale defaultLocale() -
availableLocales
List<LocaleBean> availableLocales() -
displayTexts
-