Class WebacAclServiceImpl

    • Method Detail

      • find

        public WebacAcl find​(Transaction transaction,
                             FedoraId fedoraId)
        Description copied from interface: WebacAclService
        Retrieve an existing WebACL by transaction and path
        Specified by:
        find in interface WebacAclService
        Parameters:
        transaction - the transaction
        fedoraId - the fedoraID to the resource the ACL is part of
        Returns:
        retrieved ACL
      • create

        public void create​(Transaction transaction,
                           FedoraId fedoraId,
                           String userPrincipal,
                           org.apache.jena.rdf.model.Model model)
        Description copied from interface: WebacAclService
        Retrieve or create a new WebACL by transaction and path
        Specified by:
        create in interface WebacAclService
        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.