|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--librarian.EuLibrarian
Field Summary | |
protected java.lang.String |
currentProvider
|
protected librarian.DBInterface |
dbi
|
protected java.util.Hashtable |
designStack
|
librarian.EuCorder |
hinter
|
protected static java.lang.String[] |
keys
|
protected java.util.Hashtable |
keywords
|
protected java.util.Vector |
loaded
|
protected int |
numberOfBeacons
|
protected java.util.Hashtable |
onloan
|
protected static java.lang.String[] |
packageshack
|
protected librarian.LeaTranslator |
translator
|
protected java.util.Hashtable |
userStack
|
fundamentals.leaIdentifier |
workleaid
|
protected librarian.workCorder[] |
workMoves
|
Constructor Summary | |
EuLibrarian(librarian.DBInterface dbi)
|
Method Summary | |
void |
abortWorkOn()
|
boolean |
beginWorkOn(fundamentals.leaIdentifier leaid,
boolean isDesigner)
|
void |
checkBackIn(fundamentals.leaIdentifier leaid)
Return Eucorder so that it may be checked out again later |
librarian.EuCorder |
checkout(fundamentals.leaIdentifier leaid,
boolean updatePremise)
|
librarian.EuCorder |
checkoutDesignCopy(fundamentals.leaIdentifier leaid)
|
librarian.EuCorder |
checkoutUserCopy(fundamentals.leaIdentifier leaid,
boolean updatePremise)
Ask to get a EuCorder loaded up and ready with a given program May throw exceptions if there is no such program, if there were problems loading it, or if the EuCorder is on loan (meaning that recursion was attempted) |
void |
completeWorkOn(boolean isDesigner)
|
boolean |
contains(fundamentals.leaIdentifier leaid)
|
boolean |
containsDesignCopy(fundamentals.leaIdentifier leaid)
|
boolean |
containsUserCopy(fundamentals.leaIdentifier leaid)
|
void |
designSubmit(librarian.EuCorder program)
|
void |
errorSubmit(librarian.EuCorder program,
int i)
Request the librarian to save the program in a named EuCorder to the database. |
void |
forgetStoredCopies(fundamentals.leaIdentifier leaid)
|
protected librarian.EuCorder |
getStored(fundamentals.leaIdentifier leaid,
java.util.Hashtable stacks)
|
librarian.EuCorder |
getWork()
|
librarian.EuCorder |
getWork(boolean saveshort)
|
librarian.workCorder |
getWorkSegment(int segment)
|
void |
initAllWorkSegments(java.lang.String designProvidePackage,
int maxOkEntry)
|
protected void |
initPpp(librarian.EuCorder program)
|
boolean |
isWorking()
|
librarian.EuCorder |
loadup(fundamentals.leaIdentifier leaid,
java.lang.String user)
Request the librarian to load up a EuCorder with a named program. |
void |
registerArchive(interagents.userLab lab,
java.util.Random croupier)
|
void |
registerPackage(interagents.userLab lab,
java.lang.String packagename,
java.util.Random croupier)
|
void |
registerProgram(interagents.userLab lab,
fundamentals.leaIdentifier leaid,
java.util.Random croupier)
IN USE? |
java.lang.String |
updateHint()
|
boolean |
userIsSuper()
|
void |
userSubmit(librarian.EuCorder program)
|
boolean |
workIsConsistent()
|
void |
workReplaceSegment(int segment,
librarian.workCorder newsegment)
|
boolean |
workSegmentIsEmpty(int segment)
|
boolean |
workTestDatumIsDummy(int n)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected librarian.LeaTranslator translator
protected java.util.Hashtable userStack
protected java.util.Hashtable designStack
protected java.util.Hashtable keywords
protected java.util.Hashtable onloan
protected int numberOfBeacons
protected librarian.DBInterface dbi
protected java.util.Vector loaded
public librarian.EuCorder hinter
protected java.lang.String currentProvider
protected librarian.workCorder[] workMoves
public fundamentals.leaIdentifier workleaid
protected static java.lang.String[] packageshack
protected static java.lang.String[] keys
Constructor Detail |
public EuLibrarian(librarian.DBInterface dbi) throws InternalException
Method Detail |
public librarian.EuCorder checkoutUserCopy(fundamentals.leaIdentifier leaid, boolean updatePremise) throws LeaException
LeaException
public librarian.EuCorder checkoutDesignCopy(fundamentals.leaIdentifier leaid) throws LeaException
LeaException
public librarian.EuCorder checkout(fundamentals.leaIdentifier leaid, boolean updatePremise) throws LeaException
LeaException
public boolean containsUserCopy(fundamentals.leaIdentifier leaid) throws LeaException
LeaException
public boolean containsDesignCopy(fundamentals.leaIdentifier leaid) throws LeaException
LeaException
public boolean contains(fundamentals.leaIdentifier leaid) throws LeaException
LeaException
protected librarian.EuCorder getStored(fundamentals.leaIdentifier leaid, java.util.Hashtable stacks) throws InternalException
InternalException
public void checkBackIn(fundamentals.leaIdentifier leaid) throws InternalException
InternalException
public librarian.EuCorder loadup(fundamentals.leaIdentifier leaid, java.lang.String user) throws LeaException
LeaException
protected void initPpp(librarian.EuCorder program)
public void errorSubmit(librarian.EuCorder program, int i) throws LeaException
LeaException
public void userSubmit(librarian.EuCorder program) throws LeaException
LeaException
public void designSubmit(librarian.EuCorder program) throws LeaException
LeaException
public void registerProgram(interagents.userLab lab, fundamentals.leaIdentifier leaid, java.util.Random croupier) throws LeaException
LeaException
public void registerPackage(interagents.userLab lab, java.lang.String packagename, java.util.Random croupier) throws LeaException
LeaException
public void registerArchive(interagents.userLab lab, java.util.Random croupier) throws LeaException
LeaException
public boolean beginWorkOn(fundamentals.leaIdentifier leaid, boolean isDesigner) throws LeaException
LeaException
public void completeWorkOn(boolean isDesigner) throws LeaException
LeaException
public void abortWorkOn() throws LeaException
LeaException
public boolean workSegmentIsEmpty(int segment)
public void initAllWorkSegments(java.lang.String designProvidePackage, int maxOkEntry) throws LeaException
LeaException
public librarian.EuCorder getWork() throws LeaException
LeaException
public librarian.EuCorder getWork(boolean saveshort) throws LeaException
LeaException
public boolean isWorking()
public void workReplaceSegment(int segment, librarian.workCorder newsegment) throws LeaException
LeaException
public librarian.workCorder getWorkSegment(int segment)
public boolean workTestDatumIsDummy(int n)
public boolean workIsConsistent()
public java.lang.String updateHint()
public void forgetStoredCopies(fundamentals.leaIdentifier leaid)
public boolean userIsSuper()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |