|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portlet.calendar.CalendarDefinition
org.jasig.portlet.calendar.PredefinedCalendarDefinition
public class PredefinedCalendarDefinition
PredefinedCalendarDefinition represents a built-in calendar definition. These definitions are defined in the database by an administrator, and can be automatically added to user's calendar registration lists based on user role.
| Constructor Summary | |
|---|---|
PredefinedCalendarDefinition()
Default constructor |
|
PredefinedCalendarDefinition(Long id,
String className,
String name)
Construct a new predefined calendar definition |
|
| Method Summary | |
|---|---|
void |
addDefaultRole(String role)
Add a user role to the set of roles that should get this calendar by default. |
void |
addUserConfiguration(PredefinedCalendarConfiguration config)
Add a user configuration for this calendar definition |
Set<String> |
getDefaultRoles()
Get the set of user roles who should get this calendar by default. |
String |
getFname()
|
Set<PredefinedCalendarConfiguration> |
getUserConfigurations()
Get all the user configurations for this calendar definition |
void |
setDefaultRoles(Set<String> defaultRoles)
Set the user roles should should get this calendar by default. |
void |
setFname(String fname)
|
void |
setUserConfigurations(Set<PredefinedCalendarConfiguration> configurations)
Set the user configurations for this calendar definition |
| Methods inherited from class org.jasig.portlet.calendar.CalendarDefinition |
|---|
addParameter, getClassName, getId, getName, getParameters, setClassName, setId, setName, setParameters, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PredefinedCalendarDefinition()
public PredefinedCalendarDefinition(Long id,
String className,
String name)
id - className - name - | Method Detail |
|---|
public Set<PredefinedCalendarConfiguration> getUserConfigurations()
public void setUserConfigurations(Set<PredefinedCalendarConfiguration> configurations)
configurations - public Set<String> getDefaultRoles()
public void setDefaultRoles(Set<String> defaultRoles)
defaultRoles - set of default user rolespublic void addUserConfiguration(PredefinedCalendarConfiguration config)
config - public void addDefaultRole(String role)
role - user role to be addedpublic String getFname()
public void setFname(String fname)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||