agave-jobs/jobs-core/src/main/java/org/iplantc/service/jobs/dao/JobDao.java
/**
	 * Searches for jobs by the given user who matches the given set of 
	 * parameters. Permissions are honored in this query.
	 *
	 * @param username the user for whom to search for user jobs
	 * @param searchCriteria Map of key value pairs by which to query.
	 * @param offset the number of records to skip in the result set
	 * @param limit the maximum number of records  to return.
	 * @return list of matching jobs, marshalled to {@link JobDTO}
	 * @throws JobException if unable to perform the query
	 */
Searches for jobs by the given user who matches the given set of
parameters. Permissions are honored in this query.

@param username the user for whom to search for user jobs
@param searchCriteria Map of key value pairs by which to query.
@param offset the number of records to skip in the result set
@param limit the maximum number of records  to return.
@return list of matching jobs, marshalled to  JobDTO
@throws JobException if unable to perform the query
Searches for jobs by the given user who matches the given set of parameters . Permissions are honored in this query . @param username the user for whom to search for user jobs @param searchCriteria Map of key value pairs by which to query . @param offset the number of records to skip in the result set @param limit the maximum number of records to return . @return list of matching jobs marshalled to JobDTO @throws JobException if unable to perform the query
public static List<JobDTO> findMatching(String username,
			Map<SearchTerm, Object> searchCriteria,
			int offset, int limit) throws JobException
	{
		return findMatching(username, searchCriteria, offset, limit, null, null);
	}
public static List < JobDTO > findMatching ( String username , Map < SearchTerm , Object > searchCriteria , int offset , int limit ) throws JobException { return findMatching ( username , searchCriteria , offset , limit , null , null ) ; }
Searches for jobs by the given user who matches the given set of
 parameters.
Searches for jobs by the given user who matches the given set of parameters .