|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface to the persistent database
| Method Summary | |
void |
achievedUpdate(Id incId,
boolean achieved)
return a vector with all the teams. |
Id |
associateTeam(Team t,
EmergencyVehicule e)
associate a team and an emergencyVehicule |
Form |
compareForm(Form f)
|
java.util.Vector |
get12HoursAllIncident()
return a vector with the incident which take place in the last 12 hours. |
java.util.Vector |
getAllForm()
return a vector with all the form. |
java.util.Vector |
getAllImcompleteIncident()
return a vector with all the incident which are not complete. |
java.util.Vector |
getAllTeams()
|
java.util.Vector |
getAllVehicule()
return a vector of all the emergency vehicule |
EmergencyVehicule |
getAssociatedVehicule(Id vehicId)
return the emergencyVehicule with the ID vehicId |
void |
IncVehiculeAssociation(Id incId,
Id vehiculeId)
Establish in the db an association between an Incident and a Emergency Vehicle |
Id |
insertEmergencyVehicule(EmergencyVehicule ev)
insert a new emergency vehicule in the database |
void |
insertTeam(Team t)
insertion of a new team in the db |
void |
insertTeam(Team t,
EmergencyVehicule e)
insert a team in the db and associate this team with an EmergencyVehicule |
boolean |
isAchieved(Id incId)
methode renvoyant true si l'incident dont l'id est passe en argument est cloture. |
Form |
saveForm(Form f)
insertion of a new form in the database |
Incident |
saveIncident(Incident i,
Id formId)
insertion of a new incident in the database |
| Method Detail |
public Form saveForm(Form f)
throws PersistentDataException
persistentDataException - if there is a problem in the physical recording in db.
PersistentDataException
public Incident saveIncident(Incident i,
Id formId)
throws PersistentDataException
persistentDataException - if there is a problem in the physical recording in db.
PersistentDataException
public java.util.Vector getAllVehicule()
throws PersistentDataException
persistentDataException - if there is a problem in the physical access in the db.
PersistentDataException
public Id insertEmergencyVehicule(EmergencyVehicule ev)
throws PersistentDataException
persistendDataException - if there is a problem in the physical access in the db.
PersistentDataException
public java.util.Vector get12HoursAllIncident()
throws PersistentDataException
persistentDataException - if there is a problem in the physical access in the db.
PersistentDataException
public java.util.Vector getAllImcompleteIncident()
throws PersistentDataException
persistentDataException - if there is a problem in the physical access in the db.
PersistentDataException
public java.util.Vector getAllForm()
throws PersistentDataException
persistentDataException - if there is a problem in the physical access in the db.
PersistentDataException
public void achievedUpdate(Id incId,
boolean achieved)
throws PersistentDataException
persistentDataException - if there is a problem in the physical access in the db.
PersistentDataException
public java.util.Vector getAllTeams()
throws PersistentDataException
PersistentDataException
public Id associateTeam(Team t,
EmergencyVehicule e)
throws PersistentDataException
persistenDataException - if there is a problem in the physical access in the db
PersistentDataException
public void insertTeam(Team t)
throws PersistentDataException
persistenDataException - if there is a problem in the physical access in the db
PersistentDataException
public void insertTeam(Team t,
EmergencyVehicule e)
throws PersistentDataException
persistentDataException - if there is a problem in the physical access in the db
PersistentDataException
public EmergencyVehicule getAssociatedVehicule(Id vehicId)
throws PersistentDataException
persistentDataException - if there is a problem in the physical access in the db
PersistentDataException
public void IncVehiculeAssociation(Id incId,
Id vehiculeId)
throws PersistentDataException
persistentDataException - if there is a problem in the physical access in the db
PersistentDataException
public Form compareForm(Form f)
throws PersistentDataException
PersistentDataException
public boolean isAchieved(Id incId)
throws PersistentDataException
PersistentDataException
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||