@@ -0,0 +1,1023 @@
+package com.svs.service;%0D%0A%0D%0Aimport java.util.Date;%0D%0Aimport java.util.List;%0D%0A%0D%0Aimport org.springframework.beans.factory.annotation.Autowired;%0D%0Aimport org.springframework.stereotype.Component;%0D%0A%0D%0Aimport com.svs.dataaccess.PersistenceDao;%0D%0Aimport com.svs.domain.Tweet;%0D%0Aimport com.svs.domain.User;%0D%0A%0D%0A@Component%0D%0Apublic class TwitterService %7B%0D%0A%0D%0A%09private PersistenceDao persistenceDao;%0D%0A%09%0D%0A%09@Autowired%0D%0A%09public TwitterService(PersistenceDao persistenceDao) %7B%0D%0A%09%09this.persistenceDao = persistenceDao;%0D%0A%09%7D%0D%0A%09%0D%0A%09public List%3CTweet%3E getTweetList()%7B%0D%0A%09%09return this.persistenceDao.getTweetList();%0D%0A%09%7D%0D%0A%09%0D%0A%09public void saveTweet(String content, String username)%7B%0D%0A%09%09this.persistenceDao.saveTweet(content, username);%0D%0A%09%7D%0D%0A%09%0D%0A%09public List%3CTweet%3E getTweetListDate(Date d)%7B%0D%0A%09%09%0D%0A%09%09return this.persistenceDao.getTweetListDate(d);%0D%0A%09%7D%0D%0A%09%0D%0A%09public List%3CTweet%3E getTweetByUser(User u)%7B%0D%0A%09%09return this.persistenceDao.getTweetByUser(u);%0D%0A%09%7D%0D%0A%0D%0A%09public Tweet getTweetByID(Long id) %7B%0D%0A%09%09return this.persistenceDao.getTweetByID(id);%0D%0A%09%09%0D%0A%09%7D%0D%0A%09%0D%0A%7D%0D%0A

should separate this!