public class QuerySpacesImpl extends Object implements ExpandingQuerySpaces
| Constructor and Description |
|---|
QuerySpacesImpl(SessionFactoryImplementor sessionFactory) |
| Modifier and Type | Method and Description |
|---|---|
QuerySpace |
findQuerySpaceByUid(String uid)
Locate a QuerySpace by its uid.
|
String |
generateImplicitUid() |
QuerySpace |
getQuerySpaceByUid(String uid)
Like
QuerySpaces.findQuerySpaceByUid(java.lang.String), except that here an exception is thrown if the uid cannot be resolved. |
List<QuerySpace> |
getRootQuerySpaces()
Gets the root QuerySpace references.
|
CollectionQuerySpace |
makeCollectionQuerySpace(String uid,
CollectionPersister collectionPersister) |
ExpandingEntityQuerySpace |
makeEntityQuerySpace(String uid,
EntityPersister entityPersister) |
void |
registerQuerySpace(QuerySpace querySpace)
Feeds a QuerySpace into this spaces group.
|
public QuerySpacesImpl(SessionFactoryImplementor sessionFactory)
public List<QuerySpace> getRootQuerySpaces()
QuerySpacesgetRootQuerySpaces in interface QuerySpacespublic QuerySpace findQuerySpaceByUid(String uid)
QuerySpacesfindQuerySpaceByUid in interface QuerySpacesuid - The QuerySpace uid to matchnull is returned if no match.QuerySpace.getUid()public QuerySpace getQuerySpaceByUid(String uid)
QuerySpacesQuerySpaces.findQuerySpaceByUid(java.lang.String), except that here an exception is thrown if the uid cannot be resolved.getQuerySpaceByUid in interface QuerySpacesuid - The uid to resolvepublic String generateImplicitUid()
generateImplicitUid in interface ExpandingQuerySpacespublic ExpandingEntityQuerySpace makeEntityQuerySpace(String uid, EntityPersister entityPersister)
makeEntityQuerySpace in interface ExpandingQuerySpacespublic CollectionQuerySpace makeCollectionQuerySpace(String uid, CollectionPersister collectionPersister)
makeCollectionQuerySpace in interface ExpandingQuerySpacespublic void registerQuerySpace(QuerySpace querySpace)
querySpace - The spaceCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.