Search in sources :

Example 6 with GetInfoRequest

use of com.zimbra.soap.account.message.GetInfoRequest in project zm-mailbox by Zimbra.

the class ZMailbox method getAccountInfo.

public ZGetInfoResult getAccountInfo(boolean refresh) throws ServiceException {
    if (mGetInfoResult == null || refresh) {
        GetInfoRequest req = new GetInfoRequest(NOT_ZIMLETS);
        GetInfoResponse res = invokeJaxb(req);
        mGetInfoResult = new ZGetInfoResult(res);
    }
    return mGetInfoResult;
}
Also used : GetInfoResponse(com.zimbra.soap.account.message.GetInfoResponse) GetInfoRequest(com.zimbra.soap.account.message.GetInfoRequest)

Aggregations

GetInfoRequest (com.zimbra.soap.account.message.GetInfoRequest)6 GetInfoResponse (com.zimbra.soap.account.message.GetInfoResponse)5 Test (org.junit.Test)5 Account (com.zimbra.cs.account.Account)4 Element (com.zimbra.common.soap.Element)2 SoapTransport (com.zimbra.common.soap.SoapTransport)2 FileUploadServlet (com.zimbra.cs.service.FileUploadServlet)2 GetInfo (com.zimbra.cs.service.account.GetInfo)2 ModifyProfileImageRequest (com.zimbra.soap.mail.message.ModifyProfileImageRequest)2 ModifyProfileImageResponse (com.zimbra.soap.mail.message.ModifyProfileImageResponse)2 InputStream (java.io.InputStream)2 PrepareForTest (org.powermock.core.classloader.annotations.PrepareForTest)2 ZAuthToken (com.zimbra.common.auth.ZAuthToken)1 ServiceException (com.zimbra.common.service.ServiceException)1 SoapFaultException (com.zimbra.common.soap.SoapFaultException)1 SoapHttpTransport (com.zimbra.common.soap.SoapHttpTransport)1 AuthToken (com.zimbra.cs.account.AuthToken)1 Group (com.zimbra.cs.account.Group)1 ZimbraAuthToken (com.zimbra.cs.account.ZimbraAuthToken)1 DiscoverRightsInfo (com.zimbra.soap.account.type.DiscoverRightsInfo)1