@Repository public class NewsDaoDBImpl extends Object implements NewsDao
NewsDao| Modifier and Type | Field and Description | 
|---|---|
| static org.apache.log4j.Logger | LOG | 
| Constructor and Description | 
|---|
| NewsDaoDBImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| NewsSource | delete(NewsSource newsSource)deletes a NewsSource object from the data store | 
| List<NewsSource> | findAllActiveNewsSources() | 
| List<NewsSource> | findAllActiveNewsSources(Long parentId) | 
| List<NewsSource> | findAllNewsSources() | 
| List<NewsSource> | findAllNewsSources(Long parentId) | 
| List<NewsSource> | findNewsSources(Long parentId,
                              Boolean isActive) | 
| org.springframework.context.ApplicationContext | getApplicationContext() | 
| NewsCache | getCache() | 
| javax.persistence.EntityManager | getEntityManager() | 
| NewsSource | lookup(Long id) | 
| NewsSource | save(NewsSource newsSource)saves a NewsSource object to the data store | 
| void | setApplicationContext(org.springframework.context.ApplicationContext applicationContext) | 
| void | setCache(NewsCache cache) | 
| void | setEntityManager(javax.persistence.EntityManager entityManager) | 
public static org.apache.log4j.Logger LOG
public NewsDaoDBImpl()
@Transactional public List<NewsSource> findAllActiveNewsSources()
findAllActiveNewsSources in interface NewsDao@Transactional public List<NewsSource> findAllNewsSources()
findAllNewsSources in interface NewsDao@Transactional public NewsSource lookup(Long id)
@Transactional public NewsSource save(NewsSource newsSource)
NewsDao@Transactional public NewsSource delete(NewsSource newsSource)
NewsDaopublic org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
public List<NewsSource> findNewsSources(Long parentId, Boolean isActive)
findNewsSources in interface NewsDaopublic List<NewsSource> findAllActiveNewsSources(Long parentId)
findAllActiveNewsSources in interface NewsDaopublic List<NewsSource> findAllNewsSources(Long parentId)
findAllNewsSources in interface NewsDaoCopyright © 2011-2013 The Kuali Foundation. All Rights Reserved.