C - type of the context provided to queries to enable executionpublic static interface QueryFactory.UserFactory<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.User,org.opendaylight.testapp.common.type.Username> id)
Creates a query to delete a user.
|
org.opendaylight.persistence.Query<List<org.opendaylight.testapp.common.model.User>,C> |
find(org.opendaylight.testapp.common.model.UserFilter filter)
Creates a query to find users.
|
org.opendaylight.persistence.Query<org.opendaylight.testapp.common.model.User,C> |
get(org.opendaylight.persistence.util.common.type.Id<org.opendaylight.testapp.common.model.User,org.opendaylight.testapp.common.type.Username> id)
Creates a query to load a user.
|
org.opendaylight.persistence.Query<Void,C> |
store(org.opendaylight.testapp.common.model.User user)
Creates a query to store a user.
|
org.opendaylight.persistence.Query<Void,C> store(org.opendaylight.testapp.common.model.User user)
user - user to storeorg.opendaylight.persistence.Query<org.opendaylight.testapp.common.model.User,C> get(org.opendaylight.persistence.util.common.type.Id<org.opendaylight.testapp.common.model.User,org.opendaylight.testapp.common.type.Username> id)
id - user's idorg.opendaylight.persistence.Query<List<org.opendaylight.testapp.common.model.User>,C> find(org.opendaylight.testapp.common.model.UserFilter filter)
filter - filterCopyright © 2015. All rights reserved.