|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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.
| Field Summary | |
|---|---|
static String |
ENTITY_NAME_OS_USER
Name of the os user entity referenced in the entitymodel.xml |
| Constructor Summary | |
|---|---|
GlobalUserPreferencesUtilImpl(OfBizDelegator ofBizDelegator,
UserManager userManager)
|
|
| 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)
Deprecated. do not use this, it is only for old data and will not work properly once Crowd integration is turned on |
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 |
| Field Detail |
|---|
public static final String ENTITY_NAME_OS_USER
| Constructor Detail |
|---|
public GlobalUserPreferencesUtilImpl(OfBizDelegator ofBizDelegator,
UserManager userManager)
| Method Detail |
|---|
public long getTotalUpdateUserCountMailMimeType(String mimetype)
GlobalUserPreferencesUtil
getTotalUpdateUserCountMailMimeType in interface GlobalUserPreferencesUtilmimetype - either 'text' or 'html'
public void updateUserMailMimetypePreference(String mimetype)
throws org.ofbiz.core.entity.GenericEntityException
GlobalUserPreferencesUtil
updateUserMailMimetypePreference in interface GlobalUserPreferencesUtilmimetype - The new mimetype to use
org.ofbiz.core.entity.GenericEntityExceptionpublic long getUserLocalePreferenceCount(String localeCode)
getUserLocalePreferenceCount in interface GlobalUserPreferencesUtilpublic Collection getUserLocalePreferenceList(String localeCode)
getUserLocalePreferenceList in interface GlobalUserPreferencesUtil
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||