|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The main interface for all Sesame services. A Sesame service administers a number of Sesame repositories and allows you to get an overview of all available repositories and to retrieve objects representing specific repositories.
| Method Summary | |
SesameRepository |
getRepository(String repositoryID)
Gets a SesameRepository object for the specified repository ID. |
RepositoryList |
getRepositoryList()
Gets a list of all repositories that are accessible by the currently logged in user. |
void |
login(String username,
String password)
Log in to a Sesame service. |
void |
logout()
Log out from a Sesame service. |
| Method Detail |
public RepositoryList getRepositoryList()
throws IOException
IOException - If an I/O error occurred while fetching
information about the available repositories.
public SesameRepository getRepository(String repositoryID)
throws UnknownRepositoryException,
ConfigurationException,
IOException
repositoryID - A repository ID.
UnknownRepositoryException - If the specified
repository ID is unknown.
ConfigurationException - If the requested repository
was not configured properly.
IOException
public void login(String username,
String password)
throws AccessDeniedException,
IOException
AccessDeniedException - If the attempt to log in failed.
IOException - If an I/O error occurred.
IllegalArgumentException - If the supplied username is
not a legal username.
public void logout()
throws IOException
IOException - If an I/O error occurred.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||