com.yahoo.elide.security.CriteriaCheck Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elide-dbmanager-hibernate5 Show documentation
Show all versions of elide-dbmanager-hibernate5 Show documentation
Elide database manager for Hibernate5 support
/*
* 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);
}