Package org.fcrepo.kernel.api.services
Interface WebacAclService
public interface WebacAclService
Service for creating and retrieving
WebacAcl- Since:
- 6.0.0
- Author:
- peichman, whikloj
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(Transaction transaction, FedoraId fedoraId, String userPrincipal, org.apache.jena.rdf.model.Model model) Retrieve or create a new WebACL by transaction and pathfind(Transaction transaction, FedoraId fedoraId) Retrieve an existing WebACL by transaction and path
-
Method Details
-
find
Retrieve an existing WebACL by transaction and path- Parameters:
transaction- the transactionfedoraId- 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 transactionfedoraId- the fedoraID to the resource the ACL is part ofuserPrincipal- the user creating the ACL.model- the contents of the ACL RDF.
-