kaos.core.csi.ontology
Interface OntologyRepositoryService

All Superinterfaces:
OntologyService, QueryKAoSOntologyService, QueryState, kaos.xmlschema.repository.XMLRepository

public interface OntologyRepositoryService
extends OntologyService, kaos.xmlschema.repository.XMLRepository, QueryKAoSOntologyService

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

Version:
1.0 $Revision: 1.2 $
Author:
KAoS Team

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.core.csi.query.QueryState
areClassesDisjoint, askQuery, getAllNamespaces, getClassDesc, getClassesDefInNamespace, getImmediateSubClassesOf, getIndividualDesc, getInstancesDefInNamespace, getInstancesOf, getListOfLoadedOntologies, getNamspacesImportedByNamespace, getOntologyDefinitionForConcept, getOntologyTypesOfIndividual, getPropertiesApplicableTo, getPropertiesDefInNamespace, getRangeOnPropertyForClass, getResourcesWithValueForProperty, getSubClassesOf, getSubPropertiesOf, getSuperClassesOf, getSuperPropertiesOf, getUniqueValueForProperty, getValuesForProperty, testTrue
 
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

getConstructedOntologyStructures

java.util.List<kaos.ontology.util.SerializableOntModelImpl> getConstructedOntologyStructures()
                                                                                             throws DirectoryFailure
This method retrieves all user defined ontology structures in the repository.

Returns:
list containing SerializableOntModelImpl objects
Throws:
DirectoryFailure

getConstructedOntologyStructure

kaos.ontology.util.SerializableOntModelImpl getConstructedOntologyStructure(java.lang.String structureId)
                                                                            throws OntologyService.ReasoningException,
                                                                                   QueryState.UnknownConceptException,
                                                                                   java.io.IOException,
                                                                                   DirectoryFailure
This method retrieves user defined ontology structure identified by the id from the repository.

Parameters:
structureId -
Returns:
SerializableOntModelImpl objects
Throws:
OntologyService.ReasoningException
QueryState.UnknownConceptException
java.io.IOException
DirectoryFailure

addConstructedOntologyStructures

void addConstructedOntologyStructures(java.util.List<kaos.ontology.util.SerializableOntModelImpl> list)
                                      throws OntologyService.ReasoningException,
                                             java.io.IOException,
                                             DirectoryFailure
Adds the constructed ontology structure to Directory Service Proxy

Parameters:
list - of SerializableOntModelImpl object
Throws:
OntologyService.ReasoningException
java.io.IOException
DirectoryFailure

addConstructedOntologyStructure

void addConstructedOntologyStructure(kaos.ontology.util.SerializableOntModelImpl myOntModel)
                                     throws OntologyService.ReasoningException,
                                            java.io.IOException,
                                            DirectoryFailure
Adds ontology included in the provide objects into the ontology repository.

Parameters:
myOntModel - The object of type Jena OntModel containing the added ontology
recursiveLoad - Indicates if the imported ontologies (by the ontology contained in myOntModel) should also be recursively loaded.
Throws:
OntologyService.ReasoningException - or IOException when loading of the ontology failed.
java.io.IOException
DirectoryFailure

removeConstructedOntologyStructure

void removeConstructedOntologyStructure(java.lang.String structureId)
                                        throws DirectoryFailure
This method removes a user defined ontology structure identified by the id from the repository.

Parameters:
structureId: - uri name of the concept
Throws:
DirectoryFailure

removeConstructedOntologyStructures

void removeConstructedOntologyStructures(java.util.List<java.lang.String> structureIds)
                                         throws DirectoryFailure
This method removes multiple user defined ontology structure identified by the id from the repository.

Parameters:
structureIds - of uri's identifying the concepts to remove
Throws:
DirectoryFailure


Copyright © 2006 IHMC All Rights Reserved.