Class TvAccountRuntimeMap
java.lang.Object
ru.bitel.bgbilling.modules.tv.server.runtime.TvAccountRuntimeMap
- All Implemented Interfaces:
ru.bitel.bgbilling.kernel.application.server.CommandListener
,EventListener<ru.bitel.bgbilling.kernel.event.common.Event>
public class TvAccountRuntimeMap
extends Object
implements EventListener<ru.bitel.bgbilling.kernel.event.common.Event>, ru.bitel.bgbilling.kernel.application.server.CommandListener
-
Constructor Summary
ConstructorDescriptionTvAccountRuntimeMap
(int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntimeMap contractRuntimeMap, Date dateFrom) TvAccountRuntimeMap
(int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntimeMap contractRuntimeMap, Date dateFrom, TvApplication tvApplication) -
Method Summary
Modifier and TypeMethodDescriptionaddRuntime
(ConnectionSet connectionSet, TvAccount tvAccount) executeCommand
(String cmd, String param) Получение по id TvAccountgetByUsername
(String username, Date date) Получение tvAccount по логинуgetTvAccount
(Integer id) list
(int contractId) listChildren
(Integer id) listChildren
(Integer id, long millis) void
load
(TvApplication application, ConnectionSet connectionSet) void
load
(ConnectionSet connectionSet, int contractId) newRuntime
(ConnectionSet connectionSet, TvAccount newTvAccount) void
notify
(ru.bitel.bgbilling.kernel.event.common.Event e, EventListenerContext ctx) toString()
values()
-
Constructor Details
-
TvAccountRuntimeMap
public TvAccountRuntimeMap(int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntimeMap contractRuntimeMap, Date dateFrom) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
TvAccountRuntimeMap
public TvAccountRuntimeMap(int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntimeMap contractRuntimeMap, Date dateFrom, TvApplication tvApplication) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
-
Method Details
-
load
public void load(TvApplication application, ConnectionSet connectionSet) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
notify
public void notify(ru.bitel.bgbilling.kernel.event.common.Event e, EventListenerContext ctx) throws ru.bitel.bgbilling.common.BGException - Specified by:
notify
in interfaceEventListener<ru.bitel.bgbilling.kernel.event.common.Event>
- Throws:
ru.bitel.bgbilling.common.BGException
-
addRuntime
-
load
public void load(ConnectionSet connectionSet, int contractId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
newRuntime
public TvAccountRuntime newRuntime(ConnectionSet connectionSet, TvAccount newTvAccount) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
getTvAccount
-
get
Получение по id TvAccount- Parameters:
id
-- Returns:
- Throws:
ru.bitel.bgbilling.common.BGException
-
listChildren
-
listChildren
-
getByUsername
public TvAccountRuntime getByUsername(String username, Date date) throws ru.bitel.bgbilling.common.BGException Получение tvAccount по логину- Parameters:
username
-date
-- Returns:
- Throws:
ru.bitel.bgbilling.common.BGException
-
toString
-
executeCommand
- Specified by:
executeCommand
in interfaceru.bitel.bgbilling.kernel.application.server.CommandListener
-
getCommandsHelp
- Specified by:
getCommandsHelp
in interfaceru.bitel.bgbilling.kernel.application.server.CommandListener
-
values
-
list
-
list
-