Class BTTranslationsLoad
java.lang.Object
overit.geocall.bl.BusinessTask<TranslationsLoadEvent>
overit.geocall.basic.bl.dictionary.task.BTTranslationsLoad
- All Implemented Interfaces:
Serializable,Tool
@Event(TranslationsLoadEvent.class)
@Permission("server.administration|company.administration")
public class BTTranslationsLoad
extends BusinessTask<TranslationsLoadEvent>
Task that listens to the
Can raise a
TranslationsLoadEvent and fetches the translations of a dictionary.
Can raise a
DAException if there is some connection problem with the database.- Since:
- 13.2
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(TranslationsLoadEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected Stringdeserialize(Map<Object, Object> dictionary) protected ConfigChaptergetConfigChapter(ConfigChapterCacheEntry configChapterCacheEntry) protected ConfigChapterCacheEntrygetConfigChapterCacheEntry(String name, Long companyId) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTTranslationsLoad
public BTTranslationsLoad()
-
-
Method Details
-
body
protected void body(TranslationsLoadEvent event, PoolKit pk) throws DAException, DAValidateException Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<TranslationsLoadEvent>- Parameters:
event- the object upon which the task will works onpk- the poolkit containing the reference to the database connection that can be used- Throws:
DAException- in case of database errorDAValidateException- in case of database validation error
-
deserialize
-
getConfigChapterCacheEntry
-
getConfigChapter
-