Class BTUserCreate

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

@Event(UserCreateEvent.class) @Permission("foundation.base.user.edit") @Deprecated(since="13.0", forRemoval=true) public class BTUserCreate extends BusinessTask<UserCreateEvent>
Deprecated, for removal: This API element is subject to removal in a future version.
Task that listen the UserCreateEvent and add the new user into the database.
Can raise a DAValidate exception in case there's an error before the data extraction (e.g: missing parameters, or miss-configuration), or a DAException if there is some connection problem with the database.
Since:
9.0
See Also:
GCApi:
task
  • Constructor Details

    • BTUserCreate

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

    • body

      protected void body(UserCreateEvent 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<UserCreateEvent>
      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