public interface Service<T>
Modifier and Type | Method and Description |
---|---|
boolean |
exists(FedoraSession session,
String path)
Test whether T exists at the given path in the
repository
|
T |
find(FedoraSession session,
String path)
Retrieve an existing T instance by session and path
|
T |
findOrCreate(FedoraSession session,
String path)
Retrieve a T instance by session and path
|
boolean exists(FedoraSession session, String path)
path
- the pathsession
- the sessionT find(FedoraSession session, String path)
path
- the path to the nodesession
- the sessionT findOrCreate(FedoraSession session, String path)
session
- the sessionpath
- the path to the nodeCopyright © 2013–2019 DuraSpace, Inc.. All rights reserved.