Package net.solarnetwork.ocpp.dao
Interface AuthorizationDao
- All Superinterfaces:
net.solarnetwork.dao.GenericDao<Authorization,Long>
Data Access Object API for
Authorization entities.- Version:
- 1.0
- Author:
- matt
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.solarnetwork.dao.GenericDao
net.solarnetwork.dao.GenericDao.EntityEventType, net.solarnetwork.dao.GenericDao.StandardSortKey -
Field Summary
Fields inherited from interface net.solarnetwork.dao.GenericDao
ENTITY_EVENT_ENTITY_ID_PROPERTY, ENTITY_EVENT_ENTITY_PROPERTY, ENTITY_EVENT_TOPIC_TEMPLATE, SORT_BY_CREATED_ASCENDING, SORT_BY_CREATED_DESCENDING, SORT_BY_CREATED_ID_ASCENDING, SORT_BY_CREATED_ID_DESCENDING, SORT_BY_ID_ASCENDING, SORT_BY_ID_DESCENDING -
Method Summary
Modifier and TypeMethodDescriptiongetForToken(String token) Get an authorization by its unique token.Methods inherited from interface net.solarnetwork.dao.GenericDao
delete, entityEventTopic, get, getAll, getObjectType, save
-
Method Details
-
getForToken
Get an authorization by its unique token.- Parameters:
token- the token to look for- Returns:
- the matching authorization, or null if not found
-