Package org.fcrepo.kernel.impl.models
Class WebacAclImpl
- java.lang.Object
-
- org.fcrepo.kernel.impl.models.FedoraResourceImpl
-
- org.fcrepo.kernel.impl.models.ContainerImpl
-
- org.fcrepo.kernel.impl.models.WebacAclImpl
-
- All Implemented Interfaces:
Container
,FedoraResource
,WebacAcl
public class WebacAclImpl extends ContainerImpl implements WebacAcl
Webac Acl class- Author:
- whikloj
-
-
Field Summary
-
Fields inherited from class org.fcrepo.kernel.impl.models.FedoraResourceImpl
fedoraId, resourceFactory, transaction
-
-
Constructor Summary
Constructors Constructor Description WebacAclImpl(FedoraId fedoraID, Transaction transaction, PersistentStorageSessionManager pSessionManager, ResourceFactory resourceFactory, UserTypesCache userTypesCache)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FedoraResource
getContainer()
Get the container of this resourceboolean
isAcl()
Returns true if this resource is an ACL.boolean
isOriginalResource()
Check if a resource is an original resource (ie versionable, as opposed to non-versionable resources like mementos, timemaps, and acls).-
Methods inherited from class org.fcrepo.kernel.impl.models.ContainerImpl
getChildren, getDescribedResource, getSystemTypes
-
Methods inherited from class org.fcrepo.kernel.impl.models.FedoraResourceImpl
findMementoByDatetime, getAcl, getArchivalGroupId, getCreatedBy, getCreatedDate, getDescription, getEtagValue, getFedoraId, getId, getInteractionModel, getLastModifiedBy, getLastModifiedDate, getMementoDatetime, getOriginalResource, getParent, getParentId, getSession, getStateToken, getTimeMap, getTriples, getTypes, getUserTypes, hasProperty, hasType, isMemento, resolveSystemTypes, setArchivalGroupId, setCreatedBy, setCreatedDate, setEtag, setInteractionModel, setIsArchivalGroup, setIsMemento, setLastModifiedBy, setLastModifiedDate, setMementoDatetime, setParentId, setStateToken, setTypes
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fcrepo.kernel.api.models.FedoraResource
findMementoByDatetime, getAcl, getArchivalGroupId, getChildren, getChildren, getCreatedBy, getCreatedDate, getDescribedResource, getDescription, getEtagValue, getFedoraId, getId, getInteractionModel, getLastModifiedBy, getLastModifiedDate, getMementoDatetime, getOriginalResource, getParent, getParentId, getStateToken, getSystemTypes, getTimeMap, getTriples, getTypes, getUserTypes, hasProperty, hasType, isMemento
-
-
-
-
Constructor Detail
-
WebacAclImpl
public WebacAclImpl(FedoraId fedoraID, Transaction transaction, PersistentStorageSessionManager pSessionManager, ResourceFactory resourceFactory, UserTypesCache userTypesCache)
Constructor- Parameters:
fedoraID
- the internal identifiertransaction
- the current transactionIdpSessionManager
- a session managerresourceFactory
- a resource factory instance.userTypesCache
- the user types cache
-
-
Method Detail
-
getContainer
public FedoraResource getContainer()
Description copied from interface:FedoraResource
Get the container of this resource- Specified by:
getContainer
in interfaceFedoraResource
- Overrides:
getContainer
in classFedoraResourceImpl
- Returns:
- the container of this resource
-
isOriginalResource
public boolean isOriginalResource()
Description copied from interface:FedoraResource
Check if a resource is an original resource (ie versionable, as opposed to non-versionable resources like mementos, timemaps, and acls).- Specified by:
isOriginalResource
in interfaceFedoraResource
- Overrides:
isOriginalResource
in classFedoraResourceImpl
- Returns:
- whether the resource is an original resource.
-
isAcl
public boolean isAcl()
Description copied from interface:FedoraResource
Returns true if this resource is an ACL.- Specified by:
isAcl
in interfaceFedoraResource
- Overrides:
isAcl
in classFedoraResourceImpl
- Returns:
- true if the resource is an ACL.
-
-