use of com.enonic.xp.lib.node.mapper.NodeCommitEntryMapper in project xp by enonic.
the class CommitNodeHandler method execute.
@Override
public NodeCommitEntryMapper execute() {
final NodeCommitEntry nodeCommitEntry = NodeCommitEntry.create().message(message).build();
final NodeIds nodeIds = getNodeIds();
final NodeCommitEntry createdCommitEntry = nodeService.commit(nodeCommitEntry, nodeIds);
return new NodeCommitEntryMapper(createdCommitEntry);
}
Aggregations