Class HibernateEntityExistenceFilter

  • All Implemented Interfaces:
    ImportedObjectFilter

    public class HibernateEntityExistenceFilter
    extends Object
    implements ImportedObjectFilter
    This filter verifies whether the imported object has the corresponding Hibernate entity or not.
    Since:
    8.1.0
    • Constructor Detail

      • HibernateEntityExistenceFilter

        public HibernateEntityExistenceFilter​(HibernateMetadataHelper hibernateMetadataHelper)
    • Method Detail

      • test

        public boolean test​(ImportedObject importedObject,
                            Class<?> entityClass)
        Specified by:
        test in interface ImportedObjectFilter
        Parameters:
        importedObject - the object to verify
        Returns:
        true if the entity is not banned