|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.webapp.tutor.cgWebService.RepositoryRegisterAPI.RepositoryRegistration
public class RepositoryRegistration
This class works like an interface for the registration of external repositories.
| Method Summary | |
|---|---|
static RepositoryRegistration |
getInstance()
|
String |
getMetadataOntologyURL()
The URL of the metadata ontology used in the course generator. |
boolean |
isregistered(String bindingURL)
Checks whether a repository with the given bindingURL is already registered. |
boolean |
registerRepository(String name,
String bindingPort,
String ontologyAdrURL,
String mappingAdrURL,
String testContentId)
Registers a repository. |
boolean |
unregisterRepository(String bindingURL)
Unregisters the repository identified by the bindingURL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static RepositoryRegistration getInstance()
public String getMetadataOntologyURL()
public boolean registerRepository(String name,
String bindingPort,
String ontologyAdrURL,
String mappingAdrURL,
String testContentId)
name - of the repositorybindingPort - (web service URL for accessing the repository)ontologyAdrURL - (URL for addressing the ontology of the repository)mappingAdrURL - (URL for addressing the mapping from local ontology to Ontology of Instructional Objects)testContentId - (a contentId for a query test to check if the repository is valid)
public boolean unregisterRepository(String bindingURL)
bindingURL -
public boolean isregistered(String bindingURL)
bindingURL -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||