@Component public class ContainerServiceImpl extends AbstractService implements ContainerService
Container without using the JCR API.jcrTools| Constructor and Description |
|---|
ContainerServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Container |
cast(javax.jcr.Node node)
Retrieve a T instance from a node
|
Container |
find(javax.jcr.Session session,
String path)
Retrieve a
Container instance by pid and dsid |
Container |
findOrCreate(javax.jcr.Session session,
String path)
Retrieve a T instance by session and path
|
exists, findNode, findOrCreateNode, tagHierarchyWithPairtreeMixinpublic ContainerServiceImpl()
public Container findOrCreate(javax.jcr.Session session, String path)
ServicefindOrCreate in interface Service<Container>path - the pathsession - the sessionContainer with the proffered PIDpublic Container find(javax.jcr.Session session, String path)
Container instance by pid and dsidCopyright © 2013–2015 DuraSpace, Inc.. All rights reserved.