Search in sources :

Example 1 with GetAllUCServicesRequest

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

the class SoapProvisioning method getAllUCServices.

@Override
public List<UCService> getAllUCServices() throws ServiceException {
    ArrayList<UCService> result = new ArrayList<UCService>();
    GetAllUCServicesResponse resp = invokeJaxb(new GetAllUCServicesRequest());
    for (UCServiceInfo ucServiceInfo : resp.getUCServiceList()) {
        result.add(new SoapUCService(ucServiceInfo, this));
    }
    return result;
}
Also used : UCService(com.zimbra.cs.account.UCService) GetAllUCServicesRequest(com.zimbra.soap.admin.message.GetAllUCServicesRequest) UCServiceInfo(com.zimbra.soap.admin.type.UCServiceInfo) ArrayList(java.util.ArrayList) GetAllUCServicesResponse(com.zimbra.soap.admin.message.GetAllUCServicesResponse)

Aggregations

UCService (com.zimbra.cs.account.UCService)1 GetAllUCServicesRequest (com.zimbra.soap.admin.message.GetAllUCServicesRequest)1 GetAllUCServicesResponse (com.zimbra.soap.admin.message.GetAllUCServicesResponse)1 UCServiceInfo (com.zimbra.soap.admin.type.UCServiceInfo)1 ArrayList (java.util.ArrayList)1