Search in sources :

Example 16 with UserPropertiesV4

use of org.onebusaway.users.model.properties.UserPropertiesV4 in project onebusaway-application-modules by camsys.

the class UserPropertiesServiceV4Impl method authorizeApi.

@Override
public void authorizeApi(User user, long minApiRequestInterval) {
    UserPropertiesV4 properties = getProperties(user);
    properties.setMinApiRequestInterval(minApiRequestInterval);
    _userDao.saveOrUpdateUser(user);
}
Also used : UserPropertiesV4(org.onebusaway.users.model.properties.UserPropertiesV4)

Aggregations

UserPropertiesV4 (org.onebusaway.users.model.properties.UserPropertiesV4)16 Bookmark (org.onebusaway.users.model.properties.Bookmark)4 UserProperties (org.onebusaway.users.model.UserProperties)2 Date (java.util.Date)1 HashSet (java.util.HashSet)1 BookmarkBean (org.onebusaway.users.client.model.BookmarkBean)1 User (org.onebusaway.users.model.User)1 UserIndex (org.onebusaway.users.model.UserIndex)1 UserPropertiesV1 (org.onebusaway.users.model.UserPropertiesV1)1 UserRole (org.onebusaway.users.model.UserRole)1 UserPropertiesV2 (org.onebusaway.users.model.properties.UserPropertiesV2)1 UserPropertiesV3 (org.onebusaway.users.model.properties.UserPropertiesV3)1