if (owner != null) {
getEditor().getRepository().setOwnerId(owner.getLocalID());
}
getEditor().prepareForUpdate();
if (getEditor().validate(extractMessageBroker())) {
HrCompleteUpdateRequest req = new HrCompleteUpdateRequest(context, getEditor().getRepository());
boolean creating = req.execute();
extractMessageBroker().addSuccessMessage(
creating ? "catalog.harvest.manage.message.create.2" : "catalog.harvest.manage.message.update.2");
}