Interface NamedQueryFactory
- All Known Implementing Classes:
DefaultNamedQueryFactory
public interface NamedQueryFactory
NamedQuery Factory for NamedQueryService retrieve the NamedQueries
-
Method Summary
Modifier and TypeMethodDescriptiongetNamedQuery(String queryName) Gets the query for this queryName
-
Method Details
-
getNamedQuery
Gets the query for this queryName- Parameters:
queryName- - the query name- Returns:
- a String object representing the Query
- Throws:
InvalidNamedQueryException- when the queryName does not match any existing named queries
-