@Override public void publishProperty(OntologyProperty property, User user, String workspaceId) { checkPrivileges(user, null); internalPublishProperty(property, user, workspaceId); }
@Override public final Concept getOrCreateConcept(Concept parent, String conceptIRI, String displayName, File inDir, boolean deleteChangeableProperties, User user, String workspaceId) { checkPrivileges(user, workspaceId); return internalGetOrCreateConcept(parent, conceptIRI, displayName, null, null, inDir, deleteChangeableProperties, user, workspaceId); }
@Override public final void publishConcept(Concept concept, User user, String workspaceId) { checkPrivileges(user, null); internalPublishConcept(concept, user, workspaceId); }
@Override public final Concept getOrCreateConcept(Concept parent, String conceptIRI, String displayName, String glyphIconHref, String color, File inDir, boolean deleteChangeableProperties, User user, String workspaceId) { checkPrivileges(user, workspaceId); return internalGetOrCreateConcept(parent, conceptIRI, displayName, glyphIconHref, color, inDir, deleteChangeableProperties, user, workspaceId); }
@Override public final void publishRelationship(Relationship relationship, User user, String workspaceId) { checkPrivileges(user, null); internalPublishRelationship(relationship, user, workspaceId); }
@Override public final Relationship getOrCreateRelationshipType( Relationship parent, Iterable<Concept> domainConcepts, Iterable<Concept> rangeConcepts, String relationshipIRI, String displayName, boolean isDeclaredInOntology, User user, String workspaceId ) { checkPrivileges(user, workspaceId); if (parent == null && !relationshipIRI.equals(TOP_OBJECT_PROPERTY_IRI)) { parent = getTopObjectPropertyRelationship(workspaceId); } return internalGetOrCreateRelationshipType(parent, domainConcepts, rangeConcepts, relationshipIRI, displayName, isDeclaredInOntology, user, workspaceId); }
@Override public final OntologyProperty getOrCreateProperty(OntologyPropertyDefinition ontologyPropertyDefinition, User user, String workspaceId) { checkPrivileges(user, workspaceId);