C - type of the context provided to queries to enable executionpublic static interface QueryFactory.NetworkDeviceFactory<C>
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.persistence.Query<Void,C> |
delete(org.opendaylight.persistence.util.common.type.Id<org.opendaylight.testapp.common.model.NetworkDevice,org.opendaylight.testapp.common.type.SerialNumber> id)
Creates a query to delete a network device.
|
org.opendaylight.persistence.Query<List<org.opendaylight.testapp.common.model.NetworkDevice>,C> |
find(org.opendaylight.testapp.common.model.NetworkDeviceFilter filter,
List<org.opendaylight.persistence.util.common.type.Sort<org.opendaylight.testapp.common.model.NetworkDeviceSortKey>> sortSpecification)
Creates a query to find network devices.
|
org.opendaylight.persistence.Query<org.opendaylight.testapp.common.model.NetworkDevice,C> |
get(org.opendaylight.persistence.util.common.type.Id<org.opendaylight.testapp.common.model.NetworkDevice,org.opendaylight.testapp.common.type.SerialNumber> id)
Creates a query to load a network device.
|
org.opendaylight.persistence.Query<Void,C> |
store(org.opendaylight.testapp.common.model.NetworkDevice device)
Creates a query to store a network device.
|
org.opendaylight.persistence.Query<Void,C> store(org.opendaylight.testapp.common.model.NetworkDevice device)
device - device to storeorg.opendaylight.persistence.Query<org.opendaylight.testapp.common.model.NetworkDevice,C> get(org.opendaylight.persistence.util.common.type.Id<org.opendaylight.testapp.common.model.NetworkDevice,org.opendaylight.testapp.common.type.SerialNumber> id)
id - device's idorg.opendaylight.persistence.Query<List<org.opendaylight.testapp.common.model.NetworkDevice>,C> find(org.opendaylight.testapp.common.model.NetworkDeviceFilter filter, List<org.opendaylight.persistence.util.common.type.Sort<org.opendaylight.testapp.common.model.NetworkDeviceSortKey>> sortSpecification)
filter - filtersortSpecification - sort specificationorg.opendaylight.persistence.Query<Void,C> delete(org.opendaylight.persistence.util.common.type.Id<org.opendaylight.testapp.common.model.NetworkDevice,org.opendaylight.testapp.common.type.SerialNumber> id)
id - device's idCopyright © 2015. All rights reserved.