|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Configuration
| Method Summary | |
|---|---|
void |
createConcept(String concept)
Gets or creates a concept in the registry domain model. |
void |
createConcept(String concept,
String superConcept)
Creates a concept in the registry domain model that is a sub concept of another concept. |
void |
deleteConcept(String concept)
Removes a concept from the domain model. |
void |
deleteRelationship(String fromConceptId,
String relationshipName,
String toConceptId)
Removes a relationship between two concepts. |
void |
deleteRelationships(String fromConceptId,
String toConceptId)
Removes all relationships between two concepts. |
RegistryDomainModel |
getRegistryDomainModel()
Get the current used registry domain model. |
void |
insertBidirectionalRelationship(String fromConceptId,
String relationshipFromToTo,
String relationshipToToFrom,
String toConceptId)
Inserts a bidirectional relationship between two entities specified by their ids. |
void |
insertRelationship(String fromConceptId,
String relationshipName,
String toConceptId)
Stores a relationship with specific name between two entities specified by their ids. |
void |
registerPredefinedQuery(String name,
String query,
String... parameterNames)
Registration of predefined queries. |
void |
setPredefinedQueries(String filename)
Set up predefined queries. |
void |
setPredefinedQueries(URI uri)
Set up predefined queries. |
void |
setRegistryDomainModel(RegistryDomainModel model)
The a new registry domain model. |
| Method Detail |
|---|
void setRegistryDomainModel(RegistryDomainModel model)
throws ConfigurationException
model - the new registry domain model.
ConfigurationException
RegistryDomainModel getRegistryDomainModel()
throws ConfigurationException
ConfigurationException
void createConcept(String concept)
throws ConfigurationException
concept -
RegistrationException
ConfigurationException
void createConcept(String concept,
String superConcept)
throws ConfigurationException
concept - concept to be createdsuperConcept - super or parent concept
ConfigurationException
void deleteConcept(String concept)
throws ConfigurationException
concept -
RegistrationException
ConfigurationException
void insertBidirectionalRelationship(String fromConceptId,
String relationshipFromToTo,
String relationshipToToFrom,
String toConceptId)
throws ConfigurationException
fromConceptId - relationshipFromToTo - relationshipToToFrom - toConceptId -
XMLDBException
ConfigurationException
void insertRelationship(String fromConceptId,
String relationshipName,
String toConceptId)
throws ConfigurationException
fromConceptId - relationshipName - toConceptId -
RegistrationException
ConfigurationException
void deleteRelationships(String fromConceptId,
String toConceptId)
throws ConfigurationException
fromConceptId - toConceptId -
RegistrationException
ConfigurationException
void deleteRelationship(String fromConceptId,
String relationshipName,
String toConceptId)
throws ConfigurationException
fromConceptId - relationshipName - toConceptId -
ConfigurationException
void registerPredefinedQuery(String name,
String query,
String... parameterNames)
throws ConfigurationException
name - unique name of the predefined, parameterised query.query - query expression.parameterNames - parameter names used within the query.
RegistrationException
ConfigurationException
void setPredefinedQueries(String filename)
throws ConfigurationException
filename -
ConfigurationException
void setPredefinedQueries(URI uri)
throws ConfigurationException
uri -
ConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||