return UserRightsSet.WRITE_REGION_ADMIN_DIRECTORY;
}
@Override
protected void set(Danger entity, DangerDetails details) throws ClipsServerException {
Danger danger = entity;
DangerDetails d = details;
danger.setTitle(d.title);
danger.setDirty(details.dirty);
danger.setFrequency(d.frequency);
danger.setDescription(d.description);
Danger parent = null;
if(d.parentItem > 0) {
parent = findEntity(Danger.class, d.parentItem);
}
danger.setReferred(parent);
}