use of com.zimbra.soap.mail.message.GetSystemRetentionPolicyResponse in project zm-mailbox by Zimbra.
the class GetSystemRetentionPolicy method handle.
@Override
public Element handle(Element request, Map<String, Object> context) throws ServiceException {
ZimbraSoapContext zsc = getZimbraSoapContext(context);
GetSystemRetentionPolicyResponse res = new GetSystemRetentionPolicyResponse(RetentionPolicyManager.getInstance().getSystemRetentionPolicy(getRequestedAccount(zsc)));
return JaxbUtil.jaxbToElement(res, zsc.getResponseProtocol().getFactory());
}
Aggregations