use of org.entando.entando.aps.system.services.api.model.ListResponse in project entando-core by entando.
the class ServicesResponseResult method getResult.
@XmlElement(name = "services", required = false)
public ListResponse getResult() {
if (this.getMainResult() instanceof Collection) {
List<ServiceInfo> services = new ArrayList<ServiceInfo>();
services.addAll((Collection<ServiceInfo>) this.getMainResult());
ListResponse listResponse = new ListResponse(services) {
};
return listResponse;
}
return null;
}
Aggregations