@Component public final class PermissionSchemeBeansFactoryImpl extends Object implements PermissionSchemeBeansFactory
Constructor and Description |
---|
PermissionSchemeBeansFactoryImpl(SelfLinkBuilder selfLinkBuilder,
PermissionGrantBeanExpander expander,
I18nHelper i18n) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<ErrorCollection,Collection<PermissionGrantInput>> |
fromBean(List<PermissionGrantBean> permissions) |
com.atlassian.fugue.Either<ErrorCollection,PermissionGrantInput> |
fromBean(PermissionGrantBean grantBean) |
com.atlassian.fugue.Either<ErrorCollection,PermissionSchemeInput> |
fromBean(PermissionSchemeBean permissionScheme) |
PermissionGrantBean |
toBean(PermissionGrant permissionGrant,
Long schemeId,
List<PermissionSchemeExpandParam> expands) |
PermissionSchemeBean |
toBean(PermissionScheme scheme,
List<PermissionSchemeExpandParam> expands) |
@Autowired public PermissionSchemeBeansFactoryImpl(SelfLinkBuilder selfLinkBuilder, PermissionGrantBeanExpander expander, I18nHelper i18n)
public PermissionSchemeBean toBean(PermissionScheme scheme, List<PermissionSchemeExpandParam> expands)
toBean
in interface PermissionSchemeBeansFactory
public PermissionGrantBean toBean(PermissionGrant permissionGrant, Long schemeId, List<PermissionSchemeExpandParam> expands)
toBean
in interface PermissionSchemeBeansFactory
public com.atlassian.fugue.Either<ErrorCollection,PermissionSchemeInput> fromBean(PermissionSchemeBean permissionScheme)
fromBean
in interface PermissionSchemeBeansFactory
public com.atlassian.fugue.Either<ErrorCollection,Collection<PermissionGrantInput>> fromBean(List<PermissionGrantBean> permissions)
fromBean
in interface PermissionSchemeBeansFactory
public com.atlassian.fugue.Either<ErrorCollection,PermissionGrantInput> fromBean(PermissionGrantBean grantBean)
fromBean
in interface PermissionSchemeBeansFactory
Copyright © 2002-2015 Atlassian. All Rights Reserved.