Class BTValueDomainInsert
java.lang.Object
overit.geocall.bl.BusinessTask<ValueDomainInsertEvent>
overit.geocallapp.wfm.characteristics.bl.valuedomain.task.BTValueDomainInsert
- All Implemented Interfaces:
Serializable,Tool
@Event(ValueDomainInsertEvent.class)
public class BTValueDomainInsert
extends BusinessTask<ValueDomainInsertEvent>
Business task in order to insert a
BOValueDomain.
When the ValueDomainInsertEvent is launched
the BT notices the call and inserts the BOValueDomain basing on the event's input.
Error Codes:
- Since:
- 17.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(ValueDomainInsertEvent event, PoolKit poolKit) Writes the inserted value domain id into the event journal.protected voidvalidate(BOValueDomain valueDomain, PoolKit poolKit) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTValueDomainInsert
public BTValueDomainInsert()
-
-
Method Details
-
body
protected void body(ValueDomainInsertEvent event, PoolKit poolKit) throws DAException, DAValidateException Writes the inserted value domain id into the event journal.- Specified by:
bodyin classBusinessTask<ValueDomainInsertEvent>- Parameters:
event- theValueDomainInsertEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validate
protected void validate(BOValueDomain valueDomain, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-