public class NewsDaoImpl extends Object implements NewsDao
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
NewsDaoImpl() |
Modifier and Type | Method and Description |
---|---|
NewsSource |
delete(NewsSource newsSource)
deletes a NewsSource object from the data store
|
List<? extends NewsSource> |
findAllActiveNewsSources() |
List<? extends NewsSource> |
findAllActiveNewsSources(Long parentId) |
List<? extends NewsSource> |
findAllNewsSources() |
List<? extends NewsSource> |
findAllNewsSources(Long parentId) |
List<? extends NewsSource> |
findNewsSources(Long parentId,
Boolean isActive) |
org.springframework.context.ApplicationContext |
getApplicationContext() |
NewsCache |
getCache() |
DataMapper |
getMapper() |
String |
getNewsMappingFile() |
String |
getNewsMappingUrl() |
String |
getNewsSourceFile() |
String |
getNewsSourceUrl() |
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 |
setMapper(DataMapper mapper) |
void |
setNewsMappingFile(String newsMappingFile) |
void |
setNewsMappingUrl(String newsMappingUrl) |
void |
setNewsSourceFile(String newsSourceFile) |
void |
setNewsSourceUrl(String newsSourceUrl) |
public static final org.slf4j.Logger LOG
public NewsDaoImpl()
public List<? extends NewsSource> findNewsSources(Long parentId, Boolean isActive)
findNewsSources
in interface NewsDao
public List<? extends NewsSource> findAllActiveNewsSources()
findAllActiveNewsSources
in interface NewsDao
public List<? extends NewsSource> findAllActiveNewsSources(Long parentId)
findAllActiveNewsSources
in interface NewsDao
public List<? extends NewsSource> findAllNewsSources()
findAllNewsSources
in interface NewsDao
public List<? extends NewsSource> findAllNewsSources(Long parentId)
findAllNewsSources
in interface NewsDao
public NewsSource lookup(Long id)
public NewsSource save(NewsSource newsSource)
NewsDao
public NewsSource delete(NewsSource newsSource)
NewsDao
public org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
public DataMapper getMapper()
public void setMapper(DataMapper mapper)
public String getNewsSourceFile()
public void setNewsSourceFile(String newsSourceFile)
public String getNewsSourceUrl()
public void setNewsSourceUrl(String newsSourceUrl)
public String getNewsMappingFile()
public void setNewsMappingFile(String newsMappingFile)
public String getNewsMappingUrl()
public void setNewsMappingUrl(String newsMappingUrl)
Copyright © 2011–2014 The Kuali Foundation. All rights reserved.