All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class librarian.EuLibrarian

java.lang.Object
   |
   +----librarian.EuLibrarian

public class EuLibrarian
extends Object
implements constants

Constructor Index

 o EuLibrarian(String, String)

Method Index

 o acquire(String)
Request the librarian to load up, in a background process (NOT NOW!) a EuCorder with a named program.
 o checkBackIn(EuCorder)
Return Eucorder so that it may be checked out again later
 o checkout(String)
Ask to get a EuCorder loaded up and ready with a given program This must have been previously loaded by the
 o discard(String)
Request the librarian to remove a named EuCorder.
 o publish(String)
Request the librarian to save the program in a named EuCorder to file.

Constructors

 o 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

Methods

 o 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
 o checkBackIn
 public void checkBackIn(EuCorder returned) throws LibrarianException
Return Eucorder so that it may be checked out again later

Parameters:
returned - the EuCorder
 o 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
 o 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
 o 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