public class SecurityTypeValuesServiceImpl extends Object implements SecurityTypeValuesService
Constructor and Description |
---|
SecurityTypeValuesServiceImpl(GlobalPermissionManager globalPermissionManager,
PermissionTypeManager permissionTypeManager,
I18nHelper i18nHelper,
HelpUrls helpUrls) |
Modifier and Type | Method and Description |
---|---|
List<SecurityTypeBean> |
buildPrimarySecurityTypes(ApplicationUser user)
Given a user return primary security types returning their bean information
|
List<SecurityTypeBean> |
buildSecondarySecurityTypes(ApplicationUser user)
Given a user return secondary security types returning their bean information
|
void |
sort(List<SecurityTypeBean> grants)
Sorts the grants into a UI specific and consistent order
|
public SecurityTypeValuesServiceImpl(GlobalPermissionManager globalPermissionManager, PermissionTypeManager permissionTypeManager, I18nHelper i18nHelper, HelpUrls helpUrls)
public List<SecurityTypeBean> buildPrimarySecurityTypes(ApplicationUser user)
SecurityTypeValuesService
buildPrimarySecurityTypes
in interface SecurityTypeValuesService
user
- to get types forpublic List<SecurityTypeBean> buildSecondarySecurityTypes(ApplicationUser user)
SecurityTypeValuesService
buildSecondarySecurityTypes
in interface SecurityTypeValuesService
user
- to get types forpublic void sort(List<SecurityTypeBean> grants)
sort
in interface SecurityTypeValuesService
grants
- the list to sort inlineCopyright © 2002-2017 Atlassian. All Rights Reserved.