Package org.bedework.calfacade.configs
Interface SystemProperties
- All Superinterfaces:
org.bedework.caldav.server.sysinterface.CalDAVSystemProperties,Serializable
public interface SystemProperties
extends org.bedework.caldav.server.sysinterface.CalDAVSystemProperties
These are the system properties that the server needs to know about, either
because it needs to apply these limits or just to report them to clients.
Annotated to allow use by mbeans
- Author:
- douglm
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSyseventsProperty(String name, String val) Add a sysevents propertycloneIt()intGet the minutes for the hung transaction killerGet the url prefix for the cacheGet the calws soap web service WSDL uri - null for no serviceGet the token for event reg adminsGet the url for event reg serviceGet the supported localesGet the root usersGet the token for socket servicebooleanintGet the minutes for the hung transaction killergetSyseventsProperty(String name) Get a sysevents propertyGet the default systemid.booleangetTzid()Get the default tzid.booleanbooleanvoidRemove a sysevents propertyvoidSet the admingroups classvoidsetAutoKillMinutes(int val) Set the minutes for the hung transaction killervoidsetCacheUrlPrefix(String val) Set the url prefix for the cachevoidSet the calws soap web service WSDL uri - null for no servicevoidSet the token for event reg adminsvoidsetEventregUrl(String val) Set the url for event reg servicevoidsetLocaleList(String val) Set the supported locales list.voidsetMailerClass(String val) Set the mailer classvoidsetRootUsers(String val) Set the root users list.voidsetSocketToken(String val) Set the token for socket servicevoidsetSubmissionRoot(String val) The root of the calendars used for submission of public events by users.voidsetSuggestionEnabled(boolean val) voidsetSynchMaxMinutes(int val) Set the max minutes allowed since last webdav synchvoidsetSyseventsProperties(List<String> val) voidsetSyseventsProperty(String name, String val) Set a sysevents propertyvoidsetSystemid(String val) Set the default systemidvoidsetTestMode(boolean val) True to run in test mode.voidSet the default tzidvoidsetUserauthClass(String val) Set the userauth classvoidsetUsergroupsClass(String val) Set the usergroups classvoidsetUserSubscriptionsOnly(boolean val) voidsetWorkflowEnabled(boolean val) voidsetWorkflowRoot(String val) The root of the collections used for submission of public events by non-approvers.Methods inherited from interface org.bedework.caldav.server.sysinterface.CalDAVSystemProperties
getAdminContact, getCalSoapWsURI, getFburlServiceURI, getFeatureFlags, getIscheduleURI, getTimezonesByReference, getTzServeruri, getVpollMaxActive, getVpollMaxItems, getVpollMaxVoters, getWebcalServiceURI, setAdminContact, setCalSoapWsURI, setFburlServiceURI, setFeatureFlags, setIscheduleURI, setTimezonesByReference, setTzServeruri, setVpollMaxActive, setVpollMaxItems, setVpollMaxVoters, setWebcalServiceURI
-
Method Details
-
setTzid
Set the default tzid- Parameters:
val- String
-
getTzid
String getTzid()Get the default tzid.- Returns:
- String tzid
-
setSystemid
Set the default systemid- Parameters:
val- String
-
getSystemid
String getSystemid()Get the default systemid.- Returns:
- String systemid
-
setRootUsers
Set the root users list. This is a comma separated list of accounts that have superuser status.- Parameters:
val- String list of accounts
-
getRootUsers
String getRootUsers()Get the root users- Returns:
- String root users
-
setCalSoapWsWSDLURI
Set the calws soap web service WSDL uri - null for no service- Parameters:
val- String
-
getCalSoapWsWSDLURI
String getCalSoapWsWSDLURI()Get the calws soap web service WSDL uri - null for no service- Returns:
- String
-
setUserauthClass
Set the userauth class- Parameters:
val- String userauth class
-
getUserauthClass
String getUserauthClass()- Returns:
- String
-
setMailerClass
Set the mailer class- Parameters:
val- String mailer class
-
getMailerClass
String getMailerClass()- Returns:
- String
-
setAdmingroupsClass
Set the admingroups class- Parameters:
val- String admingroups class
-
getAdmingroupsClass
String getAdmingroupsClass()- Returns:
- String
-
setUsergroupsClass
Set the usergroups class- Parameters:
val- String usergroups class
-
getUsergroupsClass
String getUsergroupsClass()- Returns:
- String
-
setLocaleList
Set the supported locales list. This is maintained by getSupportedLocales and setSupportedLocales and is a comma separated list of locales in the usual form of the language, country and optional variant separated by "_"The format is rigid, 2 letter language, 2 letter country. No spaces.
- Parameters:
val- String supported locales
-
getLocaleList
String getLocaleList()Get the supported locales- Returns:
- String supported locales
-
setSocketToken
Set the token for socket service- Parameters:
val- the token for socket service
-
getSocketToken
String getSocketToken()Get the token for socket service- Returns:
- token
-
setSynchMaxMinutes
void setSynchMaxMinutes(int val) Set the max minutes allowed since last webdav synch- Parameters:
val- minutes
-
getSynchMaxMinutes
int getSynchMaxMinutes()Get the minutes for the hung transaction killer- Returns:
- minutes
-
setEventregAdminToken
Set the token for event reg admins- Parameters:
val- the token for event reg admins
-
getEventregAdminToken
String getEventregAdminToken()Get the token for event reg admins- Returns:
- token
-
setEventregUrl
Set the url for event reg service- Parameters:
val- the url for event reg service
-
getEventregUrl
String getEventregUrl()Get the url for event reg service- Returns:
- token
-
setCacheUrlPrefix
Set the url prefix for the cache- Parameters:
val- the url prefix for the cache
-
getCacheUrlPrefix
String getCacheUrlPrefix()Get the url prefix for the cache- Returns:
- token
-
setAutoKillMinutes
void setAutoKillMinutes(int val) Set the minutes for the hung transaction killer- Parameters:
val- minutes
-
getAutoKillMinutes
int getAutoKillMinutes()Get the minutes for the hung transaction killer- Returns:
- minutes
-
setSuggestionEnabled
void setSuggestionEnabled(boolean val) - Parameters:
val- True if public events suggestion enabled
-
getSuggestionEnabled
boolean getSuggestionEnabled()- Returns:
- True if public events suggestion enabled
-
setWorkflowEnabled
void setWorkflowEnabled(boolean val) - Parameters:
val- True if public events workflow enabled
-
getWorkflowEnabled
boolean getWorkflowEnabled()- Returns:
- True if public events workflow enabled
-
setWorkflowRoot
The root of the collections used for submission of public events by non-approvers.- Parameters:
val- - the path
-
getWorkflowRoot
String getWorkflowRoot()- Returns:
- String
-
setSubmissionRoot
The root of the calendars used for submission of public events by users.- Parameters:
val-
-
getSubmissionRoot
String getSubmissionRoot()- Returns:
- String
-
setUserSubscriptionsOnly
void setUserSubscriptionsOnly(boolean val) - Parameters:
val- True if default logged in user access limited to subscriptions
-
getUserSubscriptionsOnly
boolean getUserSubscriptionsOnly()- Returns:
- True if default logged in user access limited to subscriptions
-
cloneIt
SystemProperties cloneIt()- Returns:
- copy of this
-
setSyseventsProperties
- Parameters:
val- the list of properties
-
getSyseventsProperties
- Returns:
- String val
-
addSyseventsProperty
Add a sysevents property- Parameters:
name- of propertyval- of property
-
getSyseventsProperty
Get a sysevents property- Parameters:
name- of property- Returns:
- value or null
-
removeSyseventsProperty
Remove a sysevents property- Parameters:
name- of property
-
setSyseventsProperty
Set a sysevents property- Parameters:
name- of propertyval- of property
-
setTestMode
void setTestMode(boolean val) True to run in test mode. This will adversely affect performance but avoids some test failures due to asynchronous behavior.DO NOT run in production mode with this on
.- Parameters:
val- true for test mode
-
getTestMode
boolean getTestMode()- Returns:
- CalAddrPrefixes or null
-