public void addPermission ( String roleName , String capability ) { Permission permission = new Permission ( ) ; permission . setRoleName ( roleName ) ; permission . setCapability ( capability ) ; this . permissions . add ( permission ) ; }
adds a permission to this module