@Component public class BinaryServiceImpl extends AbstractService implements BinaryService
jcrTools
Constructor and Description |
---|
BinaryServiceImpl() |
Modifier and Type | Method and Description |
---|---|
FedoraBinary |
find(FedoraSession session,
String path)
Retrieve a Datastream instance by pid and dsid
|
FedoraBinary |
findOrCreate(FedoraSession session,
String path)
Retrieve a T instance by session and path
|
exists, findNode, findOrCreateNode, tagHierarchyWithPairtreeMixin
public BinaryServiceImpl()
public FedoraBinary findOrCreate(FedoraSession session, String path)
findOrCreate
in interface Service<FedoraBinary>
session
- the sessionpath
- the path to the nodepublic FedoraBinary find(FedoraSession session, String path)
find
in interface Service<FedoraBinary>
path
- jcr path to the datastreamsession
- the sessionCopyright © 2013–2018 DuraSpace, Inc.. All rights reserved.