public class PredefinedCalendarDefinition extends CalendarDefinition
| Constructor and Description |
|---|
PredefinedCalendarDefinition()
Default constructor
|
PredefinedCalendarDefinition(Long id,
String className,
String name)
Construct a new predefined calendar definition
|
| Modifier and Type | Method and Description |
|---|---|
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
|
addParameter, getClassName, getId, getName, getParameters, setClassName, setId, setName, setParameters, toStringpublic PredefinedCalendarDefinition()
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)
Copyright © 2018 Apereo. All Rights Reserved.