if (isSkip()) {
if (entity.getId() == null) {
TagEntity found = getDao().getTagDao().getByName(
entity.getParent(), entity.getName());
if (found == null) {
throw new DaoTaskException("Tag not found while "
+ "skipping save operation. " + entity.getName());
}
entity.setId(found.getId());
}
}