package org.sagebionetworks.dashboard.service;

public class AccessRecordService {

    public void update() {
        // TODO Auto-generated method stub
        
    }

}

@@ -45,122 +45,654 @@
 e;%0A%0A
-public class AccessRecordService %7B%0A%0A    public void update() %7B%0A        // TODO Auto-generated method stub%0A        
+import javax.annotation.Resource;%0A%0Aimport org.sagebionetworks.dashboard.dao.AccessRecordDao;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0Aimport org.springframework.stereotype.Service;%0A%0A@Service(%22accessRecordService%22)%0Apublic class AccessRecordService %7B%0A%0A    private final Logger logger = LoggerFactory.getLogger(RawAccessRecordService.class);%0A%0A    @Resource%0A    private AccessRecordDao accessRecordDao;%0A%0A    public void update() %7B%0A        // insert new raw records into access_record table%0A        %0A        // vacuum%0A        %0A        // select 1000 null entityId records to update%0A        // for each record, update the entityId field
 %0A   

update AccessRecordService