private int updateCommitList(int resID, int reservID, int status)
    {
        int result = GridSimTags.AR_COMMIT_FAIL;
        ARObject data = searchBooking(resID, reservID);

        if (data != null)
        {
            if (status == GridSimTags.AR_COMMIT_SUCCESS)
            {
                data.setCommitted();
                data.setStatus(GridSimTags.AR_STATUS_NOT_STARTED);
                result = status;
            }
            else if (status == GridSimTags.AR_COMMIT_FAIL_EXPIRED)
            {
                data.setStatus(GridSimTags.AR_STATUS_EXPIRED);
                result = status;
            }
            else {
                data.setStatus(GridSimTags.AR_STATUS_ERROR);
            }
        }

        return result;
    }