public class GlobalUserPreferencesUtilImpl extends Object implements GlobalUserPreferencesUtil
| Constructor and Description |
|---|
GlobalUserPreferencesUtilImpl(OfBizDelegator ofBizDelegator,
UserPreferencesManager userPreferencesManager) |
| Modifier and Type | Method and Description |
|---|---|
long |
getTotalUpdateUserCountMailMimeType(String mimetype)
Returns a count of all user entries that will have their mail settings changed.
|
void |
updateUserMailMimetypePreference(String mimetype)
This is used to update all users mimetype mail preference.
|
public GlobalUserPreferencesUtilImpl(OfBizDelegator ofBizDelegator, UserPreferencesManager userPreferencesManager)
public long getTotalUpdateUserCountMailMimeType(String mimetype)
GlobalUserPreferencesUtilgetTotalUpdateUserCountMailMimeType in interface GlobalUserPreferencesUtilmimetype - either 'text' or 'html'public void updateUserMailMimetypePreference(String mimetype) throws org.ofbiz.core.entity.GenericEntityException
GlobalUserPreferencesUtilupdateUserMailMimetypePreference in interface GlobalUserPreferencesUtilmimetype - The new mimetype to useorg.ofbiz.core.entity.GenericEntityExceptionCopyright © 2002-2021 Atlassian. All Rights Reserved.