net.nemerosa.ontrack.model.preferences.PreferencesService.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ontrack-model Show documentation
Show all versions of ontrack-model Show documentation
Ontrack module: ontrack-model
package net.nemerosa.ontrack.model.preferences
import net.nemerosa.ontrack.model.security.Account
/**
* Access to the preferences of users.
*/
interface PreferencesService {
/**
* Gets the preferences of the [account].
*
* @param account Account to get the preferences for
* @return Account's preferences.
*/
fun getPreferences(account: Account): Preferences
/**
* Sets the preferences of the [account].
*
* @param account Account to set the preferences for
* @param preferences Account's preferences.
*/
fun setPreferences(account: Account, preferences: Preferences)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy