|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.user.util.GlobalUserPreferencesUtilImpl
public class GlobalUserPreferencesUtilImpl
This class provides methods for counting both internal users and external users (if external user mgmt is enabled) It also provides methods for updating global preferences.
Constructor Summary | |
---|---|
GlobalUserPreferencesUtilImpl(OfBizDelegator ofBizDelegator,
UserPreferencesManager userPreferencesManager)
|
Method Summary | |
---|---|
long |
getTotalUpdateUserCountMailMimeType(String mimetype)
Returns a count of all user entries that will have their mail settings changed. |
long |
getUserLocalePreferenceCount(String localeCode)
|
Collection |
getUserLocalePreferenceList(String localeCode)
Retrieve a list of usernames that have selected the specified locale in the user preferences |
void |
updateUserMailMimetypePreference(String mimetype)
This is used to update all users mimetype mail preference. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobalUserPreferencesUtilImpl(OfBizDelegator ofBizDelegator, UserPreferencesManager userPreferencesManager)
Method Detail |
---|
public long getTotalUpdateUserCountMailMimeType(String mimetype)
GlobalUserPreferencesUtil
getTotalUpdateUserCountMailMimeType
in interface GlobalUserPreferencesUtil
mimetype
- either 'text' or 'html'
public void updateUserMailMimetypePreference(String mimetype) throws org.ofbiz.core.entity.GenericEntityException
GlobalUserPreferencesUtil
updateUserMailMimetypePreference
in interface GlobalUserPreferencesUtil
mimetype
- The new mimetype to use
org.ofbiz.core.entity.GenericEntityException
public long getUserLocalePreferenceCount(String localeCode)
getUserLocalePreferenceCount
in interface GlobalUserPreferencesUtil
public Collection getUserLocalePreferenceList(String localeCode)
getUserLocalePreferenceList
in interface GlobalUserPreferencesUtil
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |