Class BeaconsMemoryPersistence
java.lang.Object
org.pipservices3.data.persistence.MemoryPersistence<T>
org.pipservices3.data.persistence.IdentifiableMemoryPersistence<org.pipservices3.beacons.data.version1.BeaconV1,String>
org.pipservices3.beacons.service.persistence.BeaconsMemoryPersistence
- All Implemented Interfaces:
IBeaconsPersistence,org.pipservices3.commons.config.IConfigurable,org.pipservices3.commons.refer.IReferenceable,org.pipservices3.commons.run.ICleanable,org.pipservices3.commons.run.IClosable,org.pipservices3.commons.run.IOpenable,org.pipservices3.data.IGetter<org.pipservices3.beacons.data.version1.BeaconV1,,String> org.pipservices3.data.IPartialUpdater<org.pipservices3.beacons.data.version1.BeaconV1,,String> org.pipservices3.data.ISetter<org.pipservices3.beacons.data.version1.BeaconV1>,org.pipservices3.data.IWriter<org.pipservices3.beacons.data.version1.BeaconV1,String>
- Direct Known Subclasses:
BeaconsFilePersistence
public class BeaconsMemoryPersistence
extends org.pipservices3.data.persistence.IdentifiableMemoryPersistence<org.pipservices3.beacons.data.version1.BeaconV1,String>
implements IBeaconsPersistence
-
Field Summary
Fields inherited from class org.pipservices3.data.persistence.MemoryPersistence
_items, _loader, _lock, _logger, _maxPageSize, _opened, _saver, _type, _typeName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.pipservices3.beacons.data.version1.BeaconV1getOneByUdi(String correlationId, String udi) org.pipservices3.commons.data.DataPage<org.pipservices3.beacons.data.version1.BeaconV1>getPageByFilter(String correlationId, org.pipservices3.commons.data.FilterParams filter, org.pipservices3.commons.data.PagingParams paging) Methods inherited from class org.pipservices3.data.persistence.IdentifiableMemoryPersistence
create, deleteById, deleteByIds, findAll, findOne, getListByIds, getListByIds, getOneById, set, update, updatePartiallyMethods inherited from class org.pipservices3.data.persistence.MemoryPersistence
clear, close, configure, deleteByFilter, getCountByFilter, getListByFilter, getListByFilter, getOneRandom, getPageByFilter, getPageByFilter, isOpen, open, save, setReferencesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pipservices3.beacons.service.persistence.IBeaconsPersistence
create, deleteById, getOneById, updateMethods inherited from interface org.pipservices3.commons.config.IConfigurable
configure
-
Constructor Details
-
BeaconsMemoryPersistence
public BeaconsMemoryPersistence()
-
-
Method Details
-
getPageByFilter
public org.pipservices3.commons.data.DataPage<org.pipservices3.beacons.data.version1.BeaconV1> getPageByFilter(String correlationId, org.pipservices3.commons.data.FilterParams filter, org.pipservices3.commons.data.PagingParams paging) - Specified by:
getPageByFilterin interfaceIBeaconsPersistence
-
getOneByUdi
public org.pipservices3.beacons.data.version1.BeaconV1 getOneByUdi(String correlationId, String udi) - Specified by:
getOneByUdiin interfaceIBeaconsPersistence
-