Search in sources :

Example 1 with VerifyIndexRequest

use of com.zimbra.soap.admin.message.VerifyIndexRequest in project zm-mailbox by Zimbra.

the class SoapProvisioning method verifyIndex.

public VerifyIndexResult verifyIndex(Account account) throws ServiceException {
    VerifyIndexRequest req = new VerifyIndexRequest(new MailboxByAccountIdSelector(account.getId()));
    VerifyIndexResponse resp = invokeJaxb(req, getServer(account).getAttr(A_zimbraServiceHostname));
    return new VerifyIndexResult(resp.isStatus(), resp.getMessage());
}
Also used : VerifyIndexRequest(com.zimbra.soap.admin.message.VerifyIndexRequest) VerifyIndexResponse(com.zimbra.soap.admin.message.VerifyIndexResponse) MailboxByAccountIdSelector(com.zimbra.soap.admin.type.MailboxByAccountIdSelector)

Aggregations

VerifyIndexRequest (com.zimbra.soap.admin.message.VerifyIndexRequest)1 VerifyIndexResponse (com.zimbra.soap.admin.message.VerifyIndexResponse)1 MailboxByAccountIdSelector (com.zimbra.soap.admin.type.MailboxByAccountIdSelector)1