Interface NodeOwnershipCriteria

All Known Implementing Classes:
BasicCoreCriteria, BasicLocationRequestCriteria, BasicUserEventFilter, BasicUserMetadataFilter

public interface NodeOwnershipCriteria
Search criteria for node ownership.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the valid node ownership flag.
    default boolean
    Test if this filter has any node ownership criteria.
  • Method Details

    • getValidNodeOwnership

      Boolean getValidNodeOwnership()
      Get the valid node ownership flag.

      This flag, when true, indicates a desire to filter the results to only the set of nodes actually owned by the users specified with the data. For example, a table might have a node ID column that is not a foreign key to the user_node mapping table, so there is no guarantee the record's node ID is actually owned by that record's account owner.

      Returns:
      the true or false to filter by that state, or null to not filter
    • hasNodeOwnershipCriteria

      default boolean hasNodeOwnershipCriteria()
      Test if this filter has any node ownership criteria.
      Returns:
      true if the node ownership is non-null