public static BatchPermission forName ( final String name ) { Assert . checkNotNullParam ( "name" , name ) ; return "*" . equals ( name ) ? allPermission : mapping . getItemByString ( name ) ; }
Get the permission with the given name .