cad.simcad.objectserver.spec.cac.server
Interface MissionRecorder

All Known Implementing Classes:
MissionRecorderI

public interface MissionRecorder

Administrator for a mission

Version:
1.0
Author:
Charles-Philip Bentley

Method Summary
 Incident changeEmergencyVehicule(Incident i)
           
 Incident createIncident(Form f)
          Create an Incident object from the Form given in argument
 

Method Detail

createIncident

public Incident createIncident(Form f)
                        throws CACMissionRecordingException,
                               FormException,
                               PersistentDataException
Create an Incident object from the Form given in argument

Parameters:
f - a Form object
Pre:
formulaire f non duplicated - il existe une collection d'ambulances libres A
Returns:
the incident i, newly created
Throws:
CACMissionRecordingException - throwned if there was a logical error while creating a new incident
FormException - throwned if there is an error in the form / to see
PersistentDataException - Throwned if there was an error while using the Persistent Layer
Post:
- un incident i est cree dans la DB - i est associe a a t.q. a belongs to A et a est la plus proche de i

changeEmergencyVehicule

public Incident changeEmergencyVehicule(Incident i)
                                 throws CACMissionRecordingException,
                                        PersistentDataException
CACMissionRecordingException
PersistentDataException

Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be