/** * Convenient method to find a single object given two int parameters. */ @Nullable public T findObject(int p1, int p2) throws DataAccessException { return findObject(p1, p2, null); }
/** * Convenient method to find a single object without context. */ @Nullable public T findObject(Object... params) throws DataAccessException { return findObject(params, null); }
/** * Convenient method to find a single object given a single int parameter. */ @Nullable public T findObject(int p1) throws DataAccessException { return findObject(p1, null); }
/** * Convenient method to find a single object given a single long parameter. */ @Nullable public T findObject(long p1) throws DataAccessException { return findObject(p1, null); }
/** * Convenient method to find a single object given a single String parameter. */ @Nullable public T findObject(String p1) throws DataAccessException { return findObject(p1, null); }
/** * Convenient method to find a single object given two int parameters * and a context. */ @Nullable public T findObject(int p1, int p2, @Nullable Map<?, ?> context) throws DataAccessException { return findObject(new Object[] {p1, p2}, context); }
/** * Convenient method to find a single object given a single long parameter * and a context. */ @Nullable public T findObject(long p1, @Nullable Map<?, ?> context) throws DataAccessException { return findObject(new Object[] {p1}, context); }
/** * Convenient method to find a single object given a single int parameter * and a context. */ @Nullable public T findObject(int p1, @Nullable Map<?, ?> context) throws DataAccessException { return findObject(new Object[] {p1}, context); }
/** * Convenient method to find a single object given a single String parameter * and a context. */ @Nullable public T findObject(String p1, @Nullable Map<?, ?> context) throws DataAccessException { return findObject(new Object[] {p1}, context); }
/** * Convenient method to find a single object without context. */ public T findObject(Object... params) throws DataAccessException { return findObject(params, null); }
/** * Convenient method to find a single object given two int parameters * and a context. */ public T findObject(int p1, int p2, Map context) throws DataAccessException { return findObject(new Object[] {p1, p2}, context); }
/** * Convenient method to find a single object given a single String parameter. */ public T findObject(String p1) throws DataAccessException { return findObject(p1, null); }
/** * Convenient method to find a single object given a single int parameter. */ public T findObject(int p1) throws DataAccessException { return findObject(p1, null); }
/** * Convenient method to find a single object given two int parameters. */ public T findObject(int p1, int p2) throws DataAccessException { return findObject(p1, p2, null); }
/** * Convenient method to find a single object given a single long parameter * and a context. */ public T findObject(long p1, Map context) throws DataAccessException { return findObject(new Object[] {p1}, context); }
/** * Convenient method to find a single object given a single int parameter * and a context. */ public T findObject(int p1, Map context) throws DataAccessException { return findObject(new Object[] {p1}, context); }
/** * Convenient method to find a single object given a single String parameter * and a context. */ public T findObject(String p1, Map context) throws DataAccessException { return findObject(new Object[] {p1}, context); }
/** * Convenient method to find a single object without context. */ @Nullable public T findObject(Object... params) throws DataAccessException { return findObject(params, null); }
/** * Convenient method to find a single object given a single int parameter * and a context. */ @Nullable public T findObject(int p1, @Nullable Map<?, ?> context) throws DataAccessException { return findObject(new Object[] {p1}, context); }
/** * Convenient method to find a single object given a single String parameter * and a context. */ @Nullable public T findObject(String p1, @Nullable Map<?, ?> context) throws DataAccessException { return findObject(new Object[] {p1}, context); }