Uses of Class
com.avoka.fc.core.entity.UserAccount
Package
Description
Provides the Data Access Objects used by SmartForm Manager.
Provides the SmartForm Manager entity classes.
Provides the SmartForm Manager entity base classes, which are being maintained by Cayenne.
Provides classes related to security and authentication.
Provides the SmartForm Manager service classes.
Provides the Composer HTML Form Archive Utils.
Provides the Email Client Services.
Provides the Fluent Groovy API services.
Provides classes for form services.
Provides the SmartForm Manager service class implementation.
Provides Collaboration Jobs service classes.
Provides web automated test services.
Provides REST Service API servlet classes.
Provides test classes used in Avoka Transact that use J-Unit4 annotations.
Provides common utility classes and exception objects.
Provides Fluent Function classes.
Provides Value Object persistent entity classes.
-
Uses of UserAccount in com.avoka.fc.core.dao
Modifier and TypeFieldDescriptionWorkspaceDao.JobCriteria.userAccount
User account.WorkspaceDao.SubmissionCriteria.userAccount
User account.Modifier and TypeMethodDescriptionUserAccountDao.getActiveAdminAccountForLogin
(String loginName) Return the active user account with the given login name.UserAccountDao.getActiveUserAccountForLogin
(String loginName) Return the active user account with the given login nameUserAccountDao.getActiveUserForLoginAndPortal
(String loginName, Portal portal) Return the active user account for the given login name and portalUserAccountDao.getUserAccountForEmail
(String emailAddress) Return the user account for the given email address, or null if not foundUserAccountDao.getUserAccountForLogin
(String loginName) Return the user account with the given login nameUserAccountDao.getUserAccountForPK
(Object id) Return the user account with the specified OIDUserAccountDao.getUserAccountForUserKey
(String userKey) Return the user account for the given user surrogate keyUserAccountDao.getUserForLoginAndPortal
(String loginName, Portal portal) Return the user account for the given login name and portal.Modifier and TypeMethodDescriptionUserAccountDao.getActiveUserAccountsForClient
(String clientId) Return the list of active user accounts associated with a client, ordered by login nameUserAccountDao.getActiveUserAccountsForClientIncludeGlobalUsers
(String clientId) Return the list of active user accounts associated with a client and global user accounts, ordered by login nameUserAccountDao.getActiveUsersInGroup
(String groupName) Return all active user accounts who are members of a specific group, ordered by login nameUserAccountDao.getActiveUsersInGroups
(Set<String> groupNameSet) Return all active user accounts who are members of a set of groups, ordered by login nameUserAccountDao.getActiveUsersInGroupWithClientAccess
(String groupName, Client client) Return all active user accounts who are members of a specific group, ordered by login name.UserAccountDao.getActiveUsersSubscribedToSubmissionAlerts
(String clientId) Return the list of active users subscribed to theGroup.RECEIVE_DELIVERY_ESCALATION_ALERTS
group for the specified clientUserAccountDao.getAdminsWithPermission
(String clientId, String permissionName) Return all user accounts for the given client, who also have the specified permissionUserAccountDao.getUnverifiedAccountsToPurge()
Return a list of user accounts requiring email verification that are ready to purge, sorted ascending by creation date.UserAccountDao.getUserAccountList()
Return all user accounts, including inactive users, ordered by login nameUserAccountDao.getUserAccountList
(String clientId, String keyword, String portalId, String userType, String accountStatus) Return the list of user accounts matching the specified search criteriaUserAccountDao.getUserSearch
(String clientId, String value) Return a list of users whose given name, family name, login name or email address contain the search string, or whose OID matches the search string if it is numericUserAccountDao.getUsersWithLoginNameOrEmail
(String userIdentifier) Return the list of users whose login name or email matches the specified identifierModifier and TypeMethodDescriptionSubmissionDao.addProcessingStatus
(Submission submission, String status, UserAccount user) Return a processing status entry to a submission.ApplicationPackageDao.getActiveApplicationPackages
(String selectedClientId, UserAccount userAccount) Return the list of application packages for the currently selected organization and user.UserAccountDao.getActiveClients
(UserAccount userAccount) Return the list of clients associated with the administrative user, will return empty list for global clients.TPacDao.getActiveTPacs
(String selectedClientId, UserAccount userAccount, String keyword) Return the list of TPac objects for the currently selected organization and user.RoleDao.getAssignableRolesForAdmin
(UserAccount userAccount) Return all roles that the given user is allowed to assign to other users, ordered by name Only active roles will be offered.int
SubmissionDao.getAssignedTaskCountForUser
(UserAccount userAccount, Portal portal, boolean includeGroupTasks) Get the number of assigned task submissions for the specified user and portal.SubmissionDao.getAssignedTasksForUser
(UserAccount userAccount, Portal portal, int maxNumber, boolean includeGroupTasks) Get the list of assigned task submissions for the specified user and portal.GroupDao.getCompletedFormGroupsForUser
(UserAccount userAccount) Return the list of completed form groups that a user is a member of.SubmissionDao.getCompletedSubmissionsForUser
(UserAccount user, String keyword, String clientName, String formNameLike, Date fromDate, Date toDate, Portal portal, Map<String, String> submissionExtractDataSearch, boolean includeGroupSubmission) Return the list of completed submissions for the given user.SubmissionDao.getCompletedSubmissionsForUser
(String keywordLike, UserAccount userAccount, Portal portal, boolean includeGroupSubmission) Provide the keyword search Submission History results based on the user own account or group access control.SubmissionDao.getCompletedSubmissionsForUser
(String keywordLike, UserAccount userAccount, Portal portal, List<String> groupNames, Set<Long> clientIdSet, Integer fetchLimit) Provide the keyword search Submission History results based on the user own account or group access control.SubmissionDao.getCompletedSubmissionsForUserAndForms
(UserAccount user, Collection<String> formCodes, Date fromDate, Date toDate, Portal portal, Map<String, String> submissionExtractDataSearch, boolean includeGroupSubmission) Return the list of completed submissions for the given user.SubmissionDao.getDraftsForUser
(UserAccount userAccount, Portal portal, List<String> groupNames, boolean includeGroupSubmission) Return the list of draft or 'Saved' submissions for a given user and portal.FormDao.getFormListIds
(List<Long> formIds, UserAccount userAccount) Return the list of forms for the given form IDs filtered for the users access.GroupDao.getGroupsForUser
(UserAccount userAccount, String groupType) Return the list of form groups that a user is a member of.UserAuthEventDao.getLastUserAuthEvent
(UserAccount userAccount, Portal portal) Return the last user auth event for the given user and portal.GroupDao.getNewFormGroupsForUser
(UserAccount userAccount) Return the list of new form groups that a user is a member of.PortalDao.getPortalsForUser
(UserAccount userAccount) Return the set of portals associated with a user accountSubmissionDao.getPortalToDoSubmissionsForUser
(UserAccount userAccount, String keywordLike, List<String> statusList, Portal portal, boolean includeGroupSubmission) Return the list of incomplete submissions matching the specified search criteria.SubmissionDao.getPortalToDoSubmissionsForUser
(UserAccount userAccount, String keyword, List<String> submissionStatusList, Portal portal, List<String> groupNames, Set<Long> clientIdSet, Integer fetchLimit) Gets the portal to do submissions for user.UserPortalPrefDao.getPrefString
(UserAccount user, Portal portal) Return the user's portal preferences string.UserProfileDao.getProfile
(UserAccount userAccount, String profileName) Return the user profile with a given name for a given user accountUserProfileDao.getProfilesForUser
(UserAccount user) Return the user profiles for the given user account, ordered by profile nameRoleDao.getRoleList
(UserAccount userAccount, String keyword, boolean activeOnly) Return the list of roles matching the specified search criteria, ordered by nameRoleDao.getRoleList
(UserAccount userAccount, String keyword, Object portalId, boolean activeOnly) Return the list of roles matching the specified search criteria, ordered by nameGroupDao.getSavedFormGroupsForUser
(UserAccount userAccount) Return the list of saved form groups that a user is a member of.ServiceDefinitionDao.getServiceDefinitionListForUserAndType
(String type, UserAccount userAccount, boolean includeInactiveServices) Return the service definitions for the given type, and filtered based on user account accessServiceDefinitionDao.getServiceListIds
(List<Long> serviceIds, UserAccount userAccount) Return the list of services for the given service IDs filtered for the users access.SubmissionDao.getSubmittedOrCompletedSubmissionsForUser
(UserAccount userAccount, Portal portal, List<String> groupNames, boolean includeGroupSubmission) Return the list of completed submissions for the given user.SubmissionDao.getToDoSubmissionsForUser
(UserAccount userAccount, String keywordLike, String clientName, List<String> statusList, Date fromDateTime, Date toDateTime, Portal portal, boolean includeGroupSubmission) Return the list of incomplete submissions matching the specified search criteria.SubmissionDao.getToDoSubmissionsForUserAndForm
(UserAccount userAccount, Form form, boolean includeGroupSubmission) Gets the submissions for user and form.UserAuthEventDao.getUserAuthEventsForUser
(UserAccount userAccount, int fetchLimit) Return the user authentication events for the given user, ordered by event time descending.UserAccountDao.getUserClientIdSet
(UserAccount userAccount) Return the users set of client IDs.boolean
UserAccountDao.isClientAccessibleToUser
(UserAccount userAccount, Client client) Checks if is user accessible to client.boolean
UserAccountDao.isClientSuperset
(UserAccount userAccount, UserAccount targetUserAccount) Return whether a user is associated with a superset of the clients of another target user.boolean
UserAccountDao.isSubmissionAccessibleToAdministrator
(Submission submission, UserAccount userAccount) Return true if the submission is accessible to the given administrator user.UserPortalPrefDao.loadPrefObject
(UserAccount user, Portal portal) Load the user's portal preferences object.void
UserPortalPrefDao.setPrefString
(UserAccount user, Portal portal, String prefs) Set the preference string for the given user and portal.void
UserAccountDao.setReceiveSubmissionUpdates
(UserAccount userAccount, boolean receive) Add the user to / remove the user from theGroup.RECEIVE_SUBMISSION_UPDATES
groupvoid
UserPortalPrefDao.storePrefObject
(UserAccount user, Portal portal, T userPref) Store the user portal preferences object.void
UserProfileDao.updateActiveUserProfile
(UserAccount userAccount, Map<String, String> newPropertyMap) Update user account's active profile with the given profile values map. -
Uses of UserAccount in com.avoka.fc.core.entity
Modifier and TypeMethodDescriptionboolean
UserAccount.equals
(UserAccount account) Return if the user account equals the supplied user account. -
Uses of UserAccount in com.avoka.fc.core.entity.auto
Modifier and TypeFieldDescriptionstatic final org.apache.cayenne.exp.Property<UserAccount>
_PromotionLog.ADMIN_USER
Provides the 'ADMIN_USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_FormDesignVersion.CHECK_OUT_USER
Provides the 'CHECK_OUT_USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_ComposerPackageQueue.CREATOR
Provides the 'CREATOR' property.static final org.apache.cayenne.exp.Property<UserAccount>
_Form.FORM_ADMIN_MANAGER
Provides the 'FORM_ADMIN_MANAGER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_TPac.INSTALLED_BY_USER
Provides the 'INSTALLED_BY_USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_AuditLog.USER
Provides the 'USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_ClientUser.USER
Provides the 'USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_ComposerImportAction.USER
Provides the 'USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_FileUpload.USER
Provides the 'USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_JobComment.USER
Provides the 'USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_PortalUser.USER
Provides the 'USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_RequestLog.USER
Provides the 'USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_Submission.USER
Provides the 'USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_SubmissionComment.USER
Provides the 'USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_SubmissionHistory.USER
Provides the 'USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_UserAuthEvent.USER
Provides the 'USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_UserGroup.USER
Provides the 'USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_UserPortalPref.USER
Provides the 'USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_UserProfile.USER
Provides the 'USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_UserRole.USER
Provides the 'USER' property.static final org.apache.cayenne.exp.Property<UserAccount>
_EventOutbox.USER_ACCOUNT
Provides the 'USER_ACCOUNT' property.static final org.apache.cayenne.exp.Property<UserAccount>
_Project.USER_OWNER
Provides the 'USER_OWNER' property.Modifier and TypeMethodDescription_PromotionLog.getAdminUser()
Return the AdminUser._FormDesignVersion.getCheckOutUser()
Return the CheckOutUser._ComposerPackageQueue.getCreator()
Return the Creator._Form.getFormAdminManager()
Return the FormAdminManager._TPac.getInstalledByUser()
Return the InstalledByUser._AuditLog.getUser()
Return the User._ClientUser.getUser()
Return the User._ComposerImportAction.getUser()
Return the User._FileUpload.getUser()
Return the User._JobComment.getUser()
Return the User._PortalUser.getUser()
Return the User._RequestLog.getUser()
Return the User._Submission.getUser()
Return the User._SubmissionComment.getUser()
Return the User._SubmissionHistory.getUser()
Return the User._UserAuthEvent.getUser()
Return the User._UserGroup.getUser()
Return the User._UserPortalPref.getUser()
Return the User._UserProfile.getUser()
Return the User._UserRole.getUser()
Return the User._EventOutbox.getUserAccount()
Return the UserAccount._Project.getUserOwner()
Return the UserOwner.Modifier and TypeMethodDescriptionvoid
_PromotionLog.setAdminUser
(UserAccount adminUser) Set the AdminUser.void
_FormDesignVersion.setCheckOutUser
(UserAccount checkOutUser) Set the CheckOutUser.void
_ComposerPackageQueue.setCreator
(UserAccount creator) Set the Creator.void
_Form.setFormAdminManager
(UserAccount formAdminManager) Set the FormAdminManager.void
_TPac.setInstalledByUser
(UserAccount installedByUser) Set the InstalledByUser.void
_AuditLog.setUser
(UserAccount user) Set the User.void
_ClientUser.setUser
(UserAccount user) Set the User.void
_ComposerImportAction.setUser
(UserAccount user) Set the User.void
_FileUpload.setUser
(UserAccount user) Set the User.void
_JobComment.setUser
(UserAccount user) Set the User.void
_PortalUser.setUser
(UserAccount user) Set the User.void
_RequestLog.setUser
(UserAccount user) Set the User.void
_Submission.setUser
(UserAccount user) Set the User.void
_SubmissionComment.setUser
(UserAccount user) Set the User.void
_SubmissionHistory.setUser
(UserAccount user) Set the User.void
_UserAuthEvent.setUser
(UserAccount user) Set the User.void
_UserGroup.setUser
(UserAccount user) Set the User.void
_UserPortalPref.setUser
(UserAccount user) Set the User.void
_UserProfile.setUser
(UserAccount user) Set the User.void
_UserRole.setUser
(UserAccount user) Set the User.void
_EventOutbox.setUserAccount
(UserAccount userAccount) Set the UserAccount.void
_Project.setUserOwner
(UserAccount userOwner) Set the UserOwner. -
Uses of UserAccount in com.avoka.fc.core.outbox
Modifier and TypeMethodDescriptionIOutboxProcessor.raiseEvent
(ServiceConnection serviceConnection, String eventTopic, String payload, String eventDetails, EventOutbox.EntityType entityType, String entityId, UserAccount user) Create a new EventOutbox entity.OutboxProcessor.raiseEvent
(ServiceConnection serviceConnection, String eventTopic, String payload, String eventDetails, EventOutbox.EntityType entityType, String entityId, UserAccount user) Create a new EventOutbox entity. -
Uses of UserAccount in com.avoka.fc.core.security
Modifier and TypeMethodDescriptionISecurityManagerService.createUserAndProfile
(String loginName, String email, String password, String givenName, String familyName, String mobile, Map<String, String> profileMap, String authenticationDomain, String userType, boolean isSelfRegistration) Create a new user account and profileSecurityManagerService.createUserAndProfile
(String loginName, String email, String password, String givenName, String familyName, String mobile, Map<String, String> profileMap, String authenticationDomain, String userType, boolean isSelfRegistration) Create a new user account and profileAccountUserDetails.getUserAccount()
Return the underlying user account.NotPortalAccountException.getUserAccount()
Return the authenticated local user account.ISecurityManagerService.onFailedLogin
(String userId, jakarta.servlet.http.HttpServletRequest request) Event listener for unsuccessful user login event.SecurityManagerService.onFailedLogin
(String userId, jakarta.servlet.http.HttpServletRequest request) Event listener for unsuccessful user login event.ISecurityManagerService.onSuccessfulLogin
(String userId, jakarta.servlet.http.HttpServletRequest request) Event listener for successful user login event.SecurityManagerService.onSuccessfulLogin
(String userId, jakarta.servlet.http.HttpServletRequest request) Event listener for successful user login event.Modifier and TypeMethodDescriptionboolean
ISecurityManagerService.doesPasswordMatch
(String password, UserAccount userAccount) Return true if the plain text password value matches the local user account password.boolean
SecurityManagerService.doesPasswordMatch
(String password, UserAccount userAccount) Return true if the plain text password value matches the local user account password.FormSubmissionAccessController.validateTaskReassignment
(Submission submission, UserAccount newAssignee, jakarta.servlet.http.HttpServletRequest request) Checks if a task can be reassigned to a user by the current user.IFormSubmissionAccessController.validateTaskReassignment
(Submission submission, UserAccount newAssignee, jakarta.servlet.http.HttpServletRequest request) Checks if a task can be reassigned to a user by the current user.ModifierConstructorDescriptionAccountUserDetails
(UserAccount userAccount) Create a new UserDetailsAdaptor object based on the given user account.AccountUserDetails
(UserAccount userAccount, Collection<org.springframework.security.core.GrantedAuthority> authorities) Create a new UserDetailsAdaptor object based on the given user account.AccountUserDetails
(UserAccount userAccount, Set<String> groupNames) Create a new UserDetailsAdaptor object based on the given user account and groups (granted authorities).NotPortalAccountException
(UserAccount userAccount, Portal portal) Create a NotPortalAccountException with the given authenticated user account and unassociated portal. -
Uses of UserAccount in com.avoka.fc.core.service
Modifier and TypeFieldDescriptionSubmissionTaskService.FormTaskParam.user
The user the user account to assign the task to (must be specified if group is not).Modifier and TypeMethodDescriptionUserService.createLocalUserAndLogin
(String loginName, String password, String email, String givenName, String familyName, String mobile, Portal portal) Create a Local type UserAccount and log them in with the Spring Security Context, and return the new account.UserService.createSsoUserAccount
(String loginName, String email, String givenName, String familyName, Map<String, String> profileMap) Create an SSO type user account and profile with the given details.UserService.createUpdateSsoUserAccount
(String loginName, String email, String givenName, String familyName, Map<String, String> profileMap) Looks for and existing SSO userAccount for the portal.UserService.createUserAndProfile
(String loginName, String email, String password, String givenName, String familyName, String authenticationDomain, String userType, Portal portal, boolean isSelfRegistration) Create a registered user with a default profile from the given user details.UserService.createUserAndProfile
(String loginName, String email, String password, String givenName, String familyName, String mobile, String authenticationDomain, String userType, Portal portal, boolean isSelfRegistration) Create a registered user with a default profile from the given user details.static UserAccount
UserService.getActiveUserAccount()
Get the active user account.SubmissionDataBean.getOfflineUser()
Return the offline user account.Modifier and TypeMethodDescriptionboolean
UserService.addPortalForUser
(UserAccount user, Portal portal) Add the portal access right for a given user.boolean
UserService.addUserToGroup
(UserAccount user, Group group) Add a user to a group.void
UserService.associateUserWithSubmission
(UserAccount user, Submission submission) Associate the given user account with the specified submission, also associate user with the submission's portal if not associated.void
UserService.changeUserPassword
(UserAccount userAccount, String newPassword) Change a password for a user.void
UserService.changeUserPassword
(UserAccount userAccount, String newPassword, boolean commitChanges) Change a password for a user.TaskService.createFormTask
(Form form, String taskSubject, String taskMessage, Integer sequence, UserAccount user, Group group, String formDataXml, String inputXmlData, Double latitude, Double longitude, String address, Date datetimeScheduled, Date datetimeExpiry, boolean sendEmailFlag, String emailSubject, String emailMessage, boolean userDeletableFlag) Create a form task for a user or a user group to do.TaskService.createFormTask
(Form form, String taskSubject, String taskMessage, Integer sequence, UserAccount user, Group group, String formDataXml, String inputXmlData, Double latitude, Double longitude, Date datetimeScheduled, Date datetimeExpiry, boolean sendEmailFlag, String emailSubject, String emailMessage, boolean userDeletableFlag) Create a form task for a user or a user group to do.EventOutboxService.createOutboxEvent
(ServiceConnection serviceConnection, String eventTopic, String payload, String eventDetails, EventOutbox.EntityType entityType, String entityId, UserAccount user) create a new EventOutbox entity.RequestLogService.createRequestLog
(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion, Submission submission, UserAccount userAccount, String renderMode) Create a request log and register it with the data contextRequestLogService.createRequestLog
(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion, Submission submission, UserAccount userAccount, String renderMode, boolean commitChanges) Create a request log and register it with the data contextTaskService.createReviewTask
(Submission reviewSubmission, Form form, String taskSubject, String taskMessage, Integer sequence, UserAccount user, Group group, String formDataXml, Double latitude, Double longitude, String address, Date datetimeScheduled, Date datetimeExpiry, boolean sendEmailFlag, String emailSubject, String emailMessage, boolean userDeletableFlag) Create a review task for a user or a user group to do.TaskService.createReviewTask
(Submission reviewSubmission, Form form, String taskSubject, String taskMessage, Integer sequence, UserAccount user, Group group, String formDataXml, Double latitude, Double longitude, Date datetimeScheduled, Date datetimeExpiry, boolean sendEmailFlag, String emailSubject, String emailMessage, boolean userDeletableFlag) Create a review task for a user or a user group to do.void
UserService.handleEmailVerification
(UserAccount userAccount) Handle an email verification confirmation by a user.boolean
UserService.hasAccessToUser
(UserAccount accessingUser, UserAccount targetUser) Check whether a user account can access another user in principle (e.g.boolean
UserService.hasPermission
(UserAccount user, Portal portal, String permissionName) Check whether the user can access a certain portal and has a certain permissionboolean
TaskService.isAssignee
(Submission task, UserAccount user) Check whether the task is assigned to a particular user.boolean
UserService.isAssociatedWithPortal
(UserAccount user, String portalName) Check if the user have access right to the portal.boolean
UserService.isPasswordEqual
(String plainTextPassword, UserAccount userAccount) Return a boolean to check whether password equals its hash value.boolean
ITwoFactorAuthenticationService.isValid
(Object securityToken, UserAccount userAccount, jakarta.servlet.http.HttpServletRequest request) Checks additional authentication factors (not including the password) for a user.protected void
FormDataService.populateDynamicData
(Document seedDocument, Form form, jakarta.servlet.http.HttpServletRequest request, UserAccount userAccount, RequestLog requestLog, String referer, Submission submission, TemplateVersion templateVersion, SchemaSeedVO schemaSeed) Populate any Dynamic data into the seed document.protected void
FormDataService.populateSystemProfile
(Document seedDocument, Form form, jakarta.servlet.http.HttpServletRequest request, UserAccount userAccount, RequestLog requestLog, String referer, Submission submission, TemplateVersion templateVersion) Populate the system profile information in the XML seed document.void
IEmailService.queueAccountStatusNotification
(UserAccount userAccount, Portal portal) Create the account status notification on the email queue.void
IEmailService.queueNewAccountNotification
(UserAccount userAccount, Portal portal) Create new account notification on the email queue.void
SubmissionStatusService.reassignTaskSubmission
(Submission submission, UserAccount newAssignee, jakarta.servlet.http.HttpServletRequest request) Reassign the task submission to the specified user account.void
UserAuthEventService.recordUserAuthEvent
(UserAccount userAccount, Portal portal, String type, Date timestamp, jakarta.servlet.http.HttpServletRequest request, String sessionId) Record a user authentication event.boolean
UserService.removeUserFromGroup
(UserAccount user, Group group) Remove a user from a group.protected Submission
SubmissionService.saveSubmissionUnmanaged
(UserAccount userAccount, SubmissionDataBean submissionDataBean, jakarta.servlet.http.HttpServletRequest request, RequestLog requestLog, boolean isBackgroundSave) Create a submission record Save a submission record without committing the database transaction.void
ITwoFactorAuthenticationService.sendEnrolmentEmail
(UserAccount userAccount, Portal portal) Send an email with enrolment instructions to the given user.void
IEmailService.sendLostPasswordMessage
(UserAccount userAccount, String loginURL, Portal portal) Reset a user's password and send the email to his/her email address.void
ITwoFactorAuthenticationService.sendResetEmail
(UserAccount userAccount, Portal portal) Send an email with instructions on how to reset multi-factor authentication credentials.void
IEmailService.sendWelcomeUserMessage
(UserAccount userAccount, Portal portal) Send a welcome message to the user.void
IEmailService.sendWelcomeUserMessage
(UserAccount userAccount, Portal portal, String tempPassword) Send a welcome message to the uservoid
SubmissionDataBean.setOfflineUser
(UserAccount offlineUser) Set the offline user account.void
UserService.updateActiveUserProfile
(UserAccount userAccount, Map<String, String> profileMap) Update user account's active profile with the given profile values map.boolean
UserService.updateLockStatus
(UserAccount userAccount) Check the user's lock status and unlock them if they were locked temporarily and the lockout duration has passed.void
UserService.updateRoles
(Object userId, List<String> newRoleIds, UserAccount currentAdminUser) Update the given user to have the given list of roles only (i.e delete ones not in list, add ones in list).Modifier and TypeMethodDescriptionvoid
ISubmissionDeliveryController.sendEmailEscalation
(Client client, List<UserAccount> recipients, long numberOfEscalations) Send a submission delivery escalation email. -
Uses of UserAccount in com.avoka.fc.core.service.composer
Modifier and TypeMethodDescriptionstatic UserAccount
ComposerPackageProviderUtils.getUserAccountFromRequest
(jakarta.servlet.http.HttpServletRequest request) Return the user account for the given PID request.Modifier and TypeMethodDescriptionstatic String
ComposerPackageProviderUtils.createPackageIdUrl
(TemplateVersion formVersion, UserAccount userAccount, boolean encodeUrl) Create a Package ID URL with for the given form version and user account. -
Uses of UserAccount in com.avoka.fc.core.service.email
Modifier and TypeMethodDescriptionvoid
AbstractEmailService.queueAccountStatusNotification
(UserAccount userAccount, Portal portal) Create the account status notification on the email queue.void
AbstractEmailService.queueNewAccountNotification
(UserAccount userAccount, Portal portal) Create new account notification on the email queue.void
AbstractEmailService.sendLostPasswordMessage
(UserAccount userAccount, String loginURL, Portal portal) Reset a user's password and send the email to his/her email address.void
AbstractEmailService.sendWelcomeUserMessage
(UserAccount userAccount, Portal portal) Send a welcome message to the user.void
AbstractEmailService.sendWelcomeUserMessage
(UserAccount userAccount, Portal portal, String tempPassword) Send a welcome message to the user -
Uses of UserAccount in com.avoka.fc.core.service.fluent
Modifier and TypeMethodDescriptionFluentFunctionService.execute
(String triggerType, jakarta.servlet.http.HttpServletRequest request, Submission submission, Map<String, Object> params, Document formDoc, org.apache.commons.fileupload.FileItem fileAttachment, UserAccount userAccount) Execute the Fluent function and return a func result object.FormFunctionsExecutor.execute
(jakarta.servlet.http.HttpServletRequest request, Submission submission, Document formData, Map<String, Object> parameters, org.apache.commons.fileupload.FileItem fileAttachment, UserAccount userAccount) Execute the form functions in sequence for the given trigger type.DeliveryFunctionProcessor.setUserAccount
(UserAccount userAccount) -
Uses of UserAccount in com.avoka.fc.core.service.form
Modifier and TypeMethodDescriptionJsAppDeployService.deploy
(byte[] appBundle, JsAppDeployService.FormDef formDef, Document formXml, UserAccount userAccount) Deploy the JS App using the specified app bundle ZIP, form definition JSON and form XML data document.JsAppDeployService.deploy
(byte[] appBundle, JsAppDeployService.FormDef formDef, Document formXml, UserAccount userAccount, String tmMinVersion) Deploy the JS App using the specified app bundle ZIP, form definition JSON and form XML data document. -
Uses of UserAccount in com.avoka.fc.core.service.impl
Modifier and TypeMethodDescriptionboolean
GoogleTwoFactorAuthenticationService.isValid
(Object securityToken, UserAccount userAccount, jakarta.servlet.http.HttpServletRequest request) Checks additional authentication factors (not including the password) for a user.void
GoogleTwoFactorAuthenticationService.sendEnrolmentEmail
(UserAccount userAccount, Portal portal) Send an email with enrolment instructions to the given user.void
GoogleTwoFactorAuthenticationService.sendResetEmail
(UserAccount userAccount, Portal portal) Send an email with instructions on how to apply a new key to the given user.Modifier and TypeMethodDescriptionvoid
SubmissionDeliveryControllerService.sendEmailEscalation
(Client client, List<UserAccount> recipients, long numberOfEscalations) Send a submission delivery escalation email. -
Uses of UserAccount in com.avoka.fc.core.service.job.impl
Modifier and TypeMethodDescriptionstatic UserAccount
JobActionUtils.getFormStartUser
(JobAction currentJobAction) Returns the user that made the original submission.JobFunctions.startUser()
JobFunctions.userForEmail
(String email) Return the user account for the given email address.JobFunctions.userForLogin
(String loginName) Return the user account for the given login name. -
Uses of UserAccount in com.avoka.fc.core.service.test
Modifier and TypeMethodDescriptionMockEntityService.createUserLocal()
Create a test local user with a random login name.MockEntityService.createUserLocal
(Portal portal) Create a test local user with a random login name.MockEntityService.createUserSso()
Create a test SSO user account with a random login name.MockEntityService.createUserSso
(String loginName, Portal portal) Creates a SSO user with a given loginName and portalModifier and TypeMethodDescriptionMockEntityService.addClientToUser
(UserAccount userAccount, Client client) Add a client to the specified user account This method does NOT check if the user already has that client.MockEntityService.addPortalToUser
(UserAccount userAccount, Portal portal) Add a portal to the specified user account This method does NOT check if the user already has that portal.MockEntityService.addRoleToUser
(UserAccount userAccount, Role role, Date roleExpiryDatetime) Add a role to a user, with an optional expiry time.MockEntityService.addUserToGroup
(Group group, UserAccount userAccount, Date expiryDatetime) Create a user group association.MockEntityService.createSubmissionEventOutbox
(ServiceConnection serviceConnection, UserAccount userAccount) Create a mock EventOutbox. -
Uses of UserAccount in com.avoka.fc.core.servlet.rest
Modifier and TypeMethodDescriptionprotected UserAccount
AbstractRestServlet.getUserAccount
(jakarta.servlet.http.HttpServletRequest request) Modifier and TypeMethodDescriptionprotected boolean
AbstractRestServlet.isAuthorized
(UserAccount userAccount, jakarta.servlet.http.HttpServletResponse response) protected boolean
AbstractRestServlet.isAuthorized
(UserAccount userAccount, String permission, jakarta.servlet.http.HttpServletResponse response) -
Uses of UserAccount in com.avoka.fc.core.test.junit4
Modifier and TypeMethodDescriptionprotected void
H2Test.resetRemoteUser
(Portal portal, UserAccount userAccount) -
Uses of UserAccount in com.avoka.fc.core.util
Modifier and TypeMethodDescriptionstatic UserAccount
RemoteUserProvider.getUserAccount()
Return the user's user account objectModifier and TypeMethodDescriptionstatic void
FluentSecurityUtils.applyUserOrganisationSecurity
(org.apache.cayenne.query.SelectQuery selectQuery, UserAccount userAccount) Apply organisation filter to provided select query based on users assigned organisations.static String
PortalUtils.getAccountPendingPath
(Portal portal, UserAccount userAccount) Return the account pending page path for the user.static boolean
SubmissionUtils.isSubmissionTaskAvailble
(Submission submission, UserAccount userAccount, String contactEmailAddress) Return true if the submission is available to the current user account or contact email address.static void
RemoteUserProvider.setUserAccount
(UserAccount user) Set the user's user account -
Uses of UserAccount in com.avoka.tm.func
Modifier and TypeMethodDescriptionIFluentFunction.execute
(String triggerType, jakarta.servlet.http.HttpServletRequest request, Submission submission, Map<String, Object> params, Document formDoc, org.apache.commons.fileupload.FileItem fileAttachment, UserAccount userAccount) Execute the Fluent function and return a func result object. -
Uses of UserAccount in com.avoka.tm.vo
ModifierConstructorDescriptionUser
(UserAccount userAccount) Create a User value object with the given user account entity.User
(UserAccount userAccount, Set<String> groupNames) Create a User value object with the given user account entity and group names.