Package org.fcrepo.kernel.impl.models
Class ContainerImpl
- java.lang.Object
-
- org.fcrepo.kernel.impl.models.FedoraResourceImpl
-
- org.fcrepo.kernel.impl.models.ContainerImpl
-
- All Implemented Interfaces:
org.fcrepo.kernel.api.models.Container,org.fcrepo.kernel.api.models.FedoraResource
- Direct Known Subclasses:
WebacAclImpl
public class ContainerImpl extends FedoraResourceImpl implements org.fcrepo.kernel.api.models.Container
Implementation of an LDP Container resource- Author:
- bbpennel
-
-
Field Summary
-
Fields inherited from class org.fcrepo.kernel.impl.models.FedoraResourceImpl
fedoraId, resourceFactory, transaction
-
-
Constructor Summary
Constructors Constructor Description ContainerImpl(org.fcrepo.kernel.api.identifiers.FedoraId fedoraID, org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.persistence.api.PersistentStorageSessionManager pSessionManager, org.fcrepo.kernel.api.models.ResourceFactory resourceFactory, org.fcrepo.kernel.api.cache.UserTypesCache userTypesCache)Construct the container
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<org.fcrepo.kernel.api.models.FedoraResource>getChildren(Boolean recursive)org.fcrepo.kernel.api.models.FedoraResourcegetDescribedResource()List<URI>getSystemTypes(boolean forRdf)-
Methods inherited from class org.fcrepo.kernel.impl.models.FedoraResourceImpl
findMementoByDatetime, getAcl, getArchivalGroupId, getContainer, getCreatedBy, getCreatedDate, getDescription, getEtagValue, getFedoraId, getId, getInteractionModel, getLastModifiedBy, getLastModifiedDate, getMementoDatetime, getOriginalResource, getParent, getParentId, getSession, getStateToken, getStorageRelativePath, getTimeMap, getTriples, getTypes, getUserTypes, hasProperty, hasType, isAcl, isMemento, isOriginalResource, resolveSystemTypes, setArchivalGroupId, setCreatedBy, setCreatedDate, setEtag, setInteractionModel, setIsArchivalGroup, setIsMemento, setLastModifiedBy, setLastModifiedDate, setMementoDatetime, setParentId, setStateToken, setStorageRelativePath, 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, getContainer, getCreatedBy, getCreatedDate, getDescription, getEtagValue, getFedoraId, getId, getInteractionModel, getLastModifiedBy, getLastModifiedDate, getMementoDatetime, getOriginalResource, getParent, getParentId, getStateToken, getStorageRelativePath, getTimeMap, getTriples, getTypes, getUserTypes, hasProperty, hasType, isAcl, isMemento, isOriginalResource
-
-
-
-
Constructor Detail
-
ContainerImpl
public ContainerImpl(org.fcrepo.kernel.api.identifiers.FedoraId fedoraID, org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.persistence.api.PersistentStorageSessionManager pSessionManager, org.fcrepo.kernel.api.models.ResourceFactory resourceFactory, org.fcrepo.kernel.api.cache.UserTypesCache userTypesCache)
Construct the container- Parameters:
fedoraID- internal identifiertransaction- transactionpSessionManager- session managerresourceFactory- resource factoryuserTypesCache- the user types cache
-
-
Method Detail
-
getDescribedResource
public org.fcrepo.kernel.api.models.FedoraResource getDescribedResource()
- Specified by:
getDescribedResourcein interfaceorg.fcrepo.kernel.api.models.FedoraResource- Overrides:
getDescribedResourcein classFedoraResourceImpl
-
getSystemTypes
public List<URI> getSystemTypes(boolean forRdf)
- Specified by:
getSystemTypesin interfaceorg.fcrepo.kernel.api.models.FedoraResource- Overrides:
getSystemTypesin classFedoraResourceImpl
-
getChildren
public Stream<org.fcrepo.kernel.api.models.FedoraResource> getChildren(Boolean recursive)
- Specified by:
getChildrenin interfaceorg.fcrepo.kernel.api.models.FedoraResource- Overrides:
getChildrenin classFedoraResourceImpl
-
-