|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--cad.simcad.ObjectImpl.PersistentDataLinkI
| Constructor Summary | |
PersistentDataLinkI()
|
|
| 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()
return a vector with all the teams. |
java.util.Vector |
getAllVehicule()
return a vector of all the emergency vehicule |
EmergencyVehicule |
getAssociatedVehicule(Id vehicId)
Establish in the db an association between an Incident and a Emergency Vehicle |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PersistentDataLinkI()
| Method Detail |
public Form saveForm(Form f)
throws PersistentDataException
saveForm in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical recording in db.
PersistentDataException
public Incident saveIncident(Incident i,
Id formId)
throws PersistentDataException
saveIncident in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical recording in db.
PersistentDataException
public java.util.Vector getAllVehicule()
throws PersistentDataException
getAllVehicule in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical access in the db.
PersistentDataException
public Id insertEmergencyVehicule(EmergencyVehicule ev)
throws PersistentDataException
insertEmergencyVehicule in interface PersistentDataLinkpersistendDataException - if there is a problem in the physical access in the db.
PersistentDataException
public java.util.Vector get12HoursAllIncident()
throws PersistentDataException
get12HoursAllIncident in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical access in the db.
PersistentDataException
public java.util.Vector getAllImcompleteIncident()
throws PersistentDataException
getAllImcompleteIncident in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical access in the db.
PersistentDataException
public java.util.Vector getAllForm()
throws PersistentDataException
getAllForm in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical access in the db.
PersistentDataException
public void achievedUpdate(Id incId,
boolean achieved)
throws PersistentDataException
PersistentDataLink
achievedUpdate in interface PersistentDataLinkPersistentDataException
public void IncVehiculeAssociation(Id incId,
Id vehiculeId)
throws PersistentDataException
IncVehiculeAssociation in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical access in the db
PersistentDataException
public java.util.Vector getAllTeams()
throws PersistentDataException
getAllTeams in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical access in the db.
PersistentDataException
public Id associateTeam(Team t,
EmergencyVehicule e)
throws PersistentDataException
associateTeam in interface PersistentDataLinkpersistenDataException - if there is a problem in the physical access in the db
PersistentDataException
public void insertTeam(Team t)
throws PersistentDataException
insertTeam in interface PersistentDataLinkpersistenDataException - if there is a problem in the physical access in the db
PersistentDataException
public void insertTeam(Team t,
EmergencyVehicule e)
throws PersistentDataException
insertTeam in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical access in the db
PersistentDataException
public EmergencyVehicule getAssociatedVehicule(Id vehicId)
throws PersistentDataException
getAssociatedVehicule in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical access in the db
PersistentDataException
public Form compareForm(Form f)
throws PersistentDataException
compareForm in interface PersistentDataLinkPersistentDataException
public boolean isAchieved(Id incId)
throws PersistentDataException
PersistentDataLink
isAchieved in interface PersistentDataLinkPersistentDataException
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||