|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portlet.newsreader.NewsConfiguration
public class NewsConfiguration
NewsConfiguration represents a user-specific registration and configuration for a NewsDefinition.
| Constructor Summary | |
|---|---|
NewsConfiguration()
|
|
| Method Summary | |
|---|---|
int |
compareTo(NewsConfiguration config)
|
Long |
getId()
Get the unique ID for this NewsConfiguration. |
NewsDefinition |
getNewsDefinition()
Get the NewsDefinition for the news being configured. |
NewsSet |
getNewsSet()
|
boolean |
isActive()
Determine whether this feed is active. |
boolean |
isDisplayed()
Determine whether this news should be displayed or hidden. |
void |
setActive(boolean active)
Set whether this feed should be displayed or hidden. |
void |
setDisplayed(boolean displayed)
Set whether this news should be displayed or hidden. |
void |
setId(Long id)
Set the unique ID for this NewsConfiguration. |
void |
setNewsDefinition(NewsDefinition definition)
Set the NewsDefinition for the news being configured. |
void |
setNewsSet(NewsSet newsSet)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NewsConfiguration()
| Method Detail |
|---|
public boolean isActive()
public void setActive(boolean active)
active - public boolean isDisplayed()
public void setDisplayed(boolean displayed)
displayed - public Long getId()
public void setId(Long id)
id - public NewsDefinition getNewsDefinition()
public void setNewsDefinition(NewsDefinition definition)
definition - public NewsSet getNewsSet()
public void setNewsSet(NewsSet newsSet)
public int compareTo(NewsConfiguration config)
compareTo in interface Comparable<NewsConfiguration>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||