Uses of Annotation Interface
com.peterphi.std.guice.database.annotation.Transactional
Package
Description
-
Uses of Transactional in com.peterphi.std.guice.hibernate.dao
Modifier 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
Modifier and TypeMethodDescriptionint
DeleteExpiredSessionDaemon.deleteExpiredDelegatedTokens()
int
DeleteExpiredSessionDaemon.deleteExpiredSessions()
-
Uses of Transactional in com.peterphi.usermanager.db.dao.hibernate
Modifier 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
Modifier 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
Modifier 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
Modifier 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
Modifier 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
-
Uses of Transactional in com.peterphi.usermanager.ui.impl
Modifier 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)