@Component public class BinaryServiceImpl extends AbstractService implements BinaryService
jcrTools| Constructor and Description |
|---|
BinaryServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
FedoraBinary |
cast(javax.jcr.Node node)
Retrieve a Datastream instance by pid and dsid
|
FedoraBinary |
find(javax.jcr.Session session,
String path)
Retrieve a Datastream instance by pid and dsid
|
FedoraBinary |
findOrCreate(javax.jcr.Session session,
String path)
Retrieve or create a Datastream instance by pid and dsid
|
exists, findNode, findOrCreateNodepublic BinaryServiceImpl()
public FedoraBinary findOrCreate(javax.jcr.Session session, String path)
findOrCreate in interface Service<FedoraBinary>path - jcr path to the datastreamjavax.jcr.RepositoryExceptionpublic FedoraBinary find(javax.jcr.Session session, String path)
find in interface Service<FedoraBinary>path - jcr path to the datastreamjavax.jcr.RepositoryExceptionpublic FedoraBinary cast(javax.jcr.Node node)
cast in interface Service<FedoraBinary>node - datastream nodeCopyright © 2013-2014 DuraSpace, Inc.. All Rights Reserved.