List resources = prov.getDomain(acct). searchCalendarResources(filter, attrs, sortBy, sortAscending);
List resources = prov.searchCalendarResources(prov.getDomain(acct), filter, attrs, sortBy, sortAscending);
    public Element handle(Element request, Map<String, Object> context)    throws ServiceException {        ZimbraSoapContext lc = getZimbraSoapContext(context);        Element response = lc.createElement(AccountService.SEARCH_CALENDAR_RESOURCES_RESPONSE);        Account acct = getRequestedAccount(getZimbraSoapContext(context));        String sortBy = request.getAttribute(AccountService.A_SORT_BY, null);                boolean sortAscending =            request.getAttributeBool(AccountService.A_SORT_ASCENDING, true);                String attrsStr = request.getAttribute(AccountService.A_ATTRS, null);        String[] attrs = attrsStr == null ? null : attrsStr.split(",");        EntrySearchFilter filter = parseSearchFilter(request);        filter.andWith(sFilterActiveResourcesOnly);        Provisioning prov = Provisioning.getInstance();        List resources = prov.getDomain(acct).            searchCalendarResources(filter, attrs, sortBy, sortAscending);        for (Iterator iter = resources.iterator(); iter.hasNext(); ) {            CalendarResource resource = (CalendarResource) iter.next();            ToXML.encodeCalendarResource(response, resource);        }        return response;    }