|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--cad.simcad.dummies.DumPersistentDataLinkI
| Field Summary | |
int |
_serial
|
| Constructor Summary | |
DumPersistentDataLinkI()
Creates a new instance of DumPersistentDataLinkI |
|
| 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 incId)
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int _serial
| Constructor Detail |
public DumPersistentDataLinkI()
| Method Detail |
public void achievedUpdate(Id incId,
boolean achieved)
achievedUpdate in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical access in the db.
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
PersistentDataExceptionpublic java.util.Vector get12HoursAllIncident()
get12HoursAllIncident in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical access in the db.public java.util.Vector getAllForm()
getAllForm in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical access in the db.public java.util.Vector getAllImcompleteIncident()
getAllImcompleteIncident in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical access in the db.
public java.util.Vector getAllTeams()
throws PersistentDataException
getAllTeams in interface PersistentDataLinkPersistentDataExceptionpublic java.util.Vector getAllVehicule()
getAllVehicule in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical access in the db.public Id insertEmergencyVehicule(EmergencyVehicule ev)
insertEmergencyVehicule in interface PersistentDataLinkpersistendDataException - if there is a problem in the physical access in the db.
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
PersistentDataExceptionpublic Form saveForm(Form f)
saveForm in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical recording in db.
public Incident saveIncident(Incident i,
Id formId)
saveIncident in interface PersistentDataLinkpersistentDataException - if there is a problem in the physical recording in db.
public EmergencyVehicule getAssociatedVehicule(Id incId)
throws PersistentDataException
PersistentDataLink
getAssociatedVehicule in interface PersistentDataLinkPersistentDataException
public void IncVehiculeAssociation(Id incId,
Id vehiculeId)
throws PersistentDataException
PersistentDataLink
IncVehiculeAssociation in interface PersistentDataLinkPersistentDataException
public Form compareForm(Form f)
throws PersistentDataException
compareForm in interface PersistentDataLinkPersistentDataException
public boolean isAchieved(Id incId)
throws PersistentDataException
isAchieved in interface PersistentDataLinkPersistentDataException
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||