\PopulateSearch
Task manager to build searchable Data object table to do the initial index.
Originally created by Gabriele Brosulo <gabriele.brosulo@zirak.it>
- Author: Firebrand <developers@firebrand.nz>
Synopsis
class PopulateSearch
extends BuildTask
{
- // methods
- private void clearTable()
- public static void insert()
- public static void insertPage()
- private static void storeData()
- public void run()
Hierarchy
Extends
- BuildTask
Methods
private
- clearTable() — DB initalization
- storeData() — Escape the data and store to the database
public
- insert() — Refactor the DataObject in order to match with SearchableDataObjects table and insert it into the database
- insertPage() — Clean page's title and content and insert it into SearchableDataObjects
- run() — Task run