public class FedoraRepositoryImpl extends Object implements FedoraRepository
| Constructor and Description |
|---|
FedoraRepositoryImpl(javax.jcr.Repository repository)
Create a FedoraRepositoryImpl with a JCR-based Repository
|
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.Repository |
getJcrRepository()
Retrieve the internal JCR Repository object
|
static javax.jcr.Repository |
getJcrRepository(FedoraRepository repository)
Retrieve the internal JCR Repository from a FedoraRepository object
|
FedoraSession |
login()
Login to the repository
|
FedoraSession |
login(Object credentials)
Login to the repository with credentials
|
public FedoraRepositoryImpl(javax.jcr.Repository repository)
repository - the JCR repositorypublic FedoraSession login()
FedoraRepositorylogin in interface FedoraRepositorypublic FedoraSession login(Object credentials)
FedoraRepositorylogin in interface FedoraRepositorycredentials - the credentialspublic javax.jcr.Repository getJcrRepository()
public static javax.jcr.Repository getJcrRepository(FedoraRepository repository)
repository - the FedoraRepositoryCopyright © 2013–2017 DuraSpace, Inc.. All rights reserved.