public class PostgresSubscriptionsDAO extends java.lang.Object implements SubscriptionsDAO
Constructor and Description |
---|
PostgresSubscriptionsDAO(java.sql.Connection connection) |
Modifier and Type | Method and Description |
---|---|
Subscription |
create(Subscription subscription) |
Subscription[] |
findAllByCardId(java.lang.String idCard) |
static Subscription |
subscriptionFromRow(java.sql.ResultSet resultSet) |
public PostgresSubscriptionsDAO(java.sql.Connection connection)
public static Subscription subscriptionFromRow(java.sql.ResultSet resultSet) throws java.sql.SQLException
java.sql.SQLException
public Subscription create(Subscription subscription) throws InternalException
create
in interface SubscriptionsDAO
InternalException
public Subscription[] findAllByCardId(java.lang.String idCard) throws InternalException
findAllByCardId
in interface SubscriptionsDAO
InternalException