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

Examples of edu.stanford.bmir.protege.web.shared.notes.NoteId


        insertWidgetIntoFeed(changePanel);
    }


    public void postNotePostedEvent(NotePostedEvent event) {
        final NoteId noteId = event.getNoteDetails().getNoteHeader().getNoteId();
        if(noteIds.contains(noteId)) {
            return;
        }
        noteIds.add(noteId);
        final NotePostedEventPanel notePostedEventPanel = new NotePostedEventPanel();
View Full Code Here


    public Set<Note> parseNotesFromOntology() {
        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) {
View Full Code Here

        }
        return parsedNotes;
    }

    public Note parseNoteFromOntology(NoteId noteId) throws MalformedNoteException {
        NoteId inReplyToId = parseInReplyToIdFromOntology(noteId);
        long createdAt = parseCreatedAtFromOntology(noteId);
        UserId authoredBy = parseAuthoredByFromOntology(noteId);
        NoteType noteType = parseNoteTypeFromOntology(noteId);
        Optional<String> subject = parseSubjectFromOntology(noteId);
        String body = parseBodyFromOntology(noteId);
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.shared.notes.NoteId

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.