Class BTRoughPlanningPermissionCheck

java.lang.Object
overit.geocall.bl.BusinessTask<overit.geocall.wfm.planning.bl.permission.event.PlanningPermissionCheckEvent>
overit.geocallapp.wfm.roughplanning.bl.permission.BTRoughPlanningPermissionCheck
All Implemented Interfaces:
Serializable, Tool

@Event(overit.geocall.wfm.planning.bl.permission.event.PlanningPermissionCheckEvent.class) public class BTRoughPlanningPermissionCheck extends BusinessTask<overit.geocall.wfm.planning.bl.permission.event.PlanningPermissionCheckEvent>
Business task to check the rough planning permissions
When the PlanningPermissionCheckEvent is launched the BT notices the call and check if the user has the permission basing on the event's input.
Since:
19.0
See Also:
  • Constructor Details

    • BTRoughPlanningPermissionCheck

      public BTRoughPlanningPermissionCheck()
  • Method Details

    • body

      protected void body(overit.geocall.wfm.planning.bl.permission.event.PlanningPermissionCheckEvent planningPermissionCheckEvent, PoolKit pk) throws DAException, DAValidateException
      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<overit.geocall.wfm.planning.bl.permission.event.PlanningPermissionCheckEvent>
      Parameters:
      planningPermissionCheckEvent - 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