use of org.ovirt.engine.api.model.Template in project ovirt-engine by oVirt.
the class BackendTemplateNicResource method addParents.
@Override
protected Nic addParents(Nic nic) {
Template template = new Template();
template.setId(templateId.toString());
nic.setTemplate(template);
return nic;
}
use of org.ovirt.engine.api.model.Template in project ovirt-engine by oVirt.
the class BackendTemplateNicsResource method addParents.
@Override
public Nic addParents(Nic nic) {
Template template = new Template();
template.setId(templateId.toString());
nic.setTemplate(template);
return nic;
}
use of org.ovirt.engine.api.model.Template in project ovirt-engine by oVirt.
the class BackendTemplateResource method update.
@Override
public Template update(Template incoming) {
validateIconParams(incoming);
Template result = performUpdate(incoming, new QueryIdResolver<>(QueryType.GetVmTemplate, GetVmTemplateParameters.class), ActionType.UpdateVmTemplate, new UpdateParametersProvider());
if (result != null) {
DisplayHelper.adjustDisplayData(this, result);
}
return result;
}
use of org.ovirt.engine.api.model.Template in project ovirt-engine by oVirt.
the class BackendTemplateTagResource method addParents.
@Override
protected Tag addParents(Tag tag) {
Template template = new Template();
template.setId(templateId.toString());
tag.setTemplate(template);
return tag;
}
use of org.ovirt.engine.api.model.Template in project ovirt-engine by oVirt.
the class BackendTemplateWatchdogsResource method addParents.
@Override
public Watchdog addParents(Watchdog watchdog) {
Template template = new Template();
template.setId(templateId.toString());
watchdog.setTemplate(template);
return watchdog;
}
Aggregations