Search in sources :

Example 1 with UCServiceInfo

use of com.zimbra.soap.admin.type.UCServiceInfo 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) UCServiceInfo(com.zimbra.soap.admin.type.UCServiceInfo) ArrayList(java.util.ArrayList)

Aggregations

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