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 Details

    • 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 property
      value - of property
    • setHibernateProperty

      void setHibernateProperty(String name, String value)
      Parameters:
      name - of property
      value - of property