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
-
Fedora.Storage.ComponentIDResolver()
-
-
GetLocation(String)
- Return a String that is the fully qualified file path
of the file identified by the componentID key.
-
ID_exists(String)
- Determine whether an particular component exists.
-
RegisterComponent(String, String)
- Register a component in the component table.
-
UnregisterComponent(String)
- Unregister a component in the component table.
ComponentIDResolver
public ComponentIDResolver() throws RepositorySystemError
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.
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
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
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