Open SiteSearch 4.1.1
Final

ORG.oclc.mantis.util
Class GetRecordIdFromFile

java.lang.Object
  |
  +--ORG.oclc.mantis.util.GetRecordIdFromFile

public class GetRecordIdFromFile
extends Object
implements IRecordId

The GetRecordIdFromFile class implements the IRecordId interface and return a record id for Newton database records which do not have one.


Constructor Summary
GetRecordIdFromFile()
           
 
Method Summary
 void incrementit()
          Executes the method that will increment the record number for the next request for a new record id.
 String runit(Db dbObject, DataDir rec)
          Executes the class being dynamically loaded using the input parameter dbObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetRecordIdFromFile

public GetRecordIdFromFile()
Method Detail

runit

public String runit(Db dbObject,
                    DataDir rec)
Executes the class being dynamically loaded using the input parameter dbObject.
Specified by:
runit in interface IRecordId
Parameters:
dbObject - the Db object.
DataDir - the record the accession number is for.

incrementit

public void incrementit()
Executes the method that will increment the record number for the next request for a new record id.
Specified by:
incrementit in interface IRecordId

Open SiteSearch 4.1.1
Final