Package org.jasig.portlet.newsreader
Class UserDefinedNewsDefinition
java.lang.Object
org.jasig.portlet.newsreader.NewsDefinition
org.jasig.portlet.newsreader.UserDefinedNewsDefinition
- All Implemented Interfaces:
Comparable<NewsDefinition>
UserDefinedNewsDefinition represents a user-added news definition.
- Since:
- 5.1.1
- Author:
- Anthony Colebourne, Jen Bourey
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorUserDefinedNewsDefinition(Long id, String className, String name) Construct a new user-defined news definition -
Method Summary
Modifier and TypeMethodDescriptionGet the news configuration for this definition.voidsetUserConfiguration(UserDefinedNewsConfiguration userConfiguration) Set the news configuration for this definition.toString()Methods inherited from class org.jasig.portlet.newsreader.NewsDefinition
addParameter, compareTo, getClassName, getId, getName, getParameters, isPredefined, setClassName, setId, setName, setParameters
-
Constructor Details
-
Method Details
-
toString
- Overrides:
toStringin classNewsDefinition
-
getUserConfiguration
Get the news configuration for this definition.- Returns:
- a
UserDefinedNewsConfigurationobject
-
setUserConfiguration
Set the news configuration for this definition.- Parameters:
userConfiguration- aUserDefinedNewsConfigurationobject
-