Interface ExampleEntityRepositoryCustom
- All Known Subinterfaces:
ExampleEntityRepository
- All Known Implementing Classes:
ExampleEntityRepositoryImpl
public interface ExampleEntityRepositoryCustom
The example entity repository custom.
- Author:
- Christian Bremer
-
Method Summary
Modifier and TypeMethodDescriptionchangeOwnerByOtherContent(String otherContent, AclUserContext userContext, String newOwner) Change owner by other content optional.findByOtherContent(String otherContent, AclUserContext userContext, AccessEvaluation accessEvaluation, Collection<String> permissions) Find by other content optional.modifyAclByOtherContent(String otherContent, AclUserContext userContext, AccessControlListModifications modifications) Modify acl by other content optional.replaceAclByOtherContent(String otherContent, Acl newAcl) Replace acl by other content optional.
-
Method Details
-
findByOtherContent
Optional<ExampleEntity> findByOtherContent(String otherContent, AclUserContext userContext, AccessEvaluation accessEvaluation, Collection<String> permissions) Find by other content optional.- Parameters:
otherContent- the other contentuserContext- the user contextaccessEvaluation- the access evaluationpermissions- the permissions- Returns:
- the optional
-
modifyAclByOtherContent
Optional<ExampleEntity> modifyAclByOtherContent(String otherContent, AclUserContext userContext, AccessControlListModifications modifications) Modify acl by other content optional.- Parameters:
otherContent- the other contentuserContext- the user contextmodifications- the modifications- Returns:
- the optional
-
replaceAclByOtherContent
Replace acl by other content optional.- Parameters:
otherContent- the other contentnewAcl- the new acl- Returns:
- the optional
-
changeOwnerByOtherContent
Optional<ExampleEntity> changeOwnerByOtherContent(String otherContent, AclUserContext userContext, String newOwner) Change owner by other content optional.- Parameters:
otherContent- the other contentuserContext- the user contextnewOwner- the new owner- Returns:
- the optional
-