java.lang.Object | |
↳ | com.atlassian.jira.bc.user.CreateUserApplicationHelper |
@Internal
classes and interfaces can not expect to be compatible with any version
other than the version they were compiled against (even minor version and milestone releases may break binary
compatibility with respect to @Internal
elements).
Create User Application helper class.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CreateUserApplicationHelper.ValidationFunction |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check if given user can login to JIRA.
| |||||||||||
Return the
ApplicationSelection calculated from the current state of JIRA. | |||||||||||
Return the
ApplicationSelection calculated from the current state of JIRA for given (@code ApplicationUser). | |||||||||||
Get the default groups of the specified applications that should be used during user creation.
| |||||||||||
Return the list of
com.atlassian.jira.bc.user.GroupView connected with the given user. | |||||||||||
Validates if creating a user with given application access in given directory won't exceed license limit
| |||||||||||
Validates if adding a user with given application access to given applications won't exceed license limit
| |||||||||||
Validates if creating a user with given application access in given directory won't cause issues defined in
UserApplicationHelper.ValidationScope | |||||||||||
Validates if creating a user with default application access in given directory won't exceed license limit
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Check if given user can login to JIRA. Return true if user has any role or has admin/sysadmin privileges
applicationUser | given user |
---|
Return the ApplicationSelection
calculated from the current state of JIRA. The passed
applications are marked as selected (if they exist). The returned list will be ordered based on the Application
name except that JIRA Core will be returned last (if it exists).
selectedApplicationKeys | the set of application keys to mark as selected. |
---|---|
directoryId | optional directoryId to use for application selection |
ApplicationSelection
ordered by their name except that JIRA Core is always
last.
Return the ApplicationSelection
calculated from the current state of JIRA for given (@code ApplicationUser).
user | subject application user to get applications for. |
---|
ApplicationSelection
ordered by their name except that JIRA Core is always
last.
Get the default groups of the specified applications that should be used during user creation. The default groups of an application is only returned if the application license permits that a new user can be added to the application.
This method is dark ages compatible (pre renaissance) in that if would return the 'JIRA Users' global permissions groups if the license permits a new user.
applicationKeys | the keys that indicate what application access a user requires. This is ignored when in
dark ages mode (pre renaissance) ApplicationRoleManager#rolesEnabled() . |
---|
Return the list of com.atlassian.jira.bc.user.GroupView
connected with the given user.
It respects nested groups.
applicationUser | the user |
---|
com.atlassian.jira.bc.user.GroupView
Validates if creating a user with given application access in given directory won't exceed license limit
directoryId | the Directory ID, or empty() if default directory should be checked |
---|---|
applicationKeys | validated application keys |
Validates if adding a user with given application access to given applications won't exceed license limit
user | validated user |
---|---|
applicationKeys | validated application keys |
Validates if creating a user with given application access in given directory won't cause issues defined in UserApplicationHelper.ValidationScope
directoryId | the Directory ID, or empty() if default directory should be checked |
---|---|
applicationKeys | validated application keys |
validationScope | required validation scope |
Validates if creating a user with default application access in given directory won't exceed license limit
directoryId | the Directory ID, or empty() if default directory should be checked |
---|