Package | Description |
---|---|
org.fcrepo.http.api |
This package provides a RESTful API for several content management and
core repository services.
|
org.fcrepo.http.commons.session |
Types and implementation classes that define and provide sessions.
|
org.fcrepo.kernel.api | |
org.fcrepo.kernel.api.services | |
org.fcrepo.kernel.modeshape |
This package contains abstractions for
FedoraResourceImpl types and
some types and functionality for Transactions. |
org.fcrepo.kernel.modeshape.services |
Modifier and Type | Method and Description |
---|---|
PathLockManager.AcquiredLock |
DefaultPathLockManager.lockForWrite(String path,
FedoraSession session,
NodeService nodeService) |
PathLockManager.AcquiredLock |
PathLockManager.lockForWrite(String path,
FedoraSession session,
NodeService nodeService)
Locks the necessary resources affected in order to safely write to a resource
at the given path.
|
Modifier and Type | Method and Description |
---|---|
FedoraSession |
HttpSession.getFedoraSession()
Return the underlying FedoraSession
|
FedoraSession |
SessionFactory.getInternalSession()
Get a new JCR Session
|
Constructor and Description |
---|
HttpSession(FedoraSession session)
Create an HTTP session from a Fedora session
|
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
|
FedoraBinary |
VersionService.createBinaryVersion(FedoraSession session,
FedoraBinary resource,
Instant dateTime,
InputStream contentStream,
Collection<URI> checksums,
StoragePolicyDecisionPoint storagePolicyDecisionPoint)
Explicitly creates a version of a binary resource.
|
FedoraBinary |
VersionService.createBinaryVersion(FedoraSession session,
FedoraBinary resource,
Instant dateTime,
StoragePolicyDecisionPoint storagePolicyDecisionPoint)
Explicitly creates a version of a binary resource from the current state of that binary.
|
FedoraBinary |
VersionService.createExternalBinaryVersion(FedoraSession session,
FedoraBinary resource,
Instant dateTime,
Collection<URI> checksums,
String externalHandling,
String externalUrl) |
FedoraResource |
VersionService.createVersion(FedoraSession session,
FedoraResource resource,
IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator,
Instant dateTime)
Explicitly creates a version for the resource at the path provided.
|
FedoraResource |
VersionService.createVersion(FedoraSession session,
FedoraResource resource,
IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator,
Instant dateTime,
InputStream rdfInputStream,
org.apache.jena.riot.Lang rdfFormat)
Explicitly creates a version for the resource at the path provided for the date/time 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
|
FedoraBinary |
BinaryService.findOrCreateBinary(FedoraSession session,
String path)
Retrieves a FedoraBinary instance by session and path.
|
NonRdfSourceDescription |
BinaryService.findOrCreateDescription(FedoraSession session,
String path)
Retrieves a binary description 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
|
Collection<Throwable> |
RepositoryService.restoreRepository(FedoraSession session,
File backupDirectory)
This methods restores the repository from a backup
|
Modifier and Type | Class and Description |
---|---|
class |
FedoraSessionImpl
An implementation of the FedoraSession abstraction
|
Modifier and Type | Method and Description |
---|---|
FedoraSession |
FedoraRepositoryImpl.login() |
FedoraSession |
FedoraRepositoryImpl.login(Object credentials) |
Modifier and Type | Method and Description |
---|---|
static javax.jcr.Session |
FedoraSessionImpl.getJcrSession(FedoraSession session)
Get the internal JCR session from an existing FedoraSession
|
Modifier and Type | Method and Description |
---|---|
FedoraSession |
BatchServiceImpl.getSession(String sessionId,
String username) |
Modifier and Type | Method and Description |
---|---|
Collection<Throwable> |
RepositoryServiceImpl.backupRepository(FedoraSession session,
File backupDirectory) |
void |
BatchServiceImpl.begin(FedoraSession session,
String username) |
void |
NodeServiceImpl.copyObject(FedoraSession session,
String source,
String destination)
Copy an existing object from the source path to the destination path
|
FedoraBinary |
VersionServiceImpl.createBinaryVersion(FedoraSession session,
FedoraBinary resource,
Instant dateTime,
InputStream contentStream,
Collection<URI> checksums,
StoragePolicyDecisionPoint storagePolicyDecisionPoint) |
FedoraBinary |
VersionServiceImpl.createBinaryVersion(FedoraSession session,
FedoraBinary resource,
Instant dateTime,
StoragePolicyDecisionPoint storagePolicyDecisionPoint) |
FedoraBinary |
VersionServiceImpl.createExternalBinaryVersion(FedoraSession session,
FedoraBinary resource,
Instant dateTime,
Collection<URI> checksums,
String externalHandling,
String externalUrl) |
FedoraResource |
VersionServiceImpl.createVersion(FedoraSession session,
FedoraResource resource,
IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator,
Instant dateTime) |
FedoraResource |
VersionServiceImpl.createVersion(FedoraSession session,
FedoraResource resource,
IdentifierConverter<org.apache.jena.rdf.model.Resource,FedoraResource> idTranslator,
Instant dateTime,
InputStream rdfInputStream,
org.apache.jena.riot.Lang rdfFormat) |
boolean |
NodeServiceImpl.exists(FedoraSession session,
String path) |
boolean |
AbstractService.exists(FedoraSession session,
String path)
test node existence at path
|
FedoraResource |
NodeServiceImpl.find(FedoraSession session,
String path)
Retrieve an existing Fedora resource at the given path
|
FedoraBinary |
BinaryServiceImpl.find(FedoraSession session,
String path)
Retrieve a Datastream instance by pid and dsid
|
Container |
ContainerServiceImpl.find(FedoraSession session,
String path)
Retrieve a
Container instance by pid and dsid |
protected javax.jcr.Node |
AbstractService.findNode(FedoraSession session,
String path) |
FedoraResource |
NodeServiceImpl.findOrCreate(FedoraSession session,
String path) |
FedoraBinary |
BinaryServiceImpl.findOrCreate(FedoraSession session,
String path)
Retrieve a T instance by session and path
|
Container |
ContainerServiceImpl.findOrCreate(FedoraSession session,
String path) |
FedoraBinary |
BinaryServiceImpl.findOrCreateBinary(FedoraSession session,
String path)
Retrieves a FedoraBinary instance by session and path.
|
NonRdfSourceDescription |
BinaryServiceImpl.findOrCreateDescription(FedoraSession session,
String path)
Retrieves a binary description instance by session and path.
|
protected javax.jcr.Node |
AbstractService.findOrCreateNode(FedoraSession session,
String path,
String finalNodeType) |
void |
NodeServiceImpl.moveObject(FedoraSession session,
String source,
String destination)
Move an existing object from the source path to the destination path
|
Collection<Throwable> |
RepositoryServiceImpl.restoreRepository(FedoraSession session,
File backupDirectory) |
Copyright © 2013–2018 DuraSpace, Inc.. All rights reserved.