Interface ExampleEntityRepositoryCustom

All Known Subinterfaces:
ExampleEntityRepository
All Known Implementing Classes:
ExampleEntityRepositoryImpl

public interface ExampleEntityRepositoryCustom
The example entity repository custom.
Author:
Christian Bremer
  • Method Details

    • findByOtherContent

      Optional<ExampleEntity> findByOtherContent(String otherContent, AclUserContext userContext, AccessEvaluation accessEvaluation, Collection<String> permissions)
      Find by other content optional.
      Parameters:
      otherContent - the other content
      userContext - the user context
      accessEvaluation - the access evaluation
      permissions - 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 content
      userContext - the user context
      modifications - the modifications
      Returns:
      the optional
    • replaceAclByOtherContent

      Optional<ExampleEntity> replaceAclByOtherContent(String otherContent, Acl newAcl)
      Replace acl by other content optional.
      Parameters:
      otherContent - the other content
      newAcl - 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 content
      userContext - the user context
      newOwner - the new owner
      Returns:
      the optional