Class BTUserUpdate

java.lang.Object
overit.geocall.bl.BusinessTask<UserUpdateEvent>
overit.geocall.basic.bl.user.task.BTUserUpdate
All Implemented Interfaces:
Serializable, Tool

@Event(UserUpdateEvent.class) @Permission("foundation.base.user.edit") @Deprecated(since="13.0", forRemoval=true) public class BTUserUpdate extends BusinessTask<UserUpdateEvent>
Deprecated, for removal: This API element is subject to removal in a future version.
Task that listen the UserUpdateEvent and update the user information into the database.
Can raise a DAValidate exception in case there's no user with the key passed by or a DAException if there is some connection problem with the database.
Since:
9.0
See Also:
GCApi:
task
  • Constructor Details

    • BTUserUpdate

      public BTUserUpdate()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • body

      protected void body(UserUpdateEvent event, PoolKit pk) throws DAException, DAValidateException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: BusinessTask
      Implements this method to write the specific task logic to handle the input parameter.
      Specified by:
      body in class BusinessTask<UserUpdateEvent>
      Parameters:
      event - the object upon which the task will works on
      pk - the poolkit containing the reference to the database connection that can be used
      Throws:
      DAException - in case of database error
      DAValidateException - in case of database validation error
    • saveUserChanges

      protected void saveUserChanges(BOUser user, PoolKit pk)
      Deprecated, for removal: This API element is subject to removal in a future version.