org.fcrepo.client.utility.validate
Interface ObjectSource

All Known Implementing Classes:
RemoteObjectSource

public interface ObjectSource

Provides an abstract wrapper around the repository of digital objects.

Author:
Jim Blake

Method Summary
 ContentModelInfo getContentModelInfo(String pid)
          Get the object that has this PID (or null) and confirm that it is a valid content model.
 ObjectInfo getValidationObject(String pid)
          Get the object that has this PID, or null if there is no such object.
 

Method Detail

getValidationObject

ObjectInfo getValidationObject(String pid)
                               throws ObjectSourceException
Get the object that has this PID, or null if there is no such object.

Throws:
ObjectSourceException

getContentModelInfo

ContentModelInfo getContentModelInfo(String pid)
                                     throws ObjectSourceException,
                                            InvalidContentModelException
Get the object that has this PID (or null) and confirm that it is a valid content model.

Throws:
ObjectSourceException
InvalidContentModelException


Copyright © 2012 DuraSpace. All Rights Reserved.