// Get information about a survey that was received.
 public TransactionLogVO getSurveyReceived(String surveyId) throws MSMApplicationException {
   Collection<TransactionLogVO> c =
       transactionlogManager.findTransactionLogBySurveyId(
           TransactionLogVO.TYPE_RECEIVE_SURVEY, surveyId, TransactionLogVO.STATUS_SUCCESS, null);
   TransactionLogVO t = new TransactionLogVO();
   if (c.iterator().hasNext()) {
     t = (TransactionLogVO) c.iterator().next();
     return t;
   } else {
     return null;
   }
 }
 public Collection<TransactionLogVO> getResultReceived(String surveyId, String resultId)
     throws MSMApplicationException {
   return transactionlogManager.findTransactionLogBySurveyId(
       TransactionLogVO.TYPE_RECEIVE_RESULT, surveyId,
       TransactionLogVO.STATUS_SUCCESS, resultId);
 }