Uses of Class
com.avoka.fc.core.entity.UserAccount
-
Packages that use UserAccount Package Description com.avoka.fc.core.dao Provides the Data Access Objects used by SmartForm Manager.com.avoka.fc.core.entity Provides the SmartForm Manager entity classes.com.avoka.fc.core.entity.auto Provides the SmartForm Manager entity base classes, which are being maintained by Cayenne.com.avoka.fc.core.security Provides classes related to security and authentication.com.avoka.fc.core.service Provides the SmartForm Manager service classes.com.avoka.fc.core.service.composer Provides the Composer HTML Form Archive Utils.com.avoka.fc.core.service.email Provides the Email Client Services.com.avoka.fc.core.service.fluent Provides the Fluent Groovy API services.com.avoka.fc.core.service.form Provides classes for form services.com.avoka.fc.core.service.impl Provides the SmartForm Manager service class implementation.com.avoka.fc.core.service.job.impl Provides Collaboration Jobs service classes.com.avoka.fc.core.service.test Provides web automated test services.com.avoka.fc.core.servlet.rest Provides REST Service API servlet classes.com.avoka.fc.core.util Provides common utility classes and exception objects.com.avoka.tm.func Provides Fluent Function classes.com.avoka.tm.vo Provides Value Object persistent entity classes. -
-
Uses of UserAccount in com.avoka.fc.core.dao
Fields in com.avoka.fc.core.dao declared as UserAccount Modifier and Type Field Description UserAccount
WorkspaceDao.JobCriteria. userAccount
User account.UserAccount
WorkspaceDao.SubmissionCriteria. userAccount
User account.Methods in com.avoka.fc.core.dao that return UserAccount Modifier and Type Method Description UserAccount
UserAccountDao. getActiveAdminAccountForLogin(String loginName)
Return the active user account with the given login name.UserAccount
UserAccountDao. getActiveUserAccountForLogin(String loginName)
Return the active user account with the given login nameUserAccount
UserAccountDao. getActiveUserForLoginAndPortal(String loginName, Portal portal)
Return the active user account for the given login name and portalUserAccount
UserAccountDao. getUserAccountForEmail(String emailAddress)
Return the user account for the given email address, or null if not foundUserAccount
UserAccountDao. getUserAccountForLogin(String loginName)
Return the user account with the given login nameUserAccount
UserAccountDao. getUserAccountForPK(Object id)
Return the user account with the specified OIDUserAccount
UserAccountDao. getUserAccountForUserKey(String userKey)
Return the user account for the given user surrogate keyUserAccount
UserAccountDao. getUserForLoginAndPortal(String loginName, Portal portal)
Return the user account for the given login name and portal.Methods in com.avoka.fc.core.dao that return types with arguments of type UserAccount Modifier and Type Method Description List<UserAccount>
UserAccountDao. getActiveUserAccountsForClient(String clientId)
Return the list of active user accounts associated with a client, ordered by login nameList<UserAccount>
UserAccountDao. getActiveUsersInGroup(String groupName)
Return all active user accounts who are members of a specific group, ordered by login nameList<UserAccount>
UserAccountDao. getActiveUsersInGroups(Set<String> groupNameSet)
Return all active user accounts who are members of a set of groups, ordered by login nameList<UserAccount>
UserAccountDao. getActiveUsersInGroupWithClientAccess(String groupName, Client client)
Return all active user accounts who are members of a specific group, ordered by login name.List<UserAccount>
UserAccountDao. getActiveUsersSubscribedToSubmissionAlerts(String clientId)
Return the list of active users subscribed to theGroup.RECEIVE_DELIVERY_ESCALATION_ALERTS
group for the specified clientList<UserAccount>
UserAccountDao. getAdminsWithPermission(String clientId, String permissionName)
Return all user accounts for the given client, who also have the specified permissionList<UserAccount>
UserAccountDao. getUnverifiedAccountsToPurge()
Return a list of user accounts requiring email verification that are ready to purge, sorted ascending by creation date.List<UserAccount>
UserAccountDao. getUserAccountList()
Return all user accounts, including inactive users, ordered by login nameList<UserAccount>
UserAccountDao. getUserAccountList(String clientId, String keyword, String portalId, String userType, String accountStatus)
Return the list of user accounts matching the specified search criteriaList<UserAccount>
UserAccountDao. 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 numericList<UserAccount>
UserAccountDao. getUsersWithLoginNameOrEmail(String userIdentifier)
Return the list of users whose login name or email matches the specified identifierMethods in com.avoka.fc.core.dao with parameters of type UserAccount Modifier and Type Method Description ProcessingStatus
SubmissionDao. addProcessingStatus(Submission submission, String status, UserAccount user)
Return a processing status entry to a submission.List<ApplicationPackage>
ApplicationPackageDao. getActiveApplicationPackages(String selectedClientId, UserAccount userAccount)
Return the list of application packages for the currently selected organization and user.List<Client>
UserAccountDao. getActiveClients(UserAccount userAccount)
Return the list of clients associated with the administrative user, will return empty list for global clients.List<TPac>
TPacDao. getActiveTPacs(String selectedClientId, UserAccount userAccount, String keyword)
Return the list of TPac objects for the currently selected organization and user.List<Role>
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.List<Submission>
SubmissionDao. getAssignedTasksForUser(UserAccount userAccount, Portal portal, int maxNumber, boolean includeGroupTasks)
Get the list of assigned task submissions for the specified user and portal.List<Group>
GroupDao. getCompletedFormGroupsForUser(UserAccount userAccount)
Return the list of completed form groups that a user is a member of.List<Submission>
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.List<Submission>
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.List<Submission>
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.List<Submission>
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.List<Submission>
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.List<Form>
FormDao. getFormListIds(List<Long> formIds, UserAccount userAccount)
Return the list of forms for the given form IDs filtered for the users access.List<Group>
GroupDao. getGroupsForUser(UserAccount userAccount, String groupType)
Return the list of form groups that a user is a member of.UserAuthEvent
UserAuthEventDao. getLastUserAuthEvent(UserAccount userAccount, Portal portal)
Return the last user auth event for the given user and portal.List<Group>
GroupDao. getNewFormGroupsForUser(UserAccount userAccount)
Return the list of new form groups that a user is a member of.List<Portal>
PortalDao. getPortalsForUser(UserAccount userAccount)
Return the set of portals associated with a user accountList<Submission>
SubmissionDao. getPortalToDoSubmissionsForUser(UserAccount userAccount, String keywordLike, List<String> statusList, Portal portal, boolean includeGroupSubmission)
Return the list of incomplete submissions matching the specified search criteria.List<Submission>
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.String
UserPortalPrefDao. getPrefString(UserAccount user, Portal portal)
Return the user's portal preferences string.UserProfile
UserProfileDao. getProfile(UserAccount userAccount, String profileName)
Return the user profile with a given name for a given user accountList<UserProfile>
UserProfileDao. getProfilesForUser(UserAccount user)
Return the user profiles for the given user account, ordered by profile nameList<Role>
RoleDao. getRoleList(UserAccount userAccount, String keyword, boolean activeOnly)
Return the list of roles matching the specified search criteria, ordered by nameList<Role>
RoleDao. getRoleList(UserAccount userAccount, String keyword, Object portalId, boolean activeOnly)
Return the list of roles matching the specified search criteria, ordered by nameList<Group>
GroupDao. getSavedFormGroupsForUser(UserAccount userAccount)
Return the list of saved form groups that a user is a member of.List<ServiceDefinition>
ServiceDefinitionDao. getServiceDefinitionListForUserAndType(String type, UserAccount userAccount, boolean includeInactiveServices)
Return the service definitions for the given type, and filtered based on user account accessList<ServiceDefinition>
ServiceDefinitionDao. getServiceListIds(List<Long> serviceIds, UserAccount userAccount)
Return the list of services for the given service IDs filtered for the users access.List<Submission>
SubmissionDao. getSubmittedOrCompletedSubmissionsForUser(UserAccount userAccount, Portal portal, List<String> groupNames, boolean includeGroupSubmission)
Return the list of completed submissions for the given user.List<Submission>
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.List<Submission>
SubmissionDao. getToDoSubmissionsForUserAndForm(UserAccount userAccount, Form form, boolean includeGroupSubmission)
Gets the submissions for user and form.List<UserAuthEvent>
UserAuthEventDao. getUserAuthEventsForUser(UserAccount userAccount, int fetchLimit)
Return the user authentication events for the given user, ordered by event time descending.Set<Long>
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.T
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
Methods in com.avoka.fc.core.entity that return UserAccount Modifier and Type Method Description UserAccount
SubmissionHistory. getUser()
Return the User.Methods in com.avoka.fc.core.entity with parameters of type UserAccount Modifier and Type Method Description boolean
UserAccount. equals(UserAccount account)
Return if the user account equals the supplied user account. -
Uses of UserAccount in com.avoka.fc.core.entity.auto
Fields in com.avoka.fc.core.entity.auto with type parameters of type UserAccount Modifier and Type Field Description static org.apache.cayenne.exp.Property<UserAccount>
_PromotionLog. ADMIN_USER
Provides the 'ADMIN_USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_FormDesignVersion. CHECK_OUT_USER
Provides the 'CHECK_OUT_USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_ComposerPackageQueue. CREATOR
Provides the 'CREATOR' property.static org.apache.cayenne.exp.Property<UserAccount>
_Form. FORM_ADMIN_MANAGER
Provides the 'FORM_ADMIN_MANAGER' property.static org.apache.cayenne.exp.Property<UserAccount>
_TPac. INSTALLED_BY_USER
Provides the 'INSTALLED_BY_USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_AuditLog. USER
Provides the 'USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_ClientUser. USER
Provides the 'USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_ComposerImportAction. USER
Provides the 'USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_FileUpload. USER
Provides the 'USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_JobComment. USER
Provides the 'USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_PortalUser. USER
Provides the 'USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_RequestLog. USER
Provides the 'USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_Submission. USER
Provides the 'USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_SubmissionComment. USER
Provides the 'USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_SubmissionHistory. USER
Provides the 'USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_UserAuthEvent. USER
Provides the 'USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_UserGroup. USER
Provides the 'USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_UserPortalPref. USER
Provides the 'USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_UserProfile. USER
Provides the 'USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_UserRole. USER
Provides the 'USER' property.static org.apache.cayenne.exp.Property<UserAccount>
_Project. USER_OWNER
Provides the 'USER_OWNER' property.Methods in com.avoka.fc.core.entity.auto that return UserAccount Modifier and Type Method Description UserAccount
_PromotionLog. getAdminUser()
Return the AdminUser.UserAccount
_FormDesignVersion. getCheckOutUser()
Return the CheckOutUser.UserAccount
_ComposerPackageQueue. getCreator()
Return the Creator.UserAccount
_Form. getFormAdminManager()
Return the FormAdminManager.UserAccount
_TPac. getInstalledByUser()
Return the InstalledByUser.UserAccount
_AuditLog. getUser()
Return the User.UserAccount
_ClientUser. getUser()
Return the User.UserAccount
_ComposerImportAction. getUser()
Return the User.UserAccount
_FileUpload. getUser()
Return the User.UserAccount
_JobComment. getUser()
Return the User.UserAccount
_PortalUser. getUser()
Return the User.UserAccount
_RequestLog. getUser()
Return the User.UserAccount
_Submission. getUser()
Return the User.UserAccount
_SubmissionComment. getUser()
Return the User.UserAccount
_SubmissionHistory. getUser()
Return the User.UserAccount
_UserAuthEvent. getUser()
Return the User.UserAccount
_UserGroup. getUser()
Return the User.UserAccount
_UserPortalPref. getUser()
Return the User.UserAccount
_UserProfile. getUser()
Return the User.UserAccount
_UserRole. getUser()
Return the User.UserAccount
_Project. getUserOwner()
Return the UserOwner.Methods in com.avoka.fc.core.entity.auto with parameters of type UserAccount Modifier and Type Method Description void
_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
_Project. setUserOwner(UserAccount userOwner)
Set the UserOwner. -
Uses of UserAccount in com.avoka.fc.core.security
Methods in com.avoka.fc.core.security that return UserAccount Modifier and Type Method Description UserAccount
ISecurityManagerService. 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 profileUserAccount
SecurityManagerService. 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 profileUserAccount
AccountUserDetails. getUserAccount()
Return the underlying user account.UserAccount
NotPortalAccountException. getUserAccount()
Return the authenticated local user account.UserAccount
ISecurityManagerService. onFailedLogin(String userId, HttpServletRequest request)
Event listener for unsuccessful user login event.UserAccount
SecurityManagerService. onFailedLogin(String userId, HttpServletRequest request)
Event listener for unsuccessful user login event.UserAccount
ISecurityManagerService. onSuccessfulLogin(String userId, HttpServletRequest request)
Event listener for successful user login event.UserAccount
SecurityManagerService. onSuccessfulLogin(String userId, HttpServletRequest request)
Event listener for successful user login event.Methods in com.avoka.fc.core.security with parameters of type UserAccount Modifier and Type Method Description boolean
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.String
FormSubmissionAccessController. validateTaskReassignment(Submission submission, UserAccount newAssignee, HttpServletRequest request)
Checks if a task can be reassigned to a user by the current user.String
IFormSubmissionAccessController. validateTaskReassignment(Submission submission, UserAccount newAssignee, HttpServletRequest request)
Checks if a task can be reassigned to a user by the current user.Constructors in com.avoka.fc.core.security with parameters of type UserAccount Constructor Description AccountUserDetails(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
Fields in com.avoka.fc.core.service declared as UserAccount Modifier and Type Field Description UserAccount
SubmissionTaskService.FormTaskParam. user
The user the user account to assign the task to (must be specified if group is not).Methods in com.avoka.fc.core.service that return UserAccount Modifier and Type Method Description UserAccount
UserService. 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.UserAccount
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.UserAccount
UserService. createUpdateSsoUserAccount(String loginName, String email, String givenName, String familyName, Map<String,String> profileMap)
Looks for and existing SSO userAccount for the portal.UserAccount
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.UserAccount
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.UserAccount
SubmissionDataBean. getOfflineUser()
Return the offline user account.Methods in com.avoka.fc.core.service with parameters of type UserAccount Modifier and Type Method Description boolean
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.Submission
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.Submission
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.RequestLog
RequestLogService. createRequestLog(HttpServletRequest request, Form form, TemplateVersion templateVersion, Submission submission, UserAccount userAccount, String renderMode)
Create a request log and register it with the data contextRequestLog
RequestLogService. createRequestLog(HttpServletRequest request, Form form, TemplateVersion templateVersion, Submission submission, UserAccount userAccount, String renderMode, boolean commitChanges)
Create a request log and register it with the data contextSubmission
TaskService. 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.Submission
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, HttpServletRequest request)
Checks additional authentication factors (not including the password) for a user.protected void
FormDataService. populateDynamicData(Document seedDocument, Form form, 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, 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, HttpServletRequest request)
Reassign the task submission to the specified user account.void
UserAuthEventService. recordUserAuthEvent(UserAccount userAccount, Portal portal, String type, Date timestamp, 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, 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
UserService. setESignatureStatus(UserAccount userAccount, boolean enableSignature, HttpServletRequest request)
Deprecated.void
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).Method parameters in com.avoka.fc.core.service with type arguments of type UserAccount Modifier and Type Method Description void
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
Methods in com.avoka.fc.core.service.composer that return UserAccount Modifier and Type Method Description static UserAccount
ComposerPackageProviderUtils. getUserAccountFromRequest(HttpServletRequest request)
Return the user account for the given PID request.Methods in com.avoka.fc.core.service.composer with parameters of type UserAccount Modifier and Type Method Description static 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
Methods in com.avoka.fc.core.service.email with parameters of type UserAccount Modifier and Type Method Description void
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
Methods in com.avoka.fc.core.service.fluent with parameters of type UserAccount Modifier and Type Method Description FuncResult
FluentFunctionService. execute(String triggerType, 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.FormFuncResult
FormFunctionsExecutor. execute(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
DeliveryFunctionProcessor. setUserAccount(UserAccount userAccount)
-
Uses of UserAccount in com.avoka.fc.core.service.form
Methods in com.avoka.fc.core.service.form with parameters of type UserAccount Modifier and Type Method Description Form
JsAppDeployService. 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.Form
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
Methods in com.avoka.fc.core.service.impl with parameters of type UserAccount Modifier and Type Method Description boolean
GoogleTwoFactorAuthenticationService. isValid(Object securityToken, UserAccount userAccount, 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.Method parameters in com.avoka.fc.core.service.impl with type arguments of type UserAccount Modifier and Type Method Description void
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
Methods in com.avoka.fc.core.service.job.impl that return UserAccount Modifier and Type Method Description static UserAccount
JobActionUtils. getFormStartUser(JobAction currentJobAction)
Returns the user that made the original submission.UserAccount
JobFunctions. startUser()
UserAccount
JobFunctions. userForEmail(String email)
Return the user account for the given email address.UserAccount
JobFunctions. userForLogin(String loginName)
Return the user account for the given login name. -
Uses of UserAccount in com.avoka.fc.core.service.test
Methods in com.avoka.fc.core.service.test that return UserAccount Modifier and Type Method Description UserAccount
MockEntityService. createUserLocal()
Create a test local user with a random login name.UserAccount
MockEntityService. createUserLocal(Portal portal)
Create a test local user with a random login name.UserAccount
MockEntityService. createUserSso()
Create a test SSO user account with a random login name.UserAccount
MockEntityService. createUserSso(String loginName, Portal portal)
Creates a SSO user with a given loginName and portalMethods in com.avoka.fc.core.service.test with parameters of type UserAccount Modifier and Type Method Description ClientUser
MockEntityService. 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.PortalUser
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.UserRole
MockEntityService. addRoleToUser(UserAccount userAccount, Role role, Date roleExpiryDatetime)
Add a role to a user, with an optional expiry time.UserGroup
MockEntityService. addUserToGroup(Group group, UserAccount userAccount, Date expiryDatetime)
Create a user group association. -
Uses of UserAccount in com.avoka.fc.core.servlet.rest
Methods in com.avoka.fc.core.servlet.rest that return UserAccount Modifier and Type Method Description protected UserAccount
AbstractRestServlet. getUserAccount(HttpServletRequest request)
Methods in com.avoka.fc.core.servlet.rest with parameters of type UserAccount Modifier and Type Method Description protected boolean
AbstractRestServlet. isAuthorized(UserAccount userAccount, String permission, HttpServletResponse response)
protected boolean
AbstractRestServlet. isAuthorized(UserAccount userAccount, HttpServletResponse response)
-
Uses of UserAccount in com.avoka.fc.core.util
Methods in com.avoka.fc.core.util that return UserAccount Modifier and Type Method Description static UserAccount
RemoteUserProvider. getUserAccount()
Return the user's user account objectMethods in com.avoka.fc.core.util with parameters of type UserAccount Modifier and Type Method Description static 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
Methods in com.avoka.tm.func with parameters of type UserAccount Modifier and Type Method Description FuncResult
IFluentFunction. execute(String triggerType, 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
Constructors in com.avoka.tm.vo with parameters of type UserAccount Constructor Description User(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.
-