class FileConnection implements ObjectStoreConnection {

    @Override
    public List<RoleMember> listRoleMembers(String domainName, String roleName, Boolean pending) {

        final String caller = "listRoleMembers";
        DomainStruct domainStruct = getDomainStruct(domainName);
        if (domainStruct == null) {
            throw ZMSUtils.error(ResourceException.NOT_FOUND, "domain not found", caller);
        }
        Role role = getRoleObject(domainStruct, roleName, pending);
        if (role == null) {
            throw ZMSUtils.error(ResourceException.NOT_FOUND, "role not found", caller);
        }
        return role.getRoleMembers();
    }

    public  FileConnection(File rootDir, File quotaDir);

}