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

Examples of edu.stanford.bmir.protege.web.shared.event.GetProjectEventsResult


        // TODO: FIX THIS.  NEEDS TO GO ELSEWHERE
//        project.getProjectAccessManager().logAccessForUser(action.getUserId());
        EventManager<ProjectEvent<?>> eventManager = project.get().getEventManager();
        EventList<ProjectEvent<?>> eventList = eventManager.getEventsFromTag(sinceTag);
        ProjectEventList projectEventList = ProjectEventList.builder(eventList.getStartTag(), projectId, eventList.getEndTag()).addEvents(eventList.getEvents()).build();
        return  new GetProjectEventsResult(projectEventList);
    }
View Full Code Here


        ProjectEventList projectEventList = ProjectEventList.builder(eventList.getStartTag(), projectId, eventList.getEndTag()).addEvents(eventList.getEvents()).build();
        return  new GetProjectEventsResult(projectEventList);
    }

    private static GetProjectEventsResult getEmptyResult(ProjectId projectId, EventTag sinceTag) {
        return new GetProjectEventsResult(ProjectEventList.builder(sinceTag, projectId, sinceTag).build());
    }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.shared.event.GetProjectEventsResult

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.