Class PermissionService
- java.lang.Object
-
- com.caplin.motif.fx.ret.common.permission.PermissionService
-
public class PermissionService extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PermissionService(com.caplin.ret.trapi.admin.AdminService adminService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
getPermission(java.lang.String retUser, admin.api.IConfigSetting configSetting)
java.util.List<SettlementAccount>
getUserAccounts(java.lang.String retUser)
boolean
isPermitted(java.lang.String retUser, admin.api.IConfigSetting configSetting)
boolean
isPermitted(java.lang.String retUser, com.caplin.ret.trapi.admin.AdminPermission permission)
-
-
-
Method Detail
-
getUserAccounts
public java.util.List<SettlementAccount> getUserAccounts(java.lang.String retUser) throws UserManagerException
- Throws:
UserManagerException
-
isPermitted
public boolean isPermitted(java.lang.String retUser, com.caplin.ret.trapi.admin.AdminPermission permission)
-
isPermitted
public boolean isPermitted(java.lang.String retUser, admin.api.IConfigSetting configSetting)
-
getPermission
public <T> T getPermission(java.lang.String retUser, admin.api.IConfigSetting configSetting)
-
-