Interface IDfLocationQueryScope

All Superinterfaces:
IDfQueryScope

public interface IDfLocationQueryScope extends IDfQueryScope
Defines a specific location within a searched source. It can be added to the IDfQueryBuilder.
See Also:
  • Method Details

    • getSource

      String getSource()
      Gets the target source.
      Returns:
      The target source.
    • getLocationPath

      Gets the location path.

      This method is not supported for location scope created with an IDfId.

      Returns:
      The location path.
      Throws:
      DfUnreachableLocationException - If the location is not reachable (either not existing or insufficient access permission).
      DfIdentityException - If the target source is unknown or if the login information is missing.
      DfAuthenticationException - If the authentication failed with the login information.
      DfException - If a session error occurs, or if a server error occurs.
    • isDescend

      boolean isDescend()
      Indicates whether the location sub-folders are part of the scope.
      Returns:
      true if the location sub-folders are part of the scope; false otherwise.
    • isExcluded

      boolean isExcluded()
      Indicates whether the location is an excluded scope.
      Returns:
      true if the location is an excluded scope; false otherwise.