|
||||||||||
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
public class UserUtilImpl
This is the default implementation of the UserUtil interface.
Constructor Summary | |
---|---|
UserUtilImpl(IssueSecurityLevelManager issueSecurityLevelManager)
|
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. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserUtilImpl(IssueSecurityLevelManager issueSecurityLevelManager)
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |