| Modifier and Type | Class and Description |
|---|---|
class |
BadRequestException
Fedora exception indicating that the request was incomplete or invalid (HTTP
Status Code 400).
|
class |
FixityException
Exception thrown when a fixity check fails.
|
class |
ForbiddenException
Fedora exception indicating the requested resource cannot be accessed because
access controls do not allow it (HTTP Status Code 403).
|
class |
NotFoundException
Fedora exception indicating the requested resource was not found in the
repository.
|
class |
ReadOnlyException
Exception thrown when a write operation is attempted using a read-only
repository object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FedoraRepository.addNamespace(String prefix,
String uri)
Register a namespace.
|
void |
FedoraDatastream.checkFixity()
Check the size and checksum of the datastream content.
|
void |
FedoraResource.copy(String destination)
Copy this Resource to a new path.
|
FedoraDatastream |
FedoraRepository.createDatastream(String path,
FedoraContent content)
Create a new Datastream.
|
FedoraObject |
FedoraRepository.createObject(String path)
Create a new Object.
|
void |
FedoraResource.delete()
Remove this Resource.
|
boolean |
FedoraRepository.exists(String path)
Check whether a path is an existing resource.
|
FedoraDatastream |
FedoraRepository.findOrCreateDatastream(String path)
Get an existing Datastream if it exists, otherwise create a new Datastream.
|
FedoraObject |
FedoraRepository.findOrCreateObject(String path)
Get an existing Object if it exists, otherwise create a new Object.
|
Collection<FedoraResource> |
FedoraObject.getChildren(String mixin)
Get the Object and Datastream nodes that are children of the current Object.
|
InputStream |
FedoraDatastream.getContent()
Get the datastream content as an InputStream.
|
URI |
FedoraDatastream.getContentDigest()
Get the checksum of the datastream content.
|
Long |
FedoraDatastream.getContentSize()
Get the size of the datastream content in bytes.
|
String |
FedoraDatastream.getContentType()
Get the datastream content type (MIME type).
|
Date |
FedoraResource.getCreatedDate()
Get the creation date of this Resource.
|
FedoraDatastream |
FedoraRepository.getDatastream(String path)
Get an existing Datastream.
|
String |
FedoraResource.getEtagValue()
Get the ETag of this Resource.
|
String |
FedoraDatastream.getFilename()
Get the datastream filename.
|
Date |
FedoraResource.getLastModifiedDate()
Get the modification date of this Resource.
|
Collection<String> |
FedoraResource.getMixins()
Get the mixins assigned to this Resource.
|
String |
FedoraResource.getName()
Get the name of this Resource.
|
Iterator<com.hp.hpl.jena.graph.Triple> |
FedoraRepository.getNodeTypes()
Get an RDF description of the node types configured for this repository.
|
FedoraObject |
FedoraDatastream.getObject()
Get the Object that contains this Datastream.
|
FedoraObject |
FedoraRepository.getObject(String path)
Get an existing Object.
|
String |
FedoraResource.getPath()
Get the full path of the Resource, relative to the repository root.
|
Iterator<com.hp.hpl.jena.graph.Triple> |
FedoraResource.getProperties()
Get the RDF properties of this Resource.
|
Map<String,String> |
FedoraRepository.getRepositoryNamespaces()
Get a map of namespace prefixes to URIs.
|
Long |
FedoraRepository.getRepositoryObjectCount()
Get the number of objects this repository contains.
|
Long |
FedoraRepository.getRepositorySize()
Get the size of the repository content in bytes.
|
Long |
FedoraResource.getSize()
Get the size of this Resource in bytes.
|
boolean |
FedoraDatastream.hasContent()
Check whether this Datastream has content.
|
void |
FedoraResource.move(String destination)
Move this Resource to a new path.
|
void |
FedoraRepository.registerNodeTypes(InputStream cndStream)
Update the node types for this repository.
|
void |
FedoraRepository.removeNamespace(String prefix)
Remove a namespace.
|
void |
FedoraDatastream.updateContent(FedoraContent content)
Replace the content of this Datastream.
|
void |
FedoraResource.updateProperties(InputStream updatedProperties,
String contentType)
Update the properties of this Resource with the provided RDF.
|
void |
FedoraResource.updateProperties(String sparqlUpdate)
Update the properties of this Resource using SPARQL Update.
|
Copyright © 2013-2014 DuraSpace, Inc.. All Rights Reserved.