public class NewsConfiguration extends java.lang.Object implements java.lang.Comparable<NewsConfiguration>
| Constructor and Description |
|---|
NewsConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(NewsConfiguration config) |
java.lang.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(java.lang.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) |
public boolean isActive()
public void setActive(boolean active)
active - public boolean isDisplayed()
public void setDisplayed(boolean displayed)
displayed - public java.lang.Long getId()
public void setId(java.lang.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 java.lang.Comparable<NewsConfiguration>Copyright © 2009-2023 Apereo. All Rights Reserved.