Class 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)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PermissionService

        public PermissionService​(com.caplin.ret.trapi.admin.AdminService adminService)
    • Method Detail

      • 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)