Interface UserCriteria

All Known Subinterfaces:
LocationRequestCriteria, UserEventFilter, UserEventMaintenanceDao.UserEventPurgeFilter, UserMetadataFilter, UserModifiableFilter
All Known Implementing Classes:
BasicCoreCriteria, BasicLocationRequestCriteria, BasicUserEventFilter, BasicUserMetadataFilter

public interface UserCriteria
Search criteria for user related data.
Since:
2.8
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the first user ID.
    Get an array of user IDs.
    default boolean
    Test if this filter has any user criteria.
  • Method Details

    • getUserId

      Long getUserId()
      Get the first user ID.

      This returns the first available user ID from the getUserIds() array, or null if not available.

      Returns:
      the first user ID, or null if not available
    • getUserIds

      Long[] getUserIds()
      Get an array of user IDs.
      Returns:
      array of user IDs (may be null)
    • hasUserCriteria

      default boolean hasUserCriteria()
      Test if this filter has any user criteria.
      Returns:
      true if the user ID is non-null