Uses of Annotation Interface
com.peterphi.std.guice.database.annotation.Transactional
Packages that use Transactional
Package
Description
-
Uses of Transactional in com.peterphi.std.guice.hibernate.dao
Methods in com.peterphi.std.guice.hibernate.dao with annotations of type TransactionalModifier and TypeMethodDescriptionvoidvoidHibernateDao.deleteById(ID id) <RT> ConstrainedResultSet<RT>HibernateDao.find(WebQuery query, JPASearchStrategy strategy, Function<?, RT> serialiser) HibernateDao.getAll()HibernateDao.getByUniqueProperty(String propertyName, Object value) HibernateDao.getListById(List<ID> ids) voidHibernateDao.saveOrUpdate(T obj) void -
Uses of Transactional in com.peterphi.usermanager.daemon
Methods in com.peterphi.usermanager.daemon with annotations of type TransactionalModifier and TypeMethodDescriptionintDeleteExpiredSessionDaemon.deleteExpiredDelegatedTokens()intDeleteExpiredSessionDaemon.deleteExpiredSessions() -
Uses of Transactional in com.peterphi.usermanager.db.dao.hibernate
Methods in com.peterphi.usermanager.db.dao.hibernate with annotations of type TransactionalModifier and TypeMethodDescriptionUserDaoImpl.changeProfile(int id, String name, String email, String dateFormat, String timeZone) voidUserDaoImpl.changeSessionReconnectKey(Integer id) OAuthSessionContextDaoImpl.create(UserEntity user, OAuthServiceEntity service, String scope) Create a context (or reuse an existing active context)OAuthSessionDaoImpl.create(OAuthSessionContextEntity context, String initiator, org.joda.time.DateTime expires) voidOAuthSessionContextDaoImpl.deleteByUser(UserEntity user) OAuthSessionDaoImpl.exchangeCodeForToken(OAuthServiceEntity service, String authorisationCode) OAuthSessionDaoImpl.exchangeRefreshTokenForNewToken(OAuthServiceEntity service, String refreshToken, org.joda.time.DateTime newExpires) OAuthSessionDaoImpl.getByToken(String token) RoleDaoImpl.getOrCreate(String id, String caption) OAuthSessionDaoImpl.getSessionToDelegateByRefreshToken(OAuthServiceEntity service, String refreshToken) UserDaoImpl.loginByAccessKey(String key) UserDaoImpl.loginBySessionReconnectKey(String key) intUserDaoImpl.register(String name, String email, String password, String dateFormat, String timeZone) intUserDaoImpl.registerRemote(String username, String fullName) voidUserDaoImpl.rotateUserAccessKey(int id) Rotate the primary access key -> secondary access key, dropping the old secondary access key and generating a new primary access keybooleanUserDaoImpl.userExists(String email) -
Uses of Transactional in com.peterphi.usermanager.guice.authentication
Methods in com.peterphi.usermanager.guice.authentication with annotations of type TransactionalModifier and TypeMethodDescriptionUserAuthenticationService.authenticate(String sessionReconnectToken) UserAuthenticationService.authenticate(String username, String password, boolean basicAuth) voidUserAuthenticationService.executeBackgroundTasks()Called periodically to request that the background tasks needed by this authentication service be performedUserAuthenticationService.getById(int id) -
Uses of Transactional in com.peterphi.usermanager.guice.authentication.db
Methods in com.peterphi.usermanager.guice.authentication.db with annotations of type TransactionalModifier and TypeMethodDescriptionInternalUserAuthenticationServiceImpl.authenticate(String sessionReconnectToken) InternalUserAuthenticationServiceImpl.authenticate(String username, String password, boolean basicAuth) InternalUserAuthenticationServiceImpl.getById(int id) -
Uses of Transactional in com.peterphi.usermanager.guice.authentication.ldap
Methods in com.peterphi.usermanager.guice.authentication.ldap with annotations of type TransactionalModifier and TypeMethodDescriptionLDAPUserAuthenticationService.authenticate(String username, String password, boolean basicAuth) LocalAndLDAPAuthenticationService.authenticate(String username, String password, boolean basicAuth) voidLDAPUserAuthenticationService.executeBackgroundTasks()LDAPUserAuthenticationService.getById(int id) voidLDAPUserAuthenticationService.refreshAllUserData(LDAPUser authUser, String password, boolean opportunistic) -
Uses of Transactional in com.peterphi.usermanager.rest.impl
Methods in com.peterphi.usermanager.rest.impl with annotations of type TransactionalModifier and TypeMethodDescriptionUserManagerOAuthServiceImpl.createDelegatedAccessToken(String clientId, String secret, long validityPeriod, String refreshToken, String authorizationHeader) javax.ws.rs.core.ResponseUserManagerOAuthServiceImpl.getOIDCUserInfo(String bearerTokenHeader) UserManagerOAuthServiceImpl.getToken(String grantType, String code, String redirectUri, String clientId, String secret, String refreshToken, String username, String password, String subjectToken, String authorizationHeader) -
Uses of Transactional in com.peterphi.usermanager.service
Methods in com.peterphi.usermanager.service with annotations of type Transactional -
Uses of Transactional in com.peterphi.usermanager.ui.impl
Methods in com.peterphi.usermanager.ui.impl with annotations of type TransactionalModifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseRoleUIServiceImpl.changeCaption(String id, String token, String caption) javax.ws.rs.core.ResponseRoleUIServiceImpl.changeMembers(String id, String token, List<Integer> members) javax.ws.rs.core.ResponseUserUIServiceImpl.changePassword(int userId, String token, String newPassword, String newPasswordConfirm) javax.ws.rs.core.Responsejavax.ws.rs.core.ResponseServiceUIServiceImpl.create(String token, String name, String requiredRole, String endpoints, List<String> roles) javax.ws.rs.core.Responsejavax.ws.rs.core.ResponseUserUIServiceImpl.deleteUser(int userId, String token) javax.ws.rs.core.Responsejavax.ws.rs.core.ResponseRegisterUIServiceImpl.doRegister(String token, String email, String name, String dateFormat, String timeZone, String password, String passwordConfirm, List<String> roles) javax.ws.rs.core.ResponseServiceUIServiceImpl.edit(String token, String id, String requiredRole, String endpoints, List<String> roles) javax.ws.rs.core.ResponseUserUIServiceImpl.editUserProfile(int userId, String token, String dateFormat, String timeZone, String name, String email, List<String> roles) ServiceUIServiceImpl.getList(javax.ws.rs.core.UriInfo query) RegisterUIServiceImpl.getRegister()RoleUIServiceImpl.getRoles(javax.ws.rs.core.UriInfo query) UserUIServiceImpl.getUserEdit(int userId) UserUIServiceImpl.getUsers(javax.ws.rs.core.UriInfo query) javax.ws.rs.core.ResponseServiceUIServiceImpl.rotateAccessKey(String id, String token)