All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.elide.security.checks.CriterionCheck Maven / Gradle / Ivy

There is a newer version: 4.8.0
Show newest version
/*
 * Copyright 2016, Yahoo Inc.
 * Licensed under the Apache License, Version 2.0
 * See LICENSE file in project root for terms.
 */
package com.yahoo.elide.security.checks;

import com.yahoo.elide.security.RequestScope;

/**
 * Extends Check to support Hibernate Criteria to limit SQL query responses.
 * @param  Type of the criterion to return
 * @param  Type of the record for the Check
 */
public interface CriterionCheck extends Check {
    /**
     * Get criterion for request scope.
     *
     * @param requestScope the requestSCope
     * @return the criterion
     */
    R getCriterion(RequestScope requestScope);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy