Class DispatchBalanceLimitConditionChecker
java.lang.Object
ru.bitel.bgbilling.plugins.dispatch.server.bean.condition.DispatchBalanceLimitConditionChecker
- All Implemented Interfaces:
java.io.Serializable
,DispatchConditionChecker
public class DispatchBalanceLimitConditionChecker extends java.lang.Object implements DispatchConditionChecker
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DispatchBalanceLimitConditionChecker()
-
Method Summary
Modifier and Type Method Description boolean
check(java.sql.Connection con, DispatchCondition condition, Dispatch dispatch, Subscription subscribtion)
Проверяет, баланс меньше лимитаMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DispatchBalanceLimitConditionChecker
public DispatchBalanceLimitConditionChecker()
-
-
Method Details
-
check
public boolean check(java.sql.Connection con, DispatchCondition condition, Dispatch dispatch, Subscription subscribtion) throws ru.bitel.bgbilling.common.BGExceptionПроверяет, баланс меньше лимита- Specified by:
check
in interfaceDispatchConditionChecker
- Throws:
ru.bitel.bgbilling.common.BGException
-