factories
Class FabTheatre
java.lang.Object
factories.FabTheatre
public class FabTheatre
- extends java.lang.Object
- Author:
- brahim
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static FabTheatre getInstance()
- Recuperation du singleton de FabPersonne
- Returns:
setConnection
public void setConnection(java.sql.Connection c)
throws java.sql.SQLException
- Mise en place d'une connexion JDBC au singleton
- Parameters:
c -
- Throws:
java.sql.SQLException
parametrerZone
public Zone parametrerZone(java.lang.String idZone)
throws java.sql.SQLException
- Parameters:
z -
- Returns:
-
- Throws:
java.sql.SQLException
getZones
public java.util.Collection getZones()
throws java.sql.SQLException
- Returns:
-
- Throws:
java.sql.SQLException
getPlacesRestantes
public int getPlacesRestantes(java.lang.String idSeance,
java.lang.String idZone)
throws java.sql.SQLException
- Parameters:
idSeance - idZone -
- Returns:
-
- Throws:
java.sql.SQLException
getTheatre
public Theatre getTheatre()
throws java.sql.SQLException
- Returns:
-
- Throws:
java.sql.SQLException