Import-pipeline table provider for product categories, inserting, updating, deleting or upserting Category rows as an import pipeline runs. Registered under the provider id "category" and looked up by a DatabaseUpdateStep or DatabaseSourceStep configured with that id. Each row is matched to an existing Category by its name, falling back to a match on title when no category has that name, and is always scoped to the pipeline's website organisation.

Implements: DatabaseTableProvider


Properties

PropertyReturnsDescription
providerIdStringProvider id this class is registered under. Used to select it from a DatabaseUpdateStep or DatabaseSourceStep configuration.
queryParametersList<TableParameter>Query parameters this provider accepts when building its source criteria.
tableFieldsList<TableParameter>Describes the row columns this provider accepts for insert, update, delete and updateOrInsert: name (the category's unique identifier), title, notes and parentCategory.

Methods

getProviderId()

Returns: String

Provider id this class is registered under. Used to select it from a DatabaseUpdateStep or DatabaseSourceStep configuration.

getQueryParameters()

Returns: List<TableParameter>

Query parameters this provider accepts when building its source criteria.

getTableFields()

Returns: List<TableParameter>

Describes the row columns this provider accepts for insert, update, delete and updateOrInsert: name (the category's unique identifier), title, notes and parentCategory.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.