Class Fedora.Storage.ComponentIDResolver
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Fedora.Storage.ComponentIDResolver

Object
   |
   +----Fedora.Storage.ComponentIDResolver

public class ComponentIDResolver
extends Object

Constructor Index

 o Fedora.Storage.ComponentIDResolver()

Method Index

 o GetLocation(String)
Return a String that is the fully qualified file path of the file identified by the componentID key.
 o ID_exists(String)
Determine whether an particular component exists.
 o RegisterComponent(String, String)
Register a component in the component table.
 o UnregisterComponent(String)
Unregister a component in the component table.

Constructors

 o ComponentIDResolver
public ComponentIDResolver() throws RepositorySystemError

Methods

 o GetLocation
public java.lang.String GetLocation(String componentID)
Return a String that is the fully qualified file path of the file identified by the componentID key.

Parameters:
componentID - unique id of file for the serialized component
Returns:
the String of the file path.
 o ID_exists
public boolean ID_exists(String componentID)
Determine whether an particular component exists.

Parameters:
componentID - unique id
Returns:
true or false depending on success of lookup
 o RegisterComponent
public boolean RegisterComponent(String componentID,
                                 String componentLocation) throws RepositorySystemError
Register a component in the component table.

Parameters:
componentID - unique id of the file for the serialized component
componentLocation - the string of the file path
Returns:
true if it registered the component, false otherwise
 o UnregisterComponent
public boolean UnregisterComponent(String componentID) throws RepositorySystemError
Unregister a component in the component table.

Parameters:
componentID - unique id of file the for the serialized component
Returns:
true if component is no longer registered, false otherwise

All Packages  Class Hierarchy  This Package  Previous  Next  Index