Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Spring Data Commons
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.data.repository.core
Interface NamedQueries

All Known Implementing Classes:
  PropertiesBasedNamedQueries

    public interface NamedQueries

Abstraction of a map of `NamedQueries` that can be looked up by their names.

Author:
  Oliver Gierke

Method Summary
`String` | `getQuery(String queryName)` Returns the named query with the given name or null if none exists.
`boolean` | `hasQuery(String queryName)` Returns whether the map contains a named query for the given name.

Method Detail

### hasQuery

    boolean hasQuery(String queryName)

  Returns whether the map contains a named query for the given name. If this method returns true you can expect `getQuery(String)` to return a non-null query for the very same name.

  Parameters:
    `queryName` -
  Returns:

### getQuery

    String getQuery(String queryName)

  Returns the named query with the given name or null if none exists.

  Parameters:
    `queryName` -
  Returns:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Spring Data Commons
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011. All Rights Reserved.