Class AbstractExternalDataProvider

    • Constructor Detail

      • AbstractExternalDataProvider

        public AbstractExternalDataProvider()
    • Method Detail

      • setSupportedEntityTypes

        public void setSupportedEntityTypes​(List<String> supportedEntityTypes)
      • getSupportedEntityTypes

        public List<String> getSupportedEntityTypes()
      • supportsEntityType

        public boolean supportsEntityType​(String entityType)
        Return true if the supportedEntityTypes list is empty or contains the requested entity type
        Specified by:
        supportsEntityType in interface ExternalDataProvider
        Parameters:
        entityType - the entity type to check
        Returns:
        true if the external provider can be used to search for items of the specified type