Class ServiceRuntimeList
java.lang.Object
ru.bitel.common.util.AbstractPeriodItemSet<ServiceRuntimeList.ServiceItem>
ru.bitel.bgbilling.modules.tv.server.runtime.ServiceRuntimeList
public class ServiceRuntimeList
extends ru.bitel.common.util.AbstractPeriodItemSet<ServiceRuntimeList.ServiceItem>
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bitel.common.util.AbstractPeriodItemSet
ru.bitel.common.util.AbstractPeriodItemSet.PeriodItem
-
Field Summary
Fields inherited from class ru.bitel.common.util.AbstractPeriodItemSet
entries
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
containsMillis
(ServiceRuntimeList.ServiceItem item, long millis) long
getTimeFrom
(int serviceId) protected boolean
itemByServiceId
(int serviceId) items()
listByProductId
(int productId) listEndingAt
(long millis) static ServiceRuntimeList
newInstance
(List<Service> serviceList) optionMap
(long date1, long date2) void
updateState
(int serviceId, short deviceState) Methods inherited from class ru.bitel.common.util.AbstractPeriodItemSet
add, contains, contains, containsAll, containsAll, count, count, countMillis, countMillis, get, item, items, items, items, map, nextActivateTime, remove, size, toString, update
-
Method Details
-
listEndingAt
-
listByProductId
-
containsMillis
- Overrides:
containsMillis
in classru.bitel.common.util.AbstractPeriodItemSet<ServiceRuntimeList.ServiceItem>
-
isCoincide
protected boolean isCoincide(ServiceRuntimeList.ServiceItem item, ServiceRuntimeList.ServiceItem other) - Overrides:
isCoincide
in classru.bitel.common.util.AbstractPeriodItemSet<ServiceRuntimeList.ServiceItem>
-
getTimeFrom
public long getTimeFrom(int serviceId) -
optionMap
-
itemByServiceId
-
newInstance
-
items
-
update
-
updateState
public void updateState(int serviceId, short deviceState)
-