public class CardManager
extends java.lang.Object
Constructor and Description |
---|
CardManager(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
boolean |
activated(Card card,
int type) |
java.lang.String |
addCard(java.sql.Connection connection,
Card card) |
void |
addCardsToDealer(int dealerId,
java.util.Calendar date,
java.lang.String cards) |
void |
addCardToContract(java.util.Calendar time,
Card card,
int contractId,
ru.bitel.bgbilling.kernel.container.managed.ServerContext context)
Deprecated.
|
void |
addCardToContract(java.sql.Connection con,
java.util.Calendar time,
Card card,
int contractId) |
void |
addCardToContract(ru.bitel.bgbilling.kernel.container.managed.ServerContext context,
java.sql.Connection con,
java.util.Calendar time,
Card card,
int contractId) |
java.lang.String |
checkCard(Card card) |
Card |
findCard(java.lang.String userName) |
Card |
findCard(java.lang.String userName,
Trace tracer) |
java.util.List<Card> |
getCards(java.lang.String idList) |
void |
updateCardStatus(java.lang.String cards,
int newStatus) |
public Card findCard(java.lang.String userName)
public java.lang.String addCard(java.sql.Connection connection, Card card)
public java.lang.String checkCard(Card card)
public boolean activated(Card card, int type)
@Deprecated public void addCardToContract(java.util.Calendar time, Card card, int contractId, ru.bitel.bgbilling.kernel.container.managed.ServerContext context)
public void addCardToContract(java.sql.Connection con, java.util.Calendar time, Card card, int contractId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void addCardToContract(ru.bitel.bgbilling.kernel.container.managed.ServerContext context, java.sql.Connection con, java.util.Calendar time, Card card, int contractId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<Card> getCards(java.lang.String idList)
public void addCardsToDealer(int dealerId, java.util.Calendar date, java.lang.String cards)
public void updateCardStatus(java.lang.String cards, int newStatus)