Class BTUserLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(value=LoadUserEvent.class,
priority=-10)
public class BTUserLoad
extends ValidPermissionBusinessTask<LoadUserEvent>
Task that check if the user that will be loaded by the
This business task is execute before than foundation's business task
LoadUserEvent
event is valid (visible) for the current user. This business task is execute before than foundation's business task
Required fields:
- user id
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 center
- Since:
- 10.1
- 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(LoadUserEvent event, PoolKit pk) Executes the actual business logic after validation has passed.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
-
BTUserLoad
public BTUserLoad()
-
-
Method Details
-
execute
Description copied from class:ValidExecutionBusinessTaskExecutes the actual business logic after validation has passed.- Specified by:
executein classValidExecutionBusinessTask<LoadUserEvent>- Parameters:
event- the input event to processpk- thePoolKit- Throws:
DAException- if a data access error occurs during executionDAValidateException- if validation fails during execution
-
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
-