Index: lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/IMonitoringService.java =================================================================== diff -u -r0691612586aeacbed9c56f4d340c107bcc35cada -r0535170cfc6c7273bb4aacbebdf68c98f455d885 --- lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/IMonitoringService.java (.../IMonitoringService.java) (revision 0691612586aeacbed9c56f4d340c107bcc35cada) +++ lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/IMonitoringService.java (.../IMonitoringService.java) (revision 0535170cfc6c7273bb4aacbebdf68c98f455d885) @@ -230,4 +230,24 @@ * @return the requested activity object. */ public Activity getActivityById(long activityId); + + /** + * Returns the status of the gate in WDDX format. + * + * @param activityID The activity_id of the Activity whose gate must be checked + * @param lessonID The lesson_id of the Lesson + * @return + */ + public String checkGateStatus(Long activityID, Long lessonID) throws IOException; + + /** + * Returns an acknowledgement that the gate has been released. + * Returns true if the gate has been released and false otherwise. + * This information is packaged in WDDX format + * + * @param activityID The activity_id of the Activity whose gate must be checked + * @param lessonID The lesson_id of the Lesson + * @return + */ + public String releaseGate(Long activityID) throws IOException; }