All Packages Class Hierarchy This Package Previous Next Index
Class librarian.EuLibrarian
java.lang.Object
|
+----librarian.EuLibrarian
- public class EuLibrarian
- extends Object
- implements constants
-
EuLibrarian(String, String)
-
-
acquire(String)
- Request the librarian to load up, in a background process (NOT
NOW!) a EuCorder with a named program.
-
checkBackIn(EuCorder)
- Return Eucorder so that it may be checked out again later
-
checkout(String)
- Ask to get a EuCorder loaded up and ready with a given program
This must have been previously loaded by the
-
discard(String)
- Request the librarian to remove a named EuCorder.
-
publish(String)
- Request the librarian to save the program in a named EuCorder to
file.
EuLibrarian
public EuLibrarian(String home,
String user) throws LeaInternalException
- Parameters:
- home - The URL for the directory containing the official
files, no final '/' please
- user - The URL for the users program archive, no final '/' please
checkout
public EuCorder checkout(String name) throws LibrarianException
- Ask to get a EuCorder loaded up and ready with a given program
This must have been previously loaded by the @see acquire method.
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)
- Parameters:
- name - the name of the program
- Returns:
- a @see EuCorder containing the requested program
checkBackIn
public void checkBackIn(EuCorder returned) throws LibrarianException
- Return Eucorder so that it may be checked out again later
- Parameters:
- returned - the EuCorder
acquire
public void acquire(String name) throws LeaInternalException
- Request the librarian to load up, in a background process (NOT
NOW!) a EuCorder with a named program.
If problems arise they will not be reported by this method. But a
call to checkout will reveal them.
- Parameters:
- name - the name of the program
publish
public void publish(String name) throws LibrarianException
- Request the librarian to save the program in a named EuCorder to
file. (NOT NOW)
- Parameters:
- name - the program's name
discard
public void discard(String name) throws LibrarianException
- Request the librarian to remove a named EuCorder. (NOT NOW)
- Parameters:
- name - the program's name
All Packages Class Hierarchy This Package Previous Next Index