XlatDetailVO detail, pinstance;
//TODO help: what is this doing?
for(Iterator i=items.iterator(); i.hasNext();){
detail = (XlatDetailVO) i.next();
pinstance = (XlatDetailVO) getHibernateTemplate().load(XlatDetailVO.class, detail.getLookupCodeId());
pinstance.setGroup(new XlatGroupVO(groupId));
pinstance.setLastModification(BaseConstants.UPDATED);
pinstance.setLastModifiedDate(new Date());
//TODO: what are we doing with the userId??????
getHibernateTemplate().update(pinstance);
}