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
public interface DbDirHandlerConfMBean extends DirHandlerConfMBean
Configure a carddav service dir handler- Author:
- douglm
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddHibernateProperty(String name, String value)StringdisplayHibernateProperty(String name)Display the named propertybooleangetExport()StringgetHibernateDialect()intgetQueryLimit()StringgetRootAccess()StringgetRootOwner()StringgetSchemaOutFile()StringlistHibernateProperties()List the hibernate propertiesvoidremoveHibernateProperty(String name)Remove the named propertyStringschema()Create or dump new schema.List<String>schemaStatus()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 path-
Methods inherited from interface org.bedework.util.jmx.BaseMBean
getServiceName, isRunning, start, stop
-
Methods inherited from interface org.bedework.util.jmx.ConfBaseMBean
getConfigName, getStatus, saveConfig, setConfigName, setStatus
-
Methods 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 Detail
-
setRootAccess
void setRootAccess(String val)
- Parameters:
val- access set at the root. Needs to be an XML value
-
getRootAccess
String getRootAccess()
- Returns:
- String
-
setRootOwner
void setRootOwner(String val)
- 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
void setSchemaOutFile(String val)
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
List<String> schemaStatus()
Returns status of the schema build.- Returns:
- Completion messages
-
setHibernateDialect
void setHibernateDialect(String value)
- Parameters:
value- the hibernate dialect
-
getHibernateDialect
String getHibernateDialect()
- Returns:
- Completion messages
-
listHibernateProperties
String listHibernateProperties()
List the hibernate properties- Returns:
- properties
-
displayHibernateProperty
String displayHibernateProperty(String name)
Display the named property- Parameters:
name- of property- Returns:
- value
-
removeHibernateProperty
void removeHibernateProperty(String name)
Remove the named property- Parameters:
name- of property
-
addHibernateProperty
void addHibernateProperty(String name, String value)
- Parameters:
name- of propertyvalue- of property
-
-