Class DefaultUserPredicate

    • Constructor Detail

      • DefaultUserPredicate

        public DefaultUserPredicate​(String creatingUserId,
                                    List<String> auths)
    • Method Detail

      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class uk.gov.gchq.koryphe.predicate.KoryphePredicate<User>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class uk.gov.gchq.koryphe.predicate.KoryphePredicate<User>
      • getCreatingUserId

        public String getCreatingUserId()
      • isResourceCreator

        public boolean isResourceCreator​(User user)
      • hasPermission

        public boolean hasPermission​(User user)