Search in sources :

Example 1 with ErrorConfirmRequest

use of org.openforis.collect.remoting.service.NodeUpdateRequest.ErrorConfirmRequest in project collect by openforis.

the class ConfirmErrorRequestProxy method toNodeUpdateRequest.

@Override
public ErrorConfirmRequest toNodeUpdateRequest(CollectRecord record) {
    ErrorConfirmRequest opts = new NodeUpdateRequest.ErrorConfirmRequest();
    Attribute<?, ?> attribute = (Attribute<?, ?>) record.getNodeByInternalId(nodeId);
    opts.setAttribute(attribute);
    return opts;
}
Also used : Attribute(org.openforis.idm.model.Attribute) ErrorConfirmRequest(org.openforis.collect.remoting.service.NodeUpdateRequest.ErrorConfirmRequest)

Aggregations

ErrorConfirmRequest (org.openforis.collect.remoting.service.NodeUpdateRequest.ErrorConfirmRequest)1 Attribute (org.openforis.idm.model.Attribute)1