public class IpResourceDynSubscriptionDao
extends java.lang.Object
Constructor and Description |
---|
IpResourceDynSubscriptionDao(java.sql.Connection con,
int moduleId) |
Modifier and Type | Method and Description |
---|---|
static void |
checkTables(java.sql.Connection con,
int moduleId) |
long |
free(int ipResourceId,
long connectionId,
byte[] address,
java.util.Date timeTo,
int subscriberType,
int subscriberId) |
java.util.List<IpResourceSubscriptionRuntime> |
listRuntime(int ipResourceId) |
long |
occupie(int ipResourceId,
long connectionId,
byte[] address,
java.util.Date timeFrom,
int subscriberType,
int subscriberId,
java.lang.String subscriberTitle) |
public IpResourceDynSubscriptionDao(java.sql.Connection con, int moduleId)
public long occupie(int ipResourceId, long connectionId, byte[] address, java.util.Date timeFrom, int subscriberType, int subscriberId, java.lang.String subscriberTitle) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public long free(int ipResourceId, long connectionId, byte[] address, java.util.Date timeTo, int subscriberType, int subscriberId) throws ru.bitel.bgbilling.common.BGException
ipResourceId
- address
- timeTo
- subscriberType
- subscriberId
- ru.bitel.bgbilling.common.BGException
public java.util.List<IpResourceSubscriptionRuntime> listRuntime(int ipResourceId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public static void checkTables(java.sql.Connection con, int moduleId)