@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 or create a Datastream instance by pid and dsid
|
exists, findNode, findOrCreateNode, tagHierarchyWithPairtreeMixin
public BinaryServiceImpl()
public FedoraBinary findOrCreate(FedoraSession session, String path)
findOrCreate
in interface Service<FedoraBinary>
path
- jcr path to the datastreamsession
- the sessionpublic FedoraBinary find(FedoraSession session, String path)
find
in interface Service<FedoraBinary>
path
- jcr path to the datastreamsession
- the sessionCopyright © 2013–2017 DuraSpace, Inc.. All rights reserved.