Package org.bedework.carddav.server.jmx
Interface DbDirHandlerConfMBean
- All Superinterfaces:
org.bedework.util.jmx.BaseMBean,org.bedework.util.jmx.ConfBaseMBean,DirHandlerConfMBean
- All Known Implementing Classes:
DbDirHandlerConf
Configure a carddav service dir handler
- Author:
- douglm
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddHibernateProperty(String name, String value) Display the named propertybooleanintList the hibernate propertiesvoidRemove the named propertyschema()Create or dump new schema.Returns status of the schema build.voidsetExport(boolean val) Export schema to database?voidsetHibernateDialect(String value) voidsetHibernateProperty(String name, String value) voidsetQueryLimit(int val) Set the query limit - 0 for no limitvoidsetRootAccess(String val) voidsetRootOwner(String val) voidsetSchemaOutFile(String val) Output file name - full pathMethods inherited from interface org.bedework.util.jmx.BaseMBean
getServiceName, isRunning, start, stopMethods inherited from interface org.bedework.util.jmx.ConfBaseMBean
getConfigName, getStatus, saveConfig, setStatusMethods inherited from interface org.bedework.carddav.server.jmx.DirHandlerConfMBean
getAddressBook, getCardKind, getCardPathPrefix, getCardPathPrefixes, getClassName, getDirectory, getOwnerHref, getPathPrefix, getPrincipalPrefix, setAddressBook, setCardKind, setCardPathPrefix, setCardPathPrefixes, setClassName, setDirectory, setOwnerHref, setPathPrefix, setPrincipalPrefix
-
Method Details
-
setRootAccess
- Parameters:
val- access set at the root. Needs to be an XML value
-
getRootAccess
String getRootAccess()- Returns:
- String
-
setRootOwner
- Parameters:
val- owner of the user root and user home
-
getRootOwner
String getRootOwner()- Returns:
- owner of the user root and user home
-
setQueryLimit
void setQueryLimit(int val) Set the query limit - 0 for no limit- Parameters:
val- Max number of entries returned
-
getQueryLimit
int getQueryLimit()- Returns:
- int Max number of entries returned
-
setExport
void setExport(boolean val) Export schema to database?- Parameters:
val- true to export
-
getExport
boolean getExport()- Returns:
- true for export schema
-
setSchemaOutFile
Output file name - full path- Parameters:
val- Output file name - full path
-
getSchemaOutFile
String getSchemaOutFile()- Returns:
- Output file name - full path
-
schema
String schema()Create or dump new schema. If export and drop set will try to drop tables. Export and create will create a schema in the db and export, drop, create will drop tables, and try to create a new schema. The export and drop flags will all be reset to false after this, whatever the result. This avoids accidental damage to the db.- Returns:
- Completion message
-
schemaStatus
Returns status of the schema build.- Returns:
- Completion messages
-
setHibernateDialect
- Parameters:
value- the hibernate dialect
-
getHibernateDialect
String getHibernateDialect()- Returns:
- Completion messages
-
listHibernateProperties
String listHibernateProperties()List the hibernate properties- Returns:
- properties
-
displayHibernateProperty
Display the named property- Parameters:
name- of property- Returns:
- value
-
removeHibernateProperty
Remove the named property- Parameters:
name- of property
-
addHibernateProperty
- Parameters:
name- of propertyvalue- of property
-
setHibernateProperty
- Parameters:
name- of propertyvalue- of property
-