Package org.fcrepo.kernel.api.services
Interface WebacAclService
-
- All Known Implementing Classes:
WebacAclServiceImpl
public interface WebacAclService
Service for creating and retrievingWebacAcl
- Since:
- 6.0.0
- Author:
- peichman, whikloj
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 pathWebacAcl
find(Transaction transaction, FedoraId fedoraId)
Retrieve an existing WebACL by transaction and path
-
-
-
Method Detail
-
find
WebacAcl find(Transaction transaction, FedoraId fedoraId)
Retrieve an existing WebACL by transaction and path- Parameters:
fedoraId
- the fedoraID to the resource the ACL is part oftransaction
- the transaction- 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 transactionfedoraId
- the fedoraID to the resource the ACL is part ofuserPrincipal
- the user creating the ACL.model
- the contents of the ACL RDF.
-
-