Class BTTechnicalObjectHeaderLoad
java.lang.Object
overit.geocall.bl.BusinessTask<TechnicalObjectHeaderLoadEvent>
overit.geocallapp.wfm.core.bl.technicalobject.header.task.BTTechnicalObjectHeaderLoad
- All Implemented Interfaces:
Serializable,Tool
@Event(TechnicalObjectHeaderLoadEvent.class)
public class BTTechnicalObjectHeaderLoad
extends BusinessTask<TechnicalObjectHeaderLoadEvent>
Business task in order to load a
When the
BOTechnicalObjectHeader. When the
TechnicalObjectHeaderLoadEvent is launched the BT notices
the call and loads the BOTechnicalObjectHeader basing on the event's
input. - Since:
- 9.2
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyVisibilityFilters(Map<String, Object> filters, EventOptions eventOptions) Determines whether operation center visibility filters should be applied based on the current user's visibility profile and current event optionsprotected voidbody(TechnicalObjectHeaderLoadEvent event, PoolKit poolKit) Writes the loaded technical object header into the event journalMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTTechnicalObjectHeaderLoad
public BTTechnicalObjectHeaderLoad()
-
-
Method Details
-
body
protected void body(TechnicalObjectHeaderLoadEvent event, PoolKit poolKit) throws DAException, DAValidateException Writes the loaded technical object header into the event journal- Specified by:
bodyin classBusinessTask<TechnicalObjectHeaderLoadEvent>- Parameters:
event- the event to load the technical object headerpoolKit- the pool kit- Throws:
DAException- in case of database errorDAValidateException- in case of database validation error
-
applyVisibilityFilters
Determines whether operation center visibility filters should be applied based on the current user's visibility profile and current event optionsThe visibility filter is skipped in the following cases:
- The current user has SUPERUSER visibility profile
- The event options explicitly request to skip visibility filters
- Parameters:
filters- the filter map to which visibility filters will be addedeventOptions- the event options that may override default filtering behavior, can benull
-