QueryExecution

public interface QueryExecution<T>

Allows users to execute custom queries through Motech Data Services. Implementations need only to implement the execute method, which can operate directly on the javax.jdo.Query object. The return value type is left to the implementation.

Parameters:
  • <T> – the type that will be returned from this query

Methods

execute

T execute(Query query, InstanceSecurityRestriction restriction)