Interface WebacAclService


public interface WebacAclService
Service for creating and retrieving WebacAcl
Since:
6.0.0
Author:
peichman, whikloj
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    create(Transaction transaction, FedoraId fedoraId, String userPrincipal, org.apache.jena.rdf.model.Model model)
    Retrieve or create a new WebACL by transaction and path
    find(Transaction transaction, FedoraId fedoraId)
    Retrieve an existing WebACL by transaction and path
  • Method Details

    • find

      WebacAcl find(Transaction transaction, FedoraId fedoraId)
      Retrieve an existing WebACL by transaction and path
      Parameters:
      transaction - the transaction
      fedoraId - the fedoraID to the resource the ACL is part of
      Returns:
      retrieved ACL
    • create

      void create(Transaction transaction, FedoraId fedoraId, String userPrincipal, org.apache.jena.rdf.model.Model model)
      Retrieve or create a new WebACL by transaction and path
      Parameters:
      transaction - the transaction
      fedoraId - the fedoraID to the resource the ACL is part of
      userPrincipal - the user creating the ACL.
      model - the contents of the ACL RDF.