public interface NewsSource
Modifier and Type | Method and Description |
---|---|
void |
addChild(NewsSource child) |
List<? extends NewsArticle> |
getArticles() |
String |
getAuthor() |
List<? extends NewsSource> |
getChildren() |
String |
getDescription() |
Long |
getId() |
String |
getName() |
int |
getOrder() |
Long |
getParentId() |
String |
getTitle() |
String |
getUrl() |
boolean |
hasChildren() |
boolean |
isActive() |
void |
setActive(boolean active) |
void |
setArticles(List<? extends NewsArticle> articles) |
void |
setAuthor(String author) |
void |
setChildren(List<? extends NewsSource> children) |
void |
setDescription(String description) |
void |
setHasChildren(boolean hasChildren) |
void |
setId(Long id) |
void |
setName(String name) |
void |
setOrder(int order) |
void |
setParentId(Long parentId) |
void |
setTitle(String title) |
void |
setUrl(String url) |
boolean isActive()
void setActive(boolean active)
active
- set this feed active or inactivevoid setName(String name)
name
- the name to set for this feed. It is not displayed to end users.String getDescription()
void setDescription(String description)
description
- the description of the feedList<? extends NewsArticle> getArticles()
void setArticles(List<? extends NewsArticle> articles)
articles
- the articles to setint getOrder()
void setOrder(int order)
order
- the display ordervoid setParentId(Long parentId)
Long getParentId()
void setChildren(List<? extends NewsSource> children)
List<? extends NewsSource> getChildren()
void addChild(NewsSource child)
boolean hasChildren()
void setHasChildren(boolean hasChildren)
Copyright © 2011–2014 The Kuali Foundation. All rights reserved.