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 TypeMethodDescriptionvoid
void
HibernateDao.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) void
HibernateDao.saveOrUpdate
(T obj) void
-
Uses of Transactional in com.peterphi.usermanager.daemon
Methods in com.peterphi.usermanager.daemon with annotations of type TransactionalModifier and TypeMethodDescriptionint
DeleteExpiredSessionDaemon.deleteExpiredDelegatedTokens()
int
DeleteExpiredSessionDaemon.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) void
UserDaoImpl.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) void
OAuthSessionContextDaoImpl.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) int
UserDaoImpl.register
(String name, String email, String password, String dateFormat, String timeZone) int
UserDaoImpl.registerRemote
(String username, String fullName) void
UserDaoImpl.rotateUserAccessKey
(int id) Rotate the primary access key -> secondary access key, dropping the old secondary access key and generating a new primary access keyboolean
UserDaoImpl.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) void
UserAuthenticationService.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) void
LDAPUserAuthenticationService.executeBackgroundTasks()
LDAPUserAuthenticationService.getById
(int id) void
LDAPUserAuthenticationService.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.Response
UserManagerOAuthServiceImpl.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.Response
RoleUIServiceImpl.changeCaption
(String id, String token, String caption) javax.ws.rs.core.Response
RoleUIServiceImpl.changeMembers
(String id, String token, List<Integer> members) javax.ws.rs.core.Response
UserUIServiceImpl.changePassword
(int userId, String token, String newPassword, String newPasswordConfirm) javax.ws.rs.core.Response
javax.ws.rs.core.Response
ServiceUIServiceImpl.create
(String token, String name, String requiredRole, String endpoints, List<String> roles) javax.ws.rs.core.Response
javax.ws.rs.core.Response
UserUIServiceImpl.deleteUser
(int userId, String token) javax.ws.rs.core.Response
javax.ws.rs.core.Response
RegisterUIServiceImpl.doRegister
(String token, String email, String name, String dateFormat, String timeZone, String password, String passwordConfirm, List<String> roles) javax.ws.rs.core.Response
ServiceUIServiceImpl.edit
(String token, String id, String requiredRole, String endpoints, List<String> roles) javax.ws.rs.core.Response
UserUIServiceImpl.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.Response
ServiceUIServiceImpl.rotateAccessKey
(String id, String token)