return result;
}
protected void saveHistory(AdminPersistenceContext context, P entity,HistoryAction historyAction)
{
BasePersistentHistoryEntry entry = historyEntryFactory.generateHistory(context,entity,historyAction);
Dao<P,ID> dao = context.getEntityPlugin().getDao();
dao.saveHistory(entry);
}