| | |
| | | if (columnIndex == Columns.Permission.ordinal()) {
|
| | | return AccessPermission.class;
|
| | | } else if (columnIndex == Columns.Type.ordinal()) {
|
| | | return Boolean.class;
|
| | | return RegistrantAccessPermission.class;
|
| | | }
|
| | | return String.class;
|
| | | }
|
| | |
| | | // and therefore can not be directly manipulated unless the current
|
| | | // object is the source of the regex (i.e. a user or team with explicit
|
| | | // regex definition)
|
| | | return permissions.get(rowIndex).isEditable;
|
| | | return permissions.get(rowIndex).mutable;
|
| | | }
|
| | | return false;
|
| | | }
|
| | |
| | | case Registrant:
|
| | | return rp.registrant;
|
| | | case Type:
|
| | | return rp.permissionType;
|
| | | return rp;
|
| | | case Permission:
|
| | | return rp.permission;
|
| | | }
|