org.jasig.portlet.calendar
Class CalendarConfiguration

java.lang.Object
  extended by org.jasig.portlet.calendar.CalendarConfiguration
Direct Known Subclasses:
PredefinedCalendarConfiguration, UserDefinedCalendarConfiguration

public class CalendarConfiguration
extends Object

CalendarConfiguration represents a user-specific registration and configuration for a CalendarDefinition.

Author:
Jen Bourey

Constructor Summary
CalendarConfiguration()
           
 
Method Summary
 CalendarDefinition getCalendarDefinition()
          Get the CalendarDefinition for the calendar being configured.
 Long getId()
          Get the unique ID for this CalendarConfiguration.
 String getSubscribeId()
          Get the unique ID for this portlet subscription.
 boolean isDisplayed()
          Determine whether this calendar should be displayed or hidden.
 void setCalendarDefinition(CalendarDefinition definition)
          Set the CalendarDefinition for the calendar being configured.
 void setDisplayed(boolean displayed)
          Set whether this calendar should be displayed or hidden.
 void setId(Long id)
          Set the unique ID for this CalendarConfiguration.
 void setSubscribeId(String subscribeId)
          Set the unique ID for this portlet subscription.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarConfiguration

public CalendarConfiguration()
Method Detail

isDisplayed

public boolean isDisplayed()
Determine whether this calendar should be displayed or hidden.

Returns:

setDisplayed

public void setDisplayed(boolean displayed)
Set whether this calendar should be displayed or hidden.

Parameters:
displayed -

getSubscribeId

public String getSubscribeId()
Get the unique ID for this portlet subscription.

Returns:

setSubscribeId

public void setSubscribeId(String subscribeId)
Set the unique ID for this portlet subscription.

Parameters:
subscribeId -

getId

public Long getId()
Get the unique ID for this CalendarConfiguration.

Returns:

setId

public void setId(Long id)
Set the unique ID for this CalendarConfiguration.

Parameters:
id -

getCalendarDefinition

public CalendarDefinition getCalendarDefinition()
Get the CalendarDefinition for the calendar being configured.

Returns:

setCalendarDefinition

public void setCalendarDefinition(CalendarDefinition definition)
Set the CalendarDefinition for the calendar being configured.

Parameters:
definition -


Copyright © 2012 Jasig. All Rights Reserved.