Package org.fcrepo.kernel.impl.services
Class WebacAclServiceImpl
- java.lang.Object
-
- org.fcrepo.kernel.impl.services.AbstractService
-
- org.fcrepo.kernel.impl.services.WebacAclServiceImpl
-
- All Implemented Interfaces:
WebacAclService
@Component public class WebacAclServiceImpl extends AbstractService implements WebacAclService
Implementation ofWebacAclService
- Author:
- dbernstein
-
-
Field Summary
-
Fields inherited from class org.fcrepo.kernel.impl.services.AbstractService
containmentIndex, fedoraPropsConfig, membershipService, referenceService, searchIndex
-
-
Constructor Summary
Constructors Constructor Description WebacAclServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete 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-
Methods inherited from class org.fcrepo.kernel.impl.services.AbstractService
checkAclLinkHeader, determineInteractionModel, ensureValidACLAuthorization, ensureValidDirectContainer, lockArchivalGroupResource, lockArchivalGroupResourceFromParent, recordEvent, updateReferences
-
-
-
-
Constructor Detail
-
WebacAclServiceImpl
public 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 interfaceWebacAclService
- Parameters:
transaction
- the transactionfedoraId
- 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 interfaceWebacAclService
- 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.
-
-