use of com.enonic.xp.lib.value.ScriptValueTranslatorResult in project xp by enonic.
the class CreateNodeHandler method execute.
@Override
public Object execute() {
final ScriptValueTranslatorResult params = getParams(this.params);
final CreateNodeParams createNodeParams = new CreateNodeParamsFactory().create(params);
final Node node = this.nodeService.create(createNodeParams);
return new NodeMapper(node);
}
Aggregations