Package ru.bitel.bgbilling.modules.card.server.bean

# Class CardSeriesManager

java.lang.Object
ru.bitel.bgbilling.modules.card.server.bean.CardSeriesManager

public class CardSeriesManager extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CardSeriesManager(Connection con, int mid)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `addSeries(String title)`
  `int`
  `deleteSeries(int id)`
  `Set<Integer>`
  `getCardSeries(String cards)`
  `List<Long>`
  `getCardsFromSeries(int seriesId, int needCount)`
  `List<CardSeries>`
  `getNotEmptySeries()`
  `CardSeries`
  `getSeries(int id)`
  `int`
  `getSeriesId(String title)`
  `List<CardSeries>`
  `getSeriesList()`
  `String`
  `getSeriesTitle(int id)`
  `int`
  `updateSeries(CardSeries series)`
  `void`
  `updateSeriesFree(int id)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CardSeriesManager

    public CardSeriesManager(Connection con, int mid)

- ## Method Details

  - ### addSeries

    public int addSeries(String title) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getSeriesId

    public int getSeriesId(String title)

  - ### getSeries

    public CardSeries getSeries(int id)

  - ### getSeriesList

    public List<CardSeries> getSeriesList()

  - ### getSeriesTitle

    public String getSeriesTitle(int id)

  - ### updateSeries

    public int updateSeries(CardSeries series)

  - ### updateSeriesFree

    public void updateSeriesFree(int id)

  - ### deleteSeries

    public int deleteSeries(int id)

  - ### getNotEmptySeries

    public List<CardSeries> getNotEmptySeries()

  - ### getCardSeries

    public Set<Integer> getCardSeries(String cards)

  - ### getCardsFromSeries

    public List<Long> getCardsFromSeries(int seriesId, int needCount)