public class TvAccountRuntimeMap extends java.lang.Object implements EventListener<Event>, ru.bitel.bgbilling.kernel.application.server.CommandListener
Constructor and Description |
---|
TvAccountRuntimeMap(int moduleId,
ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntimeMap contractRuntimeMap,
java.util.Date dateFrom) |
TvAccountRuntimeMap(int moduleId,
ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntimeMap contractRuntimeMap,
java.util.Date dateFrom,
TvApplication tvApplication) |
Modifier and Type | Method and Description |
---|---|
TvAccountRuntime |
addRuntime(ConnectionSet connectionSet,
TvAccount tvAccount) |
java.lang.String |
executeCommand(java.lang.String cmd,
java.lang.String param) |
TvAccountRuntime |
get(java.lang.Integer id)
Получение по id TvAccount
|
TvAccountRuntime |
getByUsername(java.lang.String username,
java.util.Date date)
Получение tvAccount по логину
|
java.lang.String |
getCommandsHelp() |
TvAccount |
getTvAccount(java.lang.Integer id) |
java.util.List<TvAccountRuntime> |
list(int contractId) |
java.util.List<TvAccountRuntime> |
list(java.lang.Integer contractId,
long millis) |
java.util.List<TvAccountRuntime> |
listChildren(java.lang.Integer id) |
java.util.List<TvAccountRuntime> |
listChildren(java.lang.Integer id,
long millis) |
void |
load(ConnectionSet connectionSet,
int contractId) |
void |
load(TvApplication application,
ConnectionSet connectionSet) |
TvAccountRuntime |
newRuntime(ConnectionSet connectionSet,
TvAccount newTvAccount) |
void |
notify(Event e,
EventListenerContext ctx) |
java.lang.String |
toString() |
java.lang.Iterable<TvAccountRuntime> |
values() |
public TvAccountRuntimeMap(int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntimeMap contractRuntimeMap, java.util.Date dateFrom) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public TvAccountRuntimeMap(int moduleId, ru.bitel.bgbilling.kernel.contract.runtime.ContractRuntimeMap contractRuntimeMap, java.util.Date dateFrom, TvApplication tvApplication) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void load(TvApplication application, ConnectionSet connectionSet) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void notify(Event e, EventListenerContext ctx) throws ru.bitel.bgbilling.common.BGException
notify
in interface EventListener<Event>
ru.bitel.bgbilling.common.BGException
public TvAccountRuntime addRuntime(ConnectionSet connectionSet, TvAccount tvAccount)
public void load(ConnectionSet connectionSet, int contractId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public TvAccountRuntime newRuntime(ConnectionSet connectionSet, TvAccount newTvAccount) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public TvAccount getTvAccount(java.lang.Integer id)
public TvAccountRuntime get(java.lang.Integer id)
id
- ru.bitel.bgbilling.common.BGException
public java.util.List<TvAccountRuntime> listChildren(java.lang.Integer id)
public java.util.List<TvAccountRuntime> listChildren(java.lang.Integer id, long millis)
public TvAccountRuntime getByUsername(java.lang.String username, java.util.Date date) throws ru.bitel.bgbilling.common.BGException
username
- date
- ru.bitel.bgbilling.common.BGException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String executeCommand(java.lang.String cmd, java.lang.String param)
executeCommand
in interface ru.bitel.bgbilling.kernel.application.server.CommandListener
public java.lang.String getCommandsHelp()
getCommandsHelp
in interface ru.bitel.bgbilling.kernel.application.server.CommandListener
public java.lang.Iterable<TvAccountRuntime> values()
public java.util.List<TvAccountRuntime> list(int contractId)
public java.util.List<TvAccountRuntime> list(java.lang.Integer contractId, long millis)