Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package net.paulgray.mockrest; import java.util.List; import net.paulgray.lmsrest.announcement.Announcement; import net.paulgray.lmsrest.announcement.AnnouncementService; import net.paulgray.lmsrest.course.Course; import net.paulgray.lmsrest.user.User; import org.springframework.stereotype.Component; /** * * @author paul */ @Component public class MockAnnouncementService implements AnnouncementService { public List<Announcement> getAnnouncementsForUser(User user) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } public List<Announcement> getAnnouncementsForCourse(Course course) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } public List<Announcement> getAnnouncementsForCourseAndUser(Course course, User user) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } public Announcement getAnnouncementForId(String Id) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } }