Interface NamedQueryFactory
-
- All Known Implementing Classes:
DefaultNamedQueryFactory
public interface NamedQueryFactoryNamedQuery Factory for NamedQueryService retrieve the NamedQueries
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetNamedQuery(java.lang.String queryName)Gets the query for this queryName
-
-
-
Method Detail
-
getNamedQuery
java.lang.String getNamedQuery(java.lang.String queryName) throws InvalidNamedQueryExceptionGets 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
-
-