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)
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 useorg.ofbiz.core.entity.GenericEntityException
Copyright © 2002-2022 Atlassian. All Rights Reserved.