@Service(value="ServeiInformacio")
public class ServeiInformacio
extends java.lang.Object
Constructor and Description |
---|
ServeiInformacio() |
Modifier and Type | Method and Description |
---|---|
Area |
cercarArea(java.lang.Integer idArea)
Mètode que serveix per a cercar una àrea a partir del seu identificador.
|
Moll |
cercarMoll(java.lang.Integer idMoll)
Mètode que serveix per a cercar un moll a partir del seu identificador.
|
Tripulant |
cercarTripulant(java.lang.String login)
Mètode que serveix per a cercar les dades del tripulant del qual es passa el seu nom identificatiu d'usuari com a paràmetre.
|
Vaixell |
cercarVaixell(java.lang.Integer idVaixell)
Mètode que serveix per a cercar un vaixell a partir del seu identificador.
|
java.util.Map<java.lang.String,java.lang.String> |
obtenirTripulacioVaixell(java.lang.Integer idVaixell)
Mètode que serveix per obtenir la tripulació d'un vaixell en concret a partir del seu indentificador.
|
public java.util.Map<java.lang.String,java.lang.String> obtenirTripulacioVaixell(java.lang.Integer idVaixell) throws ExcepcioInformacio
idVaixell
- objecte que conté l'indentificador del vaixell.ExcepcioInformacio
public Tripulant cercarTripulant(java.lang.String login) throws ExcepcioInformacio
login
- objecte que conté el nom identificatiu del usuari.ExcepcioInformacio
public Vaixell cercarVaixell(java.lang.Integer idVaixell) throws ExcepcioInformacio
idVaixell
- objecte que conté el identificador del vaixell.ExcepcioInformacio
public Area cercarArea(java.lang.Integer idArea) throws ExcepcioInformacio
idArea
- objecte que conté el identificador de l'àrea.ExcepcioInformacio
public Moll cercarMoll(java.lang.Integer idMoll) throws ExcepcioInformacio
idMoll
- objecte que conté el identificador del moll.ExcepcioInformacio