class JDBCConnection implements ObjectStoreConnection {

    @Override
    public boolean deletePendingGroupMember(String domainName, String groupName, String principal,
                                           String admin, String auditRef) {

        final String caller = "deletePendingGroupMember";

        int domainId = getDomainId(domainName);
        if (domainId == 0) {
            throw notFoundError(caller, ZMSConsts.OBJECT_DOMAIN, domainName);
        }
        int groupId = getGroupId(domainId, groupName);
        if (groupId == 0) {
            throw notFoundError(caller, ZMSConsts.OBJECT_GROUP, ZMSUtils.groupResourceName(domainName, groupName));
        }
        int principalId = getPrincipalId(principal);
        if (principalId == 0) {
            throw notFoundError(caller, ZMSConsts.OBJECT_PRINCIPAL, principal);
        }
        return executeDeletePendingGroupMember(groupId, principalId, admin, principal, auditRef, true, caller);
    }

    public  JDBCConnection(Connection con, boolean autoCommit);

}