final String hashTagName,
final SearchPeriods period,
final HttpServletRequest request)
throws EnMeNoResultsFoundException, EnMeSearchException {
// Check if the hashtag exists
final HashTag tag = this.getHashTag(hashTagName, true);
List tweetPollsByDateRange = new ArrayList();
List<Poll> pollsByDateRange = new ArrayList<Poll>();
List<Survey> surveysByDateRange = new ArrayList<Survey>();
List<ItemStatDetail> itemStatDetailByUsage = new ArrayList<ItemStatDetail>();
// If the tag exists then obtains the total
List<HashTagDetailStats> tagDetailStatsByTagName = new ArrayList<HashTagDetailStats>();
tweetPollsByDateRange = this.getTotalTweetPollUsageByHashTagAndDateRange(tag.getHashTag(),
period);
pollsByDateRange = this.getTotalPollUsageByHashTagAndDateRange(
tag.getHashTag(), period);
surveysByDateRange = this.getTotalSurveyUsageByHashTagAndDateRange(
tag.getHashTag(), period);
itemStatDetailByUsage.addAll(ConvertDomainBean.convertObjectTweetPollListToItemDetailBean(tweetPollsByDateRange));
itemStatDetailByUsage.addAll(ConvertDomainBean.convertPollListToItemDetailBean(pollsByDateRange));
itemStatDetailByUsage.addAll(ConvertDomainBean.convertSurveyListToItemDetailBean(surveysByDateRange));
tagDetailStatsByTagName = this.compareList(itemStatDetailByUsage,
period, request);