Package edu.stanford.bmir.protege.web.shared.notes

Examples of edu.stanford.bmir.protege.web.shared.notes.Note$Builder


    }

    @Override
    protected AddNoteToEntityResult execute(AddNoteToEntityAction action, OWLAPIProject project, ExecutionContext executionContext) {
        EventTag tag = project.getEventManager().getCurrentTag();
        Note note = project.getNotesManager().addNoteToEntity(action.getEntity(), action.getNoteContent(), executionContext.getUserId());
        return new AddNoteToEntityResult(project.getEventManager().getEventsFromTag(tag), note);
    }
View Full Code Here


        Set<Note> parsedNotes = new HashSet<Note>();
        for(OWLNamedIndividual individual : notesOntology.getIndividualsInSignature()) {
            if(isNoteIndividual(individual)) {
                NoteId noteId = NoteId.createNoteIdFromLexicalForm(individual.getIRI().toString());
                try {
                    Note parsedNote = parseNoteFromOntology(noteId);
                    parsedNotes.add(parsedNote);
                }
                catch (MalformedNoteException e) {
                    malformedNoteHandler.handleMalformedNote(noteId, notesOntology, e);
                }
View Full Code Here

    @Override
    protected AddReplyToNoteResult execute(AddReplyToNoteAction action, OWLAPIProject project, ExecutionContext executionContext) {
        EventTag startTag = project.getEventManager().getCurrentTag();
        OWLAPINotesManager notesManager = project.getNotesManager();
        Note note = notesManager.addReplyToNote(action.getTargetNoteId(), action.getReplyContent(), executionContext.getUserId());
        return new AddReplyToNoteResult(note, project.getEventManager().getEventsFromTag(startTag));
    }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.shared.notes.Note$Builder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.