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

com.yahoo.elide.security.CriteriaCheck Maven / Gradle / Ivy

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

import com.yahoo.elide.core.RequestScope;

import org.hibernate.criterion.Criterion;

/**
 * Extends Check to support Hibernate Criteria to limit SQL query responses.
 * @param  Type of record for Check
 */
public interface CriteriaCheck extends Check {
    /**
     * @see org.hibernate.criterion.Restrictions
     */
    Criterion getCriterion(RequestScope requestScope);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy