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 |
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.
|
PathLockManager.AcquiredLock |
DefaultPathLockManager.lockForWrite(String path,
FedoraSession session,
NodeService nodeService) |
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
|
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.
|
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
|
String |
VersionServiceImpl.createVersion(FedoraSession session,
String absPath,
String label) |
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
|
Container |
ContainerServiceImpl.find(FedoraSession session,
String path)
Retrieve a
Container instance by pid and dsid |
FedoraBinary |
BinaryServiceImpl.find(FedoraSession session,
String path)
Retrieve a Datastream instance by pid and dsid
|
protected javax.jcr.Node |
AbstractService.findNode(FedoraSession session,
String path) |
FedoraResource |
NodeServiceImpl.findOrCreate(FedoraSession session,
String path) |
Container |
ContainerServiceImpl.findOrCreate(FedoraSession session,
String path) |
FedoraBinary |
BinaryServiceImpl.findOrCreate(FedoraSession session,
String path)
Retrieve a T 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
|
void |
VersionServiceImpl.removeVersion(FedoraSession session,
String absPath,
String label) |
Collection<Throwable> |
RepositoryServiceImpl.restoreRepository(FedoraSession session,
File backupDirectory) |
void |
VersionServiceImpl.revertToVersion(FedoraSession session,
String absPath,
String label) |
Copyright © 2013–2017 DuraSpace, Inc.. All rights reserved.