class HibernateMenuDAO extends HibernatePersistentObjectDAO<Menu> implements MenuDAO {

	@Override
	public boolean delete(long menuId, int code) throws PersistenceException {
		boolean result = true;
		Menu menu = (Menu) findById(menuId);
		menu.setDeleted(code);
		result = store(menu);
		return result;
	}

	protected  HibernateMenuDAO();

}