-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensures that deleting a definition will also delete the filter references
- Loading branch information
Showing
4 changed files
with
116 additions
and
7 deletions.
There are no files selected for viewing
6 changes: 5 additions & 1 deletion
6
...rnet2/tier/shibboleth/admin/ui/repository/CustomEntityAttributeFilterValueRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
package edu.internet2.tier.shibboleth.admin.ui.repository; | ||
|
||
import java.util.List; | ||
|
||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
import edu.internet2.tier.shibboleth.admin.ui.domain.CustomEntityAttributeDefinition; | ||
import edu.internet2.tier.shibboleth.admin.ui.domain.filters.CustomEntityAttributeFilterValue; | ||
import edu.internet2.tier.shibboleth.admin.ui.domain.filters.EntityAttributesFilter; | ||
|
||
// Not entirely sure this is needed for the core, but it did make validation/unit testing a whole lot easier | ||
public interface CustomEntityAttributeFilterValueRepository extends JpaRepository<CustomEntityAttributeFilterValue, Long> { | ||
// Not entirely sure this is needed for the core, but it did make validation/unit testing a whole lot easier | ||
CustomEntityAttributeFilterValue findByEntityAttributesFilterAndCustomEntityAttributeDefinition(EntityAttributesFilter eaf , CustomEntityAttributeDefinition cead); | ||
|
||
List<CustomEntityAttributeFilterValue> findAllByCustomEntityAttributeDefinition(CustomEntityAttributeDefinition definition); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters