public class CardSeriesManager
extends java.lang.Object
Constructor and Description |
---|
CardSeriesManager(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
int |
addSeries(java.lang.String title) |
int |
deleteSeries(int id) |
java.util.Set<java.lang.Integer> |
getCardSeries(java.lang.String cards) |
java.util.List<java.lang.Long> |
getCardsFromSeries(int seriesId,
int needCount) |
java.util.List<CardSeries> |
getNotEmptySeries() |
CardSeries |
getSeries(int id) |
int |
getSeriesId(java.lang.String title) |
java.util.List<CardSeries> |
getSeriesList() |
java.lang.String |
getSeriesTitle(int id) |
int |
updateSeries(CardSeries series) |
void |
updateSeriesFree(int id) |
public int addSeries(java.lang.String title) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public int getSeriesId(java.lang.String title)
public CardSeries getSeries(int id)
public java.util.List<CardSeries> getSeriesList()
public java.lang.String getSeriesTitle(int id)
public int updateSeries(CardSeries series)
public void updateSeriesFree(int id)
public int deleteSeries(int id)
public java.util.List<CardSeries> getNotEmptySeries()
public java.util.Set<java.lang.Integer> getCardSeries(java.lang.String cards)
public java.util.List<java.lang.Long> getCardsFromSeries(int seriesId, int needCount)