use of com.zimbra.soap.mail.message.GetFilterRulesRequest in project zm-mailbox by Zimbra.
the class ZMailbox method getIncomingFilterRules.
public synchronized ZFilterRules getIncomingFilterRules(boolean refresh) throws ServiceException {
if (incomingRules == null || refresh) {
GetFilterRulesResponse resp = invokeJaxb(new GetFilterRulesRequest());
incomingRules = new ZFilterRules(resp.getFilterRules());
}
return new ZFilterRules(incomingRules);
}
Aggregations