byte[] types = MailboxIndex.parseGroupByString(mParams.getTypesStr()); mResults = getMailbox().search(mProto, getOpCtxt(), query, mParams.getTimeZone(), mParams.getLocale(), types, mParams.getSortBy(), mParams.getLimit() + mParams.getOffset(), mPrefetch, mMode);
mResults = getMailbox().search(mProto, getOpCtxt(), mParams);
    protected void callback() throws ServiceException {        // we're going to hide IMAP \Deleted items unless it's an IMAP request        String query = mParams.getQueryStr();        if (getRequester() != Requester.IMAP)            query = "(" + query + ") -tag:\\Deleted";        try {            byte[] types = MailboxIndex.parseGroupByString(mParams.getTypesStr());            mResults = getMailbox().search(mProto, getOpCtxt(), query, mParams.getTimeZone(), mParams.getLocale(), types, mParams.getSortBy(), mParams.getLimit() + mParams.getOffset(), mPrefetch, mMode);        } catch (IOException e) {            throw ServiceException.FAILURE("IO error", e);        } catch (ParseException e) {            if (e.currentToken != null)                throw MailServiceException.QUERY_PARSE_ERROR(mParams.getQueryStr(), e, e.currentToken.image, e.currentToken.beginLine, e.currentToken.beginColumn);            else                 throw MailServiceException.QUERY_PARSE_ERROR(mParams.getQueryStr(), e, "", -1, -1);        }    }