Interface ApplicationRepository<D>

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<D,​String>, com.broadleafcommerce.common.extension.DomainTypeAware, org.springframework.data.repository.Repository<D,​String>
    All Known Subinterfaces:
    JpaApplicationRepository<D>

    @NoRepositoryBean
    public interface ApplicationRepository<D>
    extends org.springframework.data.repository.CrudRepository<D,​String>, com.broadleafcommerce.common.extension.DomainTypeAware
    Handle persistence operations related to Applications
    Author:
    Jeff Fischer
    • Method Detail

      • findByIdentifierTypeAndIdentifierValueAndDeactivatedIsFalse

        Optional<D> findByIdentifierTypeAndIdentifierValueAndDeactivatedIsFalse​(String identifierType,
                                                                                String identifierValue)
      • findByCustomerContextId

        List<D> findByCustomerContextId​(String customerContextId)
      • findByTenantId

        List<D> findByTenantId​(String tenantId)
        Find applications associated with a tenant.
        Parameters:
        tenantId - The tenant ID
        Returns:
        A list of applications for the tenant.
      • findByIdIn

        List<D> findByIdIn​(Collection<String> ids)
        Find applications by a collection of IDs
        Parameters:
        ids - The application IDs
        Returns:
        A list of Applications