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

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


    @Override
    public RemoveProjectsFromTrashResult execute(RemoveProjectsFromTrashAction action, ExecutionContext executionContext) {
        List<ProjectMovedFromTrashEvent> events = new ArrayList<ProjectMovedFromTrashEvent>();
        for(ProjectId projectId : action.getProjectIds()) {
            OWLAPIProjectMetadataManager.getManager().setInTrash(projectId, false);
            events.add(new ProjectMovedFromTrashEvent(projectId));
        }
        return new RemoveProjectsFromTrashResult(new EventList<ProjectMovedFromTrashEvent>(EventTag.getFirst(), events, EventTag.getFirst()));
    }
View Full Code Here

TOP

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

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.