/**
  * @see org.kuali.rice.kns.lookup.LookupResultsService#persistSelectedObjectIds(java.lang.String,
  *     java.util.Set, java.lang.String)
  */
 @Override
 public void persistSelectedObjectIds(
     String lookupResultsSequenceNumber, Set<String> selectedObjectIds, String personId)
     throws Exception {
   SelectedObjectIds selectedObjectIdsBO = retrieveSelectedObjectIds(lookupResultsSequenceNumber);
   if (selectedObjectIdsBO == null) {
     selectedObjectIdsBO = new SelectedObjectIds();
     selectedObjectIdsBO.setLookupResultsSequenceNumber(lookupResultsSequenceNumber);
   }
   selectedObjectIdsBO.setLookupResultsSequenceNumber(lookupResultsSequenceNumber);
   selectedObjectIdsBO.setLookupPersonId(personId);
   selectedObjectIdsBO.setSelectedObjectIds(
       LookupUtils.convertSetOfObjectIdsToString(selectedObjectIds));
   selectedObjectIdsBO.setLookupDate(getDateTimeService().getCurrentTimestamp());
   getBusinessObjectService().save(selectedObjectIdsBO);
 }
 /**
  * This method converts the composite object IDs into a String
  *
  * @return
  */
 public String getCompositeSelectedObjectIds() {
   return LookupUtils.convertSetOfObjectIdsToString(getCompositeObjectIdMap().keySet());
 }