| Package | Description |
|---|---|
| org.fcrepo.kernel.api | |
| org.fcrepo.kernel.api.services |
| Modifier and Type | Method and Description |
|---|---|
FedoraSession |
FedoraRepository.login()
Login to the repository
|
FedoraSession |
FedoraRepository.login(Object credentials)
Login to the repository with credentials
|
| Modifier and Type | Method and Description |
|---|---|
default FedoraSession |
BatchService.getSession(String sessionId)
Retrieve an open
FedoraSession for an anonymous user |
FedoraSession |
BatchService.getSession(String sessionId,
String username)
Retrieve an open
FedoraSession for a given user |
| Modifier and Type | Method and Description |
|---|---|
Collection<Throwable> |
RepositoryService.backupRepository(FedoraSession session,
File backupDirectory)
This method backups up a running repository
|
default void |
BatchService.begin(FedoraSession session)
Create a new batch operation with a FedoraSession for the anonymous user and add it to the currently open ones
|
void |
BatchService.begin(FedoraSession session,
String username)
Create a new batch operation with a FedoraSession and add it to the currently open ones
|
void |
NodeService.copyObject(FedoraSession session,
String source,
String destination)
Copy an existing object from the source path to the destination path
|
String |
VersionService.createVersion(FedoraSession session,
String absPath,
String label)
Explicitly creates a version for the nodes at each path provided.
|
boolean |
Service.exists(FedoraSession session,
String path)
Test whether T exists at the given path in the
repository
|
T |
Service.find(FedoraSession session,
String path)
Retrieve an existing T instance by session and path
|
T |
Service.findOrCreate(FedoraSession session,
String path)
Retrieve a T instance by session and path
|
void |
NodeService.moveObject(FedoraSession session,
String source,
String destination)
Move an existing object from the source path to the destination path
|
void |
VersionService.removeVersion(FedoraSession session,
String absPath,
String label)
Remove a version of a node.
|
Collection<Throwable> |
RepositoryService.restoreRepository(FedoraSession session,
File backupDirectory)
This methods restores the repository from a backup
|
void |
VersionService.revertToVersion(FedoraSession session,
String absPath,
String label)
Reverts the node to the version identified by the label.
|
Copyright © 2013–2023 DuraSpace, Inc.. All rights reserved.