librarian
Class visitLibrarian
java.lang.Object
|
+--librarian.EuLibrarian
|
+--librarian.visitLibrarian
- public class visitLibrarian
- extends EuLibrarian
Fields inherited from class librarian.EuLibrarian |
currentProvider, dbi, designStack, hinter, keys, keywords, loaded, numberOfBeacons, onloan, packageshack, translator, userStack, workleaid, workMoves |
Constructor Summary |
visitLibrarian(librarian.EuLibrarian lib,
java.lang.String asUser)
|
Method Summary |
boolean |
beginWorkOn(fundamentals.leaIdentifier leaid,
boolean isDesigner)
|
librarian.EuCorder |
checkout(fundamentals.leaIdentifier leaid,
boolean updatePremise)
|
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) |
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. |
librarian.EuCorder |
loadup(fundamentals.leaIdentifier leaid,
java.lang.String user)
Request the librarian to load up a EuCorder with a named program.
|
void |
userSubmit(librarian.EuCorder program)
|
Methods inherited from class librarian.EuLibrarian |
abortWorkOn, checkBackIn, checkoutDesignCopy, completeWorkOn, contains, containsDesignCopy, forgetStoredCopies, getStored, getWork, getWork, getWorkSegment, initAllWorkSegments, initPpp, isWorking, registerArchive, registerPackage, registerProgram, updateHint, userIsSuper, workIsConsistent, workReplaceSegment, workSegmentIsEmpty, workTestDatumIsDummy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
visitLibrarian
public visitLibrarian(librarian.EuLibrarian lib,
java.lang.String asUser)
throws InternalException
containsUserCopy
public boolean containsUserCopy(fundamentals.leaIdentifier leaid)
throws LeaException
- Overrides:
containsUserCopy
in class EuLibrarian
LeaException
errorSubmit
public void errorSubmit(librarian.EuCorder program,
int i)
throws LeaException
- Description copied from class:
EuLibrarian
- Request the librarian to save the program in a named EuCorder to
the database.
- Overrides:
errorSubmit
in class EuLibrarian
LeaException
userSubmit
public void userSubmit(librarian.EuCorder program)
throws LeaException
- Overrides:
userSubmit
in class EuLibrarian
LeaException
designSubmit
public void designSubmit(librarian.EuCorder program)
throws LeaException
- Overrides:
designSubmit
in class EuLibrarian
LeaException
loadup
public librarian.EuCorder loadup(fundamentals.leaIdentifier leaid,
java.lang.String user)
throws LeaException
- Description copied from class:
EuLibrarian
- Request the librarian to load up a EuCorder with a named program.
If problems arise they will be reported by this method
- Overrides:
loadup
in class EuLibrarian
LeaException
beginWorkOn
public boolean beginWorkOn(fundamentals.leaIdentifier leaid,
boolean isDesigner)
throws LeaException
- Overrides:
beginWorkOn
in class EuLibrarian
LeaException
checkout
public librarian.EuCorder checkout(fundamentals.leaIdentifier leaid,
boolean updatePremise)
throws LeaException
- Overrides:
checkout
in class EuLibrarian
LeaException
checkoutUserCopy
public librarian.EuCorder checkoutUserCopy(fundamentals.leaIdentifier leaid,
boolean updatePremise)
throws LeaException
- Description copied from class:
EuLibrarian
- 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)
- Overrides:
checkoutUserCopy
in class EuLibrarian
- Returns:
- a @see EuCorder containing the requested program
LeaException