Revision b1dff3fa
Add the listAccessRules() method to pull data from the xml_access table and populate the AccessPolicy. Use the new AccessRuleMapper inner class to due the mapping between row results and AccessRule fields. Cleanup: throw SQLException rather than DataAccessException in the various private list* methods to conform to the PreparedStatementCreator exception handling. Add in the convertPermission() method, which converts from integer-based perms (internal to Metacat), to DataONE Permission constants.
Files
- added
- modified
- copied
- renamed
- deleted