|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OntologyRepositoryService
Defines the operations allowing to access KAoS constructed ontology structures Adds XML Schema repository access and KAoS Ontology specific queries to the generic ontology service functionality
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface kaos.core.csi.ontology.OntologyService |
---|
OntologyService.ReasoningException |
Nested classes/interfaces inherited from interface kaos.core.csi.query.QueryState |
---|
QueryState.UnknownConceptException, QueryState.UnknownNamespaceException |
Method Summary | |
---|---|
void |
addConstructedOntologyStructure(kaos.ontology.util.SerializableOntModelImpl myOntModel)
Adds ontology included in the provide objects into the ontology repository. |
void |
addConstructedOntologyStructures(java.util.List<kaos.ontology.util.SerializableOntModelImpl> list)
Adds the constructed ontology structure to Directory Service Proxy |
kaos.ontology.util.SerializableOntModelImpl |
getConstructedOntologyStructure(java.lang.String structureId)
This method retrieves user defined ontology structure identified by the id from the repository. |
java.util.List<kaos.ontology.util.SerializableOntModelImpl> |
getConstructedOntologyStructures()
This method retrieves all user defined ontology structures in the repository. |
void |
removeConstructedOntologyStructure(java.lang.String structureId)
This method removes a user defined ontology structure identified by the id from the repository. |
void |
removeConstructedOntologyStructures(java.util.List<java.lang.String> structureIds)
This method removes multiple user defined ontology structure identified by the id from the repository. |
Methods inherited from interface kaos.core.csi.ontology.OntologyService |
---|
addFilteredNamespace, addOntologicalTypeToEntity, addPropertyToEntity, getFilteredNamespaces, loadOntology, loadOntology, modifyEntityProperties, removeFilteredNamespace, removeOntologicalTypeFromEntity, removePropertyFromEntity |
Methods inherited from interface kaos.xmlschema.repository.XMLRepository |
---|
getAllSchema, getSchema, putMultipleSchema, putSchema, removeSchema |
Methods inherited from interface kaos.core.csi.query.QueryKAoSOntologyService |
---|
getActionDesc, getActionsActorCanPerform, getActionsDescActorCanPerform, getClassesOfActors, getClassesOfGroups, getClassesOfPlaces, getClassesOfResources, getIndividualActors, getIndividualGroups, getIndividualPlaces, getIndividualResources |
Method Detail |
---|
java.util.List<kaos.ontology.util.SerializableOntModelImpl> getConstructedOntologyStructures() throws DirectoryFailure
DirectoryFailure
kaos.ontology.util.SerializableOntModelImpl getConstructedOntologyStructure(java.lang.String structureId) throws OntologyService.ReasoningException, QueryState.UnknownConceptException, java.io.IOException, DirectoryFailure
structureId
-
OntologyService.ReasoningException
QueryState.UnknownConceptException
java.io.IOException
DirectoryFailure
void addConstructedOntologyStructures(java.util.List<kaos.ontology.util.SerializableOntModelImpl> list) throws OntologyService.ReasoningException, java.io.IOException, DirectoryFailure
list
- of SerializableOntModelImpl object
OntologyService.ReasoningException
java.io.IOException
DirectoryFailure
void addConstructedOntologyStructure(kaos.ontology.util.SerializableOntModelImpl myOntModel) throws OntologyService.ReasoningException, java.io.IOException, DirectoryFailure
myOntModel
- The object of type Jena OntModel containing the added ontologyrecursiveLoad
- Indicates if the imported ontologies (by the ontology contained in myOntModel)
should also be recursively loaded.
OntologyService.ReasoningException
- or IOException when loading of the ontology failed.
java.io.IOException
DirectoryFailure
void removeConstructedOntologyStructure(java.lang.String structureId) throws DirectoryFailure
structureId:
- uri name of the concept
DirectoryFailure
void removeConstructedOntologyStructures(java.util.List<java.lang.String> structureIds) throws DirectoryFailure
structureIds
- of uri's identifying the concepts to remove
DirectoryFailure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |