class AbstractWorker

Class AbstractWorker

Methods

__construct( Index $index)

AbstractWorker constructor.

array
getColumnsConfiguration()

No description

createOrUpdateIndexStructures()

creates or updates necessary index structures (like database tables and so on).

mixed
deleteIndexStructures()

deletes necessary index structuers (like database tables).

deleteFromIndex( Product $object)

deletes given element from index.

updateIndex( Product $object)

updates given element in index.

getProductList()

returns product list implementation valid and configured for this worker/tenant.

mixed
renderCondition( Condition $condition)

Renders the condition to fit the service

getIndex()

get index.

setIndex( Index $index)

set index.

Details

at line line 46
__construct( Index $index)

AbstractWorker constructor.

Parameters

Index $index

at line line 274
array getColumnsConfiguration()

Return Value

array

at line line 286
abstract createOrUpdateIndexStructures()

creates or updates necessary index structures (like database tables and so on).

at line line 293
abstract mixed deleteIndexStructures()

deletes necessary index structuers (like database tables).

Return Value

mixed

at line line 300
abstract deleteFromIndex( Product $object)

deletes given element from index.

Parameters

Product $object

at line line 307
abstract updateIndex( Product $object)

updates given element in index.

Parameters

Product $object

at line line 314
abstract Listing getProductList()

returns product list implementation valid and configured for this worker/tenant.

Return Value

Listing

at line line 322
abstract mixed renderCondition( Condition $condition)

Renders the condition to fit the service

Parameters

Condition $condition

Return Value

mixed

at line line 329
Index getIndex()

get index.

Return Value

Index

at line line 339
setIndex( Index $index)

set index.

Parameters

Index $index