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 Summary
Modifier and TypeMethodDescriptionfindByCustomerContextId
(String customerContextId) findByIdentifierTypeAndIdentifierValueAndDeactivatedIsFalse
(String identifierType, String identifierValue) findByIdIn
(Collection<String> ids) Find applications by a collection of IDsfindByTenantId
(String tenantId) Find applications associated with a tenant.Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
Methods inherited from interface com.broadleafcommerce.common.extension.DomainTypeAware
getDomainType
-
Method Details
-
findByIdentifierTypeAndIdentifierValueAndDeactivatedIsFalse
-
findByCustomerContextId
-
findByTenantId
Find applications associated with a tenant.- Parameters:
tenantId
- The tenant ID- Returns:
- A list of applications for the tenant.
-
findByIdIn
Find applications by a collection of IDs- Parameters:
ids
- The application IDs- Returns:
- A list of Applications
-