public interface PartyPreferenceService
| Modifier and Type | Method and Description |
|---|---|
void |
addOrUpdatePreference(org.squashtest.tm.domain.users.Party party,
String preferenceKey,
String preferenceValue)
Add a
PartyPreference for the given party and the given key, with the given value. |
void |
addOrUpdatePreferenceForCurrentUser(String preferenceKey,
String preferenceValue)
Add a
PartyPreference for the current user and the given key, with the given value. |
void |
chooseFavoriteDashboardAsHomeContentForCurrentUser() |
void |
chooseWelcomeMessageAsHomeContentForCurrentUser() |
org.squashtest.tm.domain.users.PartyPreference |
findPreference(org.squashtest.tm.domain.users.Party party,
String preferenceKey)
Find a
PartyPreference for a given party and a key |
org.squashtest.tm.domain.users.PartyPreference |
findPreferenceForCurrentUser(String preferenceKey)
Find a
PartyPreference for a given key and for the current user |
Map<String,String> |
findPreferences(org.squashtest.tm.domain.users.Party party)
Find all
PartyPreference for a given party |
Map<String,String> |
findPreferencesForCurrentUser()
Find all
PartyPreference for the current user |
org.squashtest.tm.domain.users.PartyPreference findPreference(org.squashtest.tm.domain.users.Party party,
String preferenceKey)
PartyPreference for a given party and a keyparty - preferenceKey - Map<String,String> findPreferences(org.squashtest.tm.domain.users.Party party)
PartyPreference for a given partyparty - org.squashtest.tm.domain.users.PartyPreference findPreferenceForCurrentUser(String preferenceKey)
PartyPreference for a given key and for the current userpreferenceKey - Map<String,String> findPreferencesForCurrentUser()
PartyPreference for the current uservoid addOrUpdatePreference(org.squashtest.tm.domain.users.Party party,
String preferenceKey,
String preferenceValue)
PartyPreference for the given party and the given key, with the given value. If the pref doesn't
exist in db, it will create and persit it. Otherwise it update itparty - preferenceKey - preferenceValue - void addOrUpdatePreferenceForCurrentUser(String preferenceKey, String preferenceValue)
PartyPreference for the current user and the given key, with the given value. If the pref doesn't
exist in db, it will create and persit it. Otherwise it update itpreferenceKey - preferenceValue - void chooseWelcomeMessageAsHomeContentForCurrentUser()
void chooseFavoriteDashboardAsHomeContentForCurrentUser()
Copyright © 2010–2017 Henix, henix.fr. All rights reserved.