}
private void cleanup() throws YPersistenceException {
Role[] roles = _model.getRoles();
for (int i = 0; i < roles.length; i++) {
Role role = roles[i];
_model.deleteRole(role.getRoleName());
}
Resource[] resources = _model.getResources();
for (int i = 0; i < resources.length; i++) {
Resource resource = resources[i];
_model.deleteResource(resource.getRsrcID());