AdvertCategoryInterface
extends
PricedCategoryInterface
in
Category of the advert modules (Bazaar adverts, Comcat company listings): a nested-set node with a price list and parameter targeting.
Lets the shared category sync traits
(CategoryParameterRelSyncTrait,
CategoryPriceSyncTrait) work with the category of
either module and either layer (the save path gets the Admin variant, find() the Api one).
Table of Contents
Methods
- getCategoryParameterRels() : Collection<int, object>
- Elements are {@see CategoryParameterRelInterface}; declared by the concrete layer entities (the shared class leaves the mapping to them).
- getForFree() : bool
- getId() : int|null
- getLevel() : int
- getLft() : int
- getParentId() : int|null
- getPrices() : Collection<int, object>
- Elements are {@see CategoryPriceInterface}; callers check it with `instanceof`.
- getRgt() : int
- getUseDefaultParameters() : bool
- `true` = the advert form uses the global default parameters instead of the category rels.
Methods
getCategoryParameterRels()
Elements are {@see CategoryParameterRelInterface}; declared by the concrete layer entities (the shared class leaves the mapping to them).
public
getCategoryParameterRels() : Collection<int, object>
Return values
Collection<int, object>getForFree()
public
getForFree() : bool
Return values
boolgetId()
public
getId() : int|null
Return values
int|nullgetLevel()
public
getLevel() : int
Return values
intgetLft()
public
getLft() : int
Return values
intgetParentId()
public
getParentId() : int|null
Return values
int|nullgetPrices()
Elements are {@see CategoryPriceInterface}; callers check it with `instanceof`.
public
getPrices() : Collection<int, object>
Return values
Collection<int, object>getRgt()
public
getRgt() : int
Return values
intgetUseDefaultParameters()
`true` = the advert form uses the global default parameters instead of the category rels.
public
getUseDefaultParameters() : bool