Modifier and Type | Class and Description |
---|---|
class |
CollectionTypesDetailsPanel<C extends Product>
Panel to display
PluralAttribute.CollectionType Details
Implements ChangeGenerator to notify listener promotionAdmin
Since this implements ChangeGenerator ; it will also generate Events of TypeSave - new Object[]{ StandardOperation.#ADD , Product as Collection, AjaxRequestTarget }
Delete - new Object[]{StandardOperation.#DELETE , Product as Collection, AjaxRequestTarget }
On Save it will also call the Template.notifyAllListeners(Object) in TemplatePanel.getTemplate() |
class |
CollectionTypesTemplatePanel<C extends Product>
The dynamic parts of the Collection Details template Panel are delegated to this
|
Modifier and Type | Class and Description |
---|---|
class |
BaseCollectionTypeDocumentsGenerator<P extends Product>
A given Product like a
Product#ATTRIB_COLLECTION_TYPE_NAME can have multiple Products associated with it in getRelatedGroups() . |
class |
CollectionTypeDocumentsGenerator<P extends Product>
A
BaseCollectionTypeDocumentsGenerator that returns null if Exception is of type ContinueProcessingException or BreakChainException The adaptation allows the DocumentGenerator to skip creating Documents for false cases. |
Modifier and Type | Class and Description |
---|---|
class |
CollectionURLGeneratorTransformer<C extends Product>
A
Transformer that accepts collection Id/sku or any identifier that #collectionFetch accepts or Collection as Product and produces a Link for it. |
class |
ProcessAccessToCollectionTransformer<C extends Product>
Process a Collection and check if its
Product.BIT_MASKS is not Product.BIT_MASKS.DISABLED and then if the collection is private or not. |
Modifier and Type | Class and Description |
---|---|
class |
ProductCategoryLookup<P extends Product>
|
Modifier and Type | Field and Description |
---|---|
Set<Product> |
OrderDaoImpl.ReportQuery.categories |
Constructor and Description |
---|
ReportQuery(IGenericEcomUser user,
Date start,
Date end,
Set<String> tags,
Set<OrderStatus> statuss,
Set<Product> categories,
String order) |
Modifier and Type | Interface and Description |
---|---|
interface |
ProductDao<T extends Product>
E-Commerce extension to regular DAO.
|
Modifier and Type | Class and Description |
---|---|
class |
ProductDaoImpl<P extends Product>
E-Com implementation of
ProductDao |
Modifier and Type | Class and Description |
---|---|
class |
Product
An E-Com extended version of the
Product |
Constructor and Description |
---|
Product(Product p) |
Modifier and Type | Method and Description |
---|---|
<P extends Product> |
WicketEcomUserContextUpdateService.getProductsInCart(javax.servlet.http.HttpServletRequest request,
String cartType) |
Modifier and Type | Class and Description |
---|---|
class |
BastardProductFilter<P extends Product>
During ETL it is possible that a USER may apply an UPDATE instead on an INSERT on some records
This can technically lead to a product not updating or deriving parent info if parent info is not updated during Updates and gives rise to Bastard Products (ones without any parents) The default implementation of this Filter simply rejects any such records to ensure they don't get into the system. |
class |
ExcelRowToProductTransformer<P extends Product>
|
class |
ExistingProductLookup<T extends Product>
Check to see if a
Product already exists, and if so load it based on various other settings provided by this class. |
class |
FileToProductLookup<P extends Product>
|
class |
FileToProductsTransformer<P extends Product>
Allow to update an existing Entitie(s) i.e.
|
class |
GetNewHierarcyLookup<T extends Product>
Given a parent
HierarchialDomainObject , derive next Hierarchy code under its immediate parent |
class |
ModeAwareProductPersistTransformer<P extends Product>
Persist a Product/Product(s) and return the Persisted Entity
|
class |
ProductCategoryLookup<P extends Product>
|
class |
ProductCategoryTransformer<P extends Product>
Converts a Product to a Category
A category has following main characteristics: Has Children : The adapter will insert a dummy record if it has no children already |
class |
ProductMultiCategoryLookup<T extends Product>
Deprecated.
This was the original CatgegoryLookup, however its query is sloppy and specific. Simply use
MultiCategoryLookup with a Tramsformer defined to run the Query |
class |
ProductNameTransformer<T extends Product>
Product Name has some restrictions like being unique etc, it cannot be always what is supplied raw; so it is combines with the
getProductCode()
to ensure it is unique. |
class |
ProductPersistTransformer<P extends Product>
Persist a Product/Product(s) and return the Persisted Entity
|
class |
ProductURLGeneratorTransformer<P extends Product>
A
Transformer that accepts Product Id/sku or any identifier that ProductURLGeneratorTransformer.productFetch accepts or Product and produces a Link for it.The ProductURLGeneratorTransformer.idParamName part of the URL is encoded in UTF-8
TODO: Add Unit test case |
Modifier and Type | Method and Description |
---|---|
protected String |
CategoryListTransformer.getDisplayName(Product p,
boolean parent,
int level) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractProductFieldGenerator<P extends Product,I>
This
FieldGenerator is expected to be called from a ObjectDocumentRowMapperIndexer that will pass the core Entity as the tuple/row
like JPADocumentRowMapperIndexer . |
class |
SizeDimensionFieldGenerator<P extends Product>
Size is a complex entity. |
class |
SizeFieldGenerator<P extends Product>
Size is a complex entity. |
Modifier and Type | Method and Description |
---|---|
static <P extends Product> |
Utils.getAttributeValue(String attribName,
P p,
List<P> parents)
Get the attribute value of a Product.
|
static <P extends Product> |
Utils.getProductWithAttribute(String attribName,
P p,
List<P> parents)
Get the Product with the attribute != null.
|
Modifier and Type | Class and Description |
---|---|
class |
ParentCategoriesContainer<P extends Product>
Code related to showing parent categories for a
Product |
Modifier and Type | Method and Description |
---|---|
void |
ParentCategoriesContainer.onMove(P product,
Product parent,
Integer sequence,
org.apache.wicket.model.IModel<P> containerModel,
ProductService service)
When a Move operation is attempted, with a selected parent in the hierarchy; it also can handle ordering
by virtue of the service method supporting it.
|
void |
ParentCategoriesContainer.onReSequence(P product,
Product parent,
Integer sequence,
org.apache.wicket.model.IModel<P> containerModel,
ProductService service)
When we want to change Order, only
|
protected void |
ParentCategoriesContainer.updateRelatedPanels(org.apache.wicket.ajax.AjaxRequestTarget target,
P product,
Product parent)
Update/Refresh all related panels; ProductDetails & list the Listing Panel
|
Constructor and Description |
---|
ParentCategoriesContainer(String id,
org.apache.wicket.model.IModel<P> containerModel,
ProductService<Product> service,
boolean isEditAuthorized) |
Modifier and Type | Class and Description |
---|---|
class |
productDetails<P extends Product>
Main/Default Admin Page
Fetch a Product and display it by id or any valid Product attribute name as parameter FIXME : Feedback messages from ProductDetailsPanel not coming ! |
Modifier and Type | Class and Description |
---|---|
class |
ProductDetailsPanel<P extends Product>
This panel represents all the details of the Product to View & Update (and maybe delete)
|
class |
ProductDetailsTemplatePanel<P extends Product>
|
class |
ProductListingPanel<P extends Product>
List all the products for a given root category
Note: The DataTable is made a listener to the TemplateSearchParams
Looks for additional beans on Spring context: adminConfiguration : site.admin.catalog.list.fields. Example property value = -id,-hierarchy,sku,state,longDisplayName:Title of Product. |
class |
ProductMetaItemAjaxSaveBehavior<P extends Product>
|
Modifier and Type | Method and Description |
---|---|
Product |
ProductDetailsPanel.getParentProduct() |
Constructor and Description |
---|
ProductDetailsPanel(String id,
org.apache.wicket.model.IModel<Product> model) |
Modifier and Type | Interface and Description |
---|---|
interface |
ProductDao<T extends Product>
DAO for
Product related data model |
Modifier and Type | Class and Description |
---|---|
class |
ProductDaoImpl<T extends Product>
Default MySQL-JPA implementation for
ProductDao
Even though written with JPA there are some slight My-SQL bindings like case name of entity/table etc. |
Modifier and Type | Method and Description |
---|---|
Product |
Product.clone() |
Product |
ProductAttribute.getEntity() |
Product |
ProductAlias.getParent() |
Product |
Size.getProduct()
OneToOne JoinColumn.name() = product_id |
Product |
ProductAlias.getProduct() |
Product |
ProductAttribute.getProduct() |
Product |
Product.setAttribute(String name,
String value)
Any attribute that is not common for most of the entities belongs to be an Attribute rather than a field.
|
Modifier and Type | Method and Description |
---|---|
void |
ProductAttribute.setEntity(Product entity) |
void |
ProductAlias.setParent(Product parent) |
void |
Size.setProduct(Product product)
OneToOne JoinColumn.name() = product_id |
void |
ProductAlias.setProduct(Product product) |
void |
ProductAttribute.setProduct(Product product) |
Constructor and Description |
---|
Product(Product p) |
ProductAttribute(String name,
String value,
Product product) |
Size(Product p) |
SizeDimensions(Double length,
Double width,
String unit,
Product p) |
SizeFit(SizeFit.Fit fit,
Product p) |
SizeString(String value,
Product p) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultProductLookupService<P extends Product> |
class |
ProductCategoryLookup<T extends Product>
Lookup a Category to get Category
Product by using any unique field in it
It also caches the result |
interface |
ProductLookupService<P extends Product>
Common operations on Product Lookup
|
Modifier and Type | Class and Description |
---|---|
class |
CategoryProductPagePathTransformer<P extends Product>
A
ProductPagePathTransformer that will check if the product is a category or product using CategoryProductPagePathTransformer.isCategory(Product) .If it is a category and a CategoryProductPagePathTransformer.categoryPath is provided it will use that and visa-versa if its a product. |
class |
ProductContextUtils<P extends Product>
A bunch of
ContextUtils that help in deriving Catalog module related Context / configurations and customizations
Note: Since this class relies on Spring Context, any call to its members should happen only after bootstrap |
class |
ProductIndexSearch<P extends Product>
A Service API wrapper for Indexing and Searching
Product TODO: Map Attributes for indexing without DUPLICATING the row data in the query Will search across all searchable fields (defined in search config) |
interface |
ProductService<T extends Product>
Added service methods over basic DAO ones
|
class |
ProductServiceImpl<T extends Product>
Added service methods over basic DAO ones
This class will also generate Event with are Object[] Since this implements ChangeGenerator ; it will also generate Events of TypeObject[]{"before-delete", Product} Object[]{"before-delete", id as Long} Object[]{"before-deletes", ids as List of Long} Object[]{"after-delete", Product} Object[]{"after-delete", id as Long} Object[]{"save", Product} Object[]{"new-product", product} Object[]{"save-attribute", ProductAttribute} Object[]{"move", Product node, Product parent, Integer sequence} Object[]{"before-delete-sub-hierarchy", category as Product} Object[]{"after-delete-sub-hierarchy", category as Product} Object[]{"make-space-parent-node", Product node, Product parent, Integer sequence} |
Modifier and Type | Method and Description |
---|---|
ProductTemplate |
ProductTemplateServiceImpl.getProductTemplate(Product p)
Derive a detail
ProductTemplate |
Modifier and Type | Field and Description |
---|---|
protected ProductDao<Product> |
ProductQueryService.dao |
protected ProductService<Product> |
ProductQueryService.service |
Modifier and Type | Method and Description |
---|---|
Product |
ProductQueryService.load(Long id) |
Product |
ProductQueryService.loadByName(String name) |
Modifier and Type | Method and Description |
---|---|
ProductService<Product> |
ProductQueryService.getService() |
Modifier and Type | Method and Description |
---|---|
Long |
ProductQueryService.count(Query<Product> query) |
List |
ProductQueryService.query(Query<Product> query) |
void |
ProductQueryService.setService(ProductService<Product> service) |
Modifier and Type | Class and Description |
---|---|
class |
ProductToJson<P extends Product>
Handle special parts of Product that need to be marshalled to String + remove/filter any unwanted attributes
Convert Product to JSON & also specially handle the size attribute and marshal it to
|
Modifier and Type | Class and Description |
---|---|
class |
ProductSortableDataProvider<P extends Product> |
Modifier and Type | Method and Description |
---|---|
protected abstract org.apache.wicket.markup.repeater.data.DataViewBase<Product> |
ProductCatalogPanel.createGrid(org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider<Product> provider)
Deprecated.
Note it is the responsibility of the overriding class to assign the component id appropriate to match the markup
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
ProductCatalogPanel.add(org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider<Product> provider)
Deprecated.
Add any other customized data or component based on data provider.
|
protected abstract org.apache.wicket.markup.repeater.data.DataViewBase<Product> |
ProductCatalogPanel.createGrid(org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider<Product> provider)
Deprecated.
Note it is the responsibility of the overriding class to assign the component id appropriate to match the markup
|
protected abstract org.apache.wicket.markup.html.navigation.paging.PagingNavigator |
ProductCatalogPanel.createPaginator(org.apache.wicket.markup.html.navigation.paging.IPageable grid,
org.apache.wicket.markup.repeater.data.IDataProvider<Product> provider)
Deprecated.
Note it is the responsibility of the overriding class to assign the component id appropriate to match the markup
|
Copyright © 2018. All rights reserved.