Interface CardDavParams


public interface CardDavParams
The CardDavParams object represents a remote CardDAV server used by
MagicSearch as a plugin source.

  • Method Summary

    Modifier and Type
    Method
    Description
    Instantiates a new CardDavParams with values from source.
    Gets the list of vCard RFC fields to use to match the domain filter on.
    long
    Gets the native pointer used by this class to make native method calls.
    boolean
    Gets the matching policy: true if the remote vCard value must match the filter
    exactly, false if it only needs to contain the filter.
    Gets the object stored in this object user's data
    Gets the list of vCard RFC fields to use to match user input text on.
    void
    Sets the list of vCard RFC fields to use to match the domain filter on.
    void
    setUseExactMatchPolicy(boolean exactMatch)
    Sets the matching policy: true if the remote vCard value must match the filter
    exactly, false if it only needs to contain the filter.
    void
    Sets the object to store in this object user's data
    void
    Sets the list of vCard RFC fields to use to match user input text on.
     
  • Method Details

    • getDomainFields

      @NonNull String[] getDomainFields()
      Gets the list of vCard RFC fields to use to match the domain filter on.

      For example you can use "IMPP".
      Returns:
      The list of vCard fields to make the query on using domain filter.
    • setDomainFields

      void setDomainFields(@Nullable String[] list)
      Sets the list of vCard RFC fields to use to match the domain filter on.

      For example you can use "IMPP".
      Parameters:
      list - the list of vCard RFC fields to use to match the domain filter on.

    • getUseExactMatchPolicy

      boolean getUseExactMatchPolicy()
      Gets the matching policy: true if the remote vCard value must match the filter
      exactly, false if it only needs to contain the filter.

      Returns:
      The matching policy: true if the remote vCard value must match the
      filter exactly, false if it only needs to contain the filter.
    • setUseExactMatchPolicy

      void setUseExactMatchPolicy(boolean exactMatch)
      Sets the matching policy: true if the remote vCard value must match the filter
      exactly, false if it only needs to contain the filter.

      Parameters:
      exactMatch - the policy to use: true if the remote vCard value must match
      the filter exactly, false if it only needs to contain the filter.
    • getUserInputFields

      @NonNull String[] getUserInputFields()
      Gets the list of vCard RFC fields to use to match user input text on.

      For example you can use "FN", "N", "IMPP", "ORG", etc...
      Returns:
      The list of vCard fields to make the query on using user input.
    • setUserInputFields

      void setUserInputFields(@Nullable String[] list)
      Sets the list of vCard RFC fields to use to match user input text on.

      For example you can use "FN", "N", "IMPP", "ORG", etc...
      Parameters:
      list - the list of vCard RFC fields to use to match user input text on.
    • clone

      @NonNull CardDavParams clone()
      Instantiates a new CardDavParams with values from source.

      Returns:
      The newly created CardDavParams object.
    • setUserData

      void setUserData(Object data)
      Sets the object to store in this object user's data
      Parameters:
      data - the object to store
    • getUserData

      Object getUserData()
      Gets the object stored in this object user's data
      Returns:
      the object store if any, null otherwise
    • getNativePointer

      long getNativePointer()
      Gets the native pointer used by this class to make native method calls.
      Returns:
      the nativer pointer, as long
    • toString

      String toString()
      Overrides:
      toString in class Object