@Component public class ContainerServiceImpl extends AbstractService implements ContainerService
Container
without using the JCR API.registeredPrefixes
Constructor and Description |
---|
ContainerServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Container |
find(FedoraSession session,
String path)
Retrieve a
Container instance by pid and dsid |
Container |
findOrCreate(FedoraSession session,
String path)
Retrieve a T instance by session and path
|
Container |
findOrCreate(FedoraSession session,
String path,
String interactionModel)
Find or create a container node using the provided interaction model.
|
decodePath, encodePath, exists, findNode, findOrCreateNode, registeredPrefixes
public ContainerServiceImpl()
public Container findOrCreate(FedoraSession session, String path, String interactionModel)
ContainerService
findOrCreate
in interface ContainerService
session
- the sessionpath
- the pathinteractionModel
- interaction model for the container nodepublic Container findOrCreate(FedoraSession session, String path)
Service
findOrCreate
in interface Service<Container>
path
- the pathsession
- the sessionContainer
with the proffered PIDCopyright © 2013–2019 DuraSpace, Inc.. All rights reserved.