public class ChannelMappingManager
extends java.lang.Object
Constructor and Description |
---|
ChannelMappingManager(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
void |
deleteChannelMappings(int channelId) |
void |
deleteMapping(int id) |
ChannelMapping |
findConflictMapping(ChannelMapping mapping) |
java.util.List<ChannelMapping> |
getChannelMappingList(java.util.Date date) |
java.util.List<ChannelMapping> |
getChannelMappingList(int channelId) |
ChannelMapping |
getMappingById(int id) |
void |
updateMapping(ChannelMapping mapping) |
public ChannelMappingManager(java.sql.Connection con, int mid)
public void updateMapping(ChannelMapping mapping) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public ChannelMapping getMappingById(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<ChannelMapping> getChannelMappingList(int channelId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<ChannelMapping> getChannelMappingList(java.util.Date date) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void deleteMapping(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void deleteChannelMappings(int channelId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public ChannelMapping findConflictMapping(ChannelMapping mapping) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException