org.hibernate.shards.criteria
Interface SubcriteriaFactory

All Known Implementing Classes:
SubcriteriaFactoryImpl

public interface SubcriteriaFactory

Interface describing an object tha knows how to create Criteria.

Author:
maxr@google.com (Max Ross)

Method Summary
 org.hibernate.Criteria createSubcriteria(org.hibernate.Criteria parent, Iterable<CriteriaEvent> events)
          Create a sub Criteria with the given parent and events
 

Method Detail

createSubcriteria

org.hibernate.Criteria createSubcriteria(org.hibernate.Criteria parent,
                                         Iterable<CriteriaEvent> events)
Create a sub Criteria with the given parent and events

Parameters:
parent - the parent
events - the events to apply
Returns:
a criteria with the given parent and events