|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.user.util.UserUtilImpl
This is the default implementation of the UserUtil interface.
Constructor Summary | |
UserUtilImpl(IssueSecurityLevelManager issueSecurityLevelManager,
UserManager userManager)
|
Method Summary | |
void |
addUserToGroup(Group group,
User userToAdd)
This is used to add a specified user to a specified group. |
void |
addUserToGroups(List groups,
User userToAdd)
This is used to add a user to many groups at once. |
long |
getUpdateUserMailMimetypePreferenceCount(String mimetype)
|
long |
getUserLocalePreferenceCount(String localeCode)
|
Collection |
getUserLocalePreferenceList(String localeCode)
|
void |
removeUserFromGroup(Group group,
User userToRemove)
This is used to remove a specified user from a specified group. |
void |
removeUserFromGroups(List groups,
User userToRemove)
This is used to remove a user from many groups at once. |
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 UserUtilImpl(IssueSecurityLevelManager issueSecurityLevelManager, UserManager userManager)
Method Detail |
public void addUserToGroup(Group group, User userToAdd) throws org.ofbiz.core.entity.GenericEntityException, IndexException
UserUtil
addUserToGroup
in interface UserUtil
group
- the group to add the user to.userToAdd
- the user to add to the group.
org.ofbiz.core.entity.GenericEntityException
IndexException
public void addUserToGroups(List groups, User userToAdd) throws org.ofbiz.core.entity.GenericEntityException, IndexException
UserUtil
addUserToGroups
in interface UserUtil
groups
- a list containing the groups to add the user to.userToAdd
- the user to add to the group.
org.ofbiz.core.entity.GenericEntityException
IndexException
public void removeUserFromGroup(Group group, User userToRemove) throws org.ofbiz.core.entity.GenericEntityException, IndexException
UserUtil
removeUserFromGroup
in interface UserUtil
group
- the group to add the user to.userToRemove
- the user to add to the group.
org.ofbiz.core.entity.GenericEntityException
IndexException
public void removeUserFromGroups(List groups, User userToRemove) throws org.ofbiz.core.entity.GenericEntityException, IndexException
UserUtil
removeUserFromGroups
in interface UserUtil
groups
- a list containing the groups to add the user to.userToRemove
- the user to add to the group.
org.ofbiz.core.entity.GenericEntityException
IndexException
public long getUpdateUserMailMimetypePreferenceCount(String mimetype) throws org.ofbiz.core.entity.GenericEntityException
getUpdateUserMailMimetypePreferenceCount
in interface UserUtil
org.ofbiz.core.entity.GenericEntityException
public void updateUserMailMimetypePreference(String mimetype) throws org.ofbiz.core.entity.GenericEntityException
UserUtil
updateUserMailMimetypePreference
in interface UserUtil
mimetype
-
org.ofbiz.core.entity.GenericEntityException
public long getUserLocalePreferenceCount(String localeCode)
getUserLocalePreferenceCount
in interface UserUtil
public Collection getUserLocalePreferenceList(String localeCode)
getUserLocalePreferenceList
in interface UserUtil
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |