org.jasig.portlet.newsreader
Class UserDefinedNewsConfiguration

java.lang.Object
  extended by org.jasig.portlet.newsreader.NewsConfiguration
      extended by org.jasig.portlet.newsreader.UserDefinedNewsConfiguration

public class UserDefinedNewsConfiguration
extends NewsConfiguration

UserDefinedNewsConfiguration represents a user-created news configuration. There should only be one news configuration for each user-defined news definition. Since this is a one-to-one relationship, the UserDefinedNewsConfiguration doesn't need to define an extra bucket for user-specific configuration information.

Author:
Anthony Colebourne, Jen Bourey

Constructor Summary
UserDefinedNewsConfiguration()
          Default Constructor
 
Method Summary
 UserDefinedNewsDefinition getNewsDefinition()
          Get the NewsDefinition for the news being configured.
 void setNewsDefinition(UserDefinedNewsDefinition newsDefinition)
           
 
Methods inherited from class org.jasig.portlet.newsreader.NewsConfiguration
getId, getNewsSet, isActive, isDisplayed, setActive, setDisplayed, setId, setNewsDefinition, setNewsSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserDefinedNewsConfiguration

public UserDefinedNewsConfiguration()
Default Constructor

Method Detail

getNewsDefinition

public UserDefinedNewsDefinition getNewsDefinition()
Description copied from class: NewsConfiguration
Get the NewsDefinition for the news being configured.

Overrides:
getNewsDefinition in class NewsConfiguration
Returns:

setNewsDefinition

public void setNewsDefinition(UserDefinedNewsDefinition newsDefinition)


Copyright © 2009-2010 Jasig. All Rights Reserved.