return findByPrimaryKey(application.toString(), objectType.toString(), operationType.toString());
}
public static Permission findByPrimaryKey(String application, String objectType, String operationType) throws ObjectNotFoundException {
DatabaseFactory instance = DatabaseFactory.getInstance("rbac");
SQLQuery sql = SQL.getSQL(Permission.class, "findByPrimaryKey");
sql.setParameter("application", application);
sql.setParameter("objectType", objectType);
sql.setParameter("operationType", operationType);
return instance.query(Permission.class, sql);
}