| | |
| | | @Resource |
| | | private ResourceVideoDao resourceVideoDao; |
| | | |
| | | public PushService getPushService() { |
| | | return pushService; |
| | | } |
| | | |
| | | public void setPushService(PushService pushService) { |
| | | this.pushService = pushService; |
| | | } |
| | | |
| | | public StatisticsService getStatisticsService() { |
| | | return statisticsService; |
| | | } |
| | | |
| | | public void setStatisticsService(StatisticsService statisticsService) { |
| | | this.statisticsService = statisticsService; |
| | | } |
| | | |
| | | public VideoIqiyiDao getVideoIqiyiDao() { |
| | | return videoIqiyiDao; |
| | | } |
| | | |
| | | public void setVideoIqiyiDao(VideoIqiyiDao videoIqiyiDao) { |
| | | this.videoIqiyiDao = videoIqiyiDao; |
| | | } |
| | | |
| | | public IqiyiVideoInfoDao getIqiyiVideoInfoDao() { |
| | | return iqiyiVideoInfoDao; |
| | | } |
| | | |
| | | public void setIqiyiVideoInfoDao(IqiyiVideoInfoDao iqiyiVideoInfoDao) { |
| | | this.iqiyiVideoInfoDao = iqiyiVideoInfoDao; |
| | | } |
| | | |
| | | static { |
| | | // PropertyConfigurator.configure(".\\src\\log4j.properties"); |
| | |
| | | logger.error("saveVideoInfo"); |
| | | logger.error(e.getMessage()); |
| | | e.printStackTrace(); |
| | | if (session.getTransaction().isActive()) |
| | | session.getTransaction().rollback(); |
| | | } |
| | | return null; |
| | |
| | | } catch (Exception e) { |
| | | logger.error("insertAlbumToVideoInfo"); |
| | | logger.error(e.getMessage()); |
| | | if (session.getTransaction().isActive()) |
| | | session.getTransaction().rollback(); |
| | | e.printStackTrace(); |
| | | } |