@@ -0,0 +1,452 @@
+package com.github.aureliano.verbum_domini.helper;%0A%0Aimport com.github.aureliano.verbum_domini.core.bean.IBean;%0Aimport com.github.aureliano.verbum_domini.core.impl.dao.DaoFactory;%0A%0Apublic final class ServiceHelper %7B%0A%0A%09private ServiceHelper() %7B%0A%09%09super();%0A%09%7D%0A%09%0A%09public static boolean exist(Class%3C? extends IBean%3E type, String id) %7B%0A%09%09if (!id.matches(%22%5C%5Cd+%22)) %7B%0A%09%09%09return false;%0A%09%09%7D%0A%09%09%0A%09%09return DaoFactory.createDao(type).exist(Integer.parseInt(id));%0A%09%7D%0A%7D

Use fast method to verify entity existence.