@Override public FieldSearchResult resumeFindObjects(Context context, String sessionToken) throws ServerException { return m_fieldSearch.resumeFindObjects(sessionToken); }
public FieldSearchResult findObjects(String[] resultFields, int maxResults, FieldSearchQuery query) throws ServerException { return m_wrappedFieldSearch .findObjects(resultFields, maxResults, query); }
@Override public FieldSearchResult findObjects(Context context, String[] resultFields, int maxResults, FieldSearchQuery query) throws ServerException { return m_fieldSearch.findObjects(resultFields, maxResults, query); }
/** * A {@link FieldSearchQuery} may be made from a terms string or a query * string, but not both. */ private FieldSearchQuery assembleFieldSearchQuery(String query, String terms) { if (terms != null) { return new FieldSearchQuery(terms); } else { try { return new FieldSearchQuery(Condition.getConditions(query)); } catch (QueryParseException e) { throw new ValidatorProcessUsageException("Value '" + query + "' of parameter '" + PARAMETER_QUERY + "' is not a valid query string."); } } }
public FieldSearchResult resumeFindObjects(String sessionToken) throws ServerException { return m_wrappedFieldSearch.resumeFindObjects(sessionToken); }
public void update(DOReader reader) throws ServerException { m_wrappedFieldSearch.update(reader); }
private FieldSearchResult stepAndRemember(FieldSearchResultSQLImpl result) throws UnrecognizedFieldException, ObjectIntegrityException, RepositoryConfigurationException, StreamIOException, ServerException, UnrecognizedFieldException { result.step(); if (result.getToken() != null) { m_currentResults.put(result.getToken(), result); } return result; }
private void init(int maxResults, int maxSecondsPerSession, boolean indexDCFields) throws Exception { m_repo = new MockRepositoryReader(); m_impl = new FieldSearchSQLImpl(cPool, m_repo, maxResults, maxSecondsPerSession, indexDCFields); }
@Override public String toString() { return name() + "[" + symbol + ", " + abbreviation + "]"; }
public boolean delete(String pid) throws ServerException { return m_wrappedFieldSearch.delete(pid); }
@Override public int hashCode() { return m_property.hashCode() ^ m_operator.hashCode() ^ m_value.hashCode(); }
public FieldSearchResult findObjects(String[] resultFields, int maxResults, FieldSearchQuery query) throws ServerException { return m_wrappedFieldSearch .findObjects(resultFields, maxResults, query); }
public FieldSearchResult resumeFindObjects(String sessionToken) throws ServerException { return m_wrappedFieldSearch.resumeFindObjects(sessionToken); }
public void update(DOReader reader) throws ServerException { m_wrappedFieldSearch.update(reader); }
private FieldSearchResult stepAndRemember(FieldSearchResultSQLImpl result) throws UnrecognizedFieldException, ObjectIntegrityException, RepositoryConfigurationException, StreamIOException, ServerException, UnrecognizedFieldException { result.step(); if (result.getToken() != null) { m_currentResults.put(result.getToken(), result); } return result; }
@Override public FieldSearchResult resumeFindObjects(Context context, String sessionToken) throws ServerException { return m_fieldSearch.resumeFindObjects(sessionToken); }
@Override public FieldSearchResult findObjects(Context context, String[] resultFields, int maxResults, FieldSearchQuery query) throws ServerException { return m_fieldSearch.findObjects(resultFields, maxResults, query); }
@Override public String toString() { return name() + "[" + symbol + ", " + abbreviation + "]"; }
public boolean delete(String pid) throws ServerException { return m_wrappedFieldSearch.delete(pid); }
@Override public int hashCode() { return m_property.hashCode() ^ m_operator.hashCode() ^ m_value.hashCode(); }