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 toApplications
- Author:
- Jeff Fischer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<D>
findByCustomerContextId(String customerContextId)
Optional<D>
findByIdentifierTypeAndIdentifierValueAndDeactivatedIsFalse(String identifierType, String identifierValue)
List<D>
findByIdIn(Collection<String> ids)
Find applications by a collection of IDsList<D>
findByTenantId(String tenantId)
Find applications associated with a tenant.
-
-
-
Method Detail
-
findByIdentifierTypeAndIdentifierValueAndDeactivatedIsFalse
Optional<D> findByIdentifierTypeAndIdentifierValueAndDeactivatedIsFalse(String identifierType, String identifierValue)
-
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
-
-