Class BTUserSearch
java.lang.Object
overit.geocall.bl.BusinessTask<UserSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<UserSearchEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<UserSearchEvent>
overit.geocallapp.wfm.core.bl.user.task.BTUserSearch
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(UserSearchEvent.class)
public class BTUserSearch
extends ValidPermissionBusinessTask<UserSearchEvent>
Business task in order to search a
When the
BOUser. When the
UserSearchEvent is launched the BT notices the call and
searches the BOUser basing on the event's input. Permission:
BasePermissions.FOUNDATION_BASE_USER_VIEWORBasePermissions.FOUNDATION_BASE_USER_EDIT
Visibility:
- at least one between the identity operation center, the identity structure or the identity area must not be null in order to be used as filter
- it removes the fake users from the searched users
- the user required must be associated to the same current user's operation
- Since:
- 9.2
- See Also:
- GCApi:
- task
-
Field Summary
Fields inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(UserSearchEvent event, PoolKit poolKit) Writes the searched users into the event journal.booleanDetermines whether the current state is valid for execution.Methods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
checkValidExecution, getException, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTUserSearch
public BTUserSearch()
-
-
Method Details
-
execute
protected void execute(UserSearchEvent event, PoolKit poolKit) throws DAException, DAValidateException Writes the searched users into the event journal.- Specified by:
executein classValidExecutionBusinessTask<UserSearchEvent>- Parameters:
event- the eventpoolKit- the pool kit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Description copied from interface:ValidExecutionDetermines whether the current state is valid for execution.- Returns:
- true if execution is valid, false otherwise
-