Class CardDAVContextConfig

java.lang.Object
org.bedework.util.config.ConfigBase<CardDAVContextConfig>
org.bedework.carddav.server.config.CardDAVContextConfig
All Implemented Interfaces:
Serializable, Comparable<CardDAVContextConfig>, org.bedework.util.logging.Logged

public class CardDAVContextConfig extends org.bedework.util.config.ConfigBase<CardDAVContextConfig>
This class defines the various properties we need for a carddav server
Author:
Mike Douglass
See Also:
  • Constructor Details

    • CardDAVContextConfig

      public CardDAVContextConfig()
  • Method Details

    • setDirectoryBrowsingDisallowed

      public void setDirectoryBrowsingDisallowed(boolean val)
      Parameters:
      val - true to disallow browsing
    • getDirectoryBrowsingDisallowed

      public boolean getDirectoryBrowsingDisallowed()
      Returns:
      boolean
    • setAddressBookHandlerPrefix

      public void setAddressBookHandlerPrefix(String val)
      Handler prefix for address books
      Parameters:
      val - String
    • getAddressBookHandlerPrefix

      public String getAddressBookHandlerPrefix()
      Handler prefix for address books
      Returns:
      String
    • setWebaddrServiceURI

      public void setWebaddrServiceURI(String val)
      Set the web address service uri - null for no web address service
      Parameters:
      val - String
    • getWebaddrServiceURI

      public String getWebaddrServiceURI()
      get the web address service uri - null for no web address service
      Returns:
      String
    • setWebaddrServicePropertiesList

      public void setWebaddrServicePropertiesList(String val)
      Set the comma separated list of web addr book searchable properties
      Parameters:
      val - String
    • getWebaddrServicePropertiesList

      public String getWebaddrServicePropertiesList()
      Returns:
      comma separated list of web addr book searchable properties
    • setWebaddrPublicAddrbook

      public void setWebaddrPublicAddrbook(String val)
      Parameters:
      val - String
    • getWebaddrPublicAddrbook

      public String getWebaddrPublicAddrbook()
      Returns:
      String
    • toStringSegment

      public void toStringSegment(org.bedework.base.ToString ts)
      Add our stuff to the StringBuilder
      Overrides:
      toStringSegment in class org.bedework.util.config.ConfigBase<CardDAVContextConfig>
      Parameters:
      ts - ToString for result
    • getWebaddrServiceProperties

      public List<String> getWebaddrServiceProperties()
      Returns:
      List derived from webaddrServicePropertiesList