Class BeaconsMongoDbPersistence

java.lang.Object
org.pipservices3.mongodb.persistence.MongoDbPersistence<T>
org.pipservices3.mongodb.persistence.IdentifiableMongoDbPersistence<org.pipservices3.beacons.data.version1.BeaconV1,String>
org.pipservices3.beacons.service.persistence.BeaconsMongoDbPersistence
All Implemented Interfaces:
IBeaconsPersistence, org.pipservices3.commons.config.IConfigurable, org.pipservices3.commons.refer.IReferenceable, org.pipservices3.commons.refer.IUnreferenceable, 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.ISetter<org.pipservices3.beacons.data.version1.BeaconV1>, org.pipservices3.data.IWriter<org.pipservices3.beacons.data.version1.BeaconV1,String>

public class BeaconsMongoDbPersistence extends org.pipservices3.mongodb.persistence.IdentifiableMongoDbPersistence<org.pipservices3.beacons.data.version1.BeaconV1,String> implements IBeaconsPersistence
  • Field Summary

    Fields inherited from class org.pipservices3.mongodb.persistence.IdentifiableMongoDbPersistence

    _autoGenerateId

    Fields inherited from class org.pipservices3.mongodb.persistence.MongoDbPersistence

    _client, _collection, _collectionName, _connection, _databaseName, _db, _dependencyResolver, _documentClass, _logger, _maxPageSize
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.pipservices3.beacons.data.version1.BeaconV1
    getOneByUdi(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.mongodb.persistence.IdentifiableMongoDbPersistence

    convertFromPublicPartial, create, deleteById, deleteByIds, deleteByIds, getListByIds, getListByIds, getOneById, set, update, updatePartially

    Methods inherited from class org.pipservices3.mongodb.persistence.MongoDbPersistence

    checkOpened, clear, clearSchema, close, configure, convertFromPublic, convertToPublic, defineSchema, deleteByFilter, ensureIndex, getCountByFilter, getListByFilter, getOneRandom, getPageByFilter, isOpen, open, setReferences, unsetReferences

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.pipservices3.beacons.service.persistence.IBeaconsPersistence

    create, deleteById, getOneById, update
  • Constructor Details

    • BeaconsMongoDbPersistence

      public BeaconsMongoDbPersistence()
  • 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:
      getPageByFilter in interface IBeaconsPersistence
    • getOneByUdi

      public org.pipservices3.beacons.data.version1.BeaconV1 getOneByUdi(String correlationId, String udi)
      Specified by:
      getOneByUdi in interface IBeaconsPersistence