Package | Description |
---|---|
com.dpslink.flash.db |
DPS Flash specific definitions for database objects and database object controllers as well as other non-persisted business related objects.
|
com.dpslink.flash.db.util |
DPS Flash specific database related handlers and background processing tasks.
|
com.dpslink.flash.imports |
DPS Flash specific parsers and processors for importing data from delimited text files or from Excel spreadsheet files.
|
com.dpslink.flash.servlet |
DPS Flash specific servlets for handling shopping functions.
|
com.dpslink.flash.servlet.admin |
DPS Flash specific servlets for handling administration functions.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.Class<Category> |
DBO.CATGRY
The category object class.
|
private static java.util.Hashtable<java.lang.String,Category> |
CategoryController.cvCache
A hash table for caching all categories.
|
Modifier and Type | Method and Description |
---|---|
Category |
CategoryController.get(java.lang.String code)
Returns the category record for the given category code.
|
Category |
CategoryListItem.getCategory()
Returns the list item's category object.
|
Category |
Product.getCategory(FlashServletContext ctx)
Returns the default category.
|
Category |
User.getDefaultCategory()
Returns the default catalog category object.
|
Category |
User.getTopmostCategory()
Returns the topmost catalog category object.
|
Category |
CategoryController.valuesToObject(java.util.HashMap<java.lang.String,java.lang.Object> attrs)
Returns a database object from the given set of attributes.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Category> |
Category.get1stChildren(FlashServletContext ctx)
Returns a collection of category objects for the first level children of
this category.
|
java.util.ArrayList<Category> |
CategoryController.get1stChildren(java.lang.String code)
Returns a collection of category records for the first level children of
a given category code.
|
java.util.ArrayList<Category> |
Category.get1stParents(FlashServletContext ctx)
Returns a collection of category objects for the first level parents of
this category.
|
java.util.ArrayList<Category> |
CategoryController.get1stParents(java.lang.String code)
Returns a collection of category records for the first level parents of
a given category code.
|
java.util.ArrayList<Category> |
CategoryController.getAll()
Returns a collection of all records in the table associated with the
controller.
|
java.util.ArrayList<Category> |
Category.getAllChildren(FlashServletContext ctx,
boolean unique)
Returns a collection of category objects for all levels of children of
this category.
|
java.util.ArrayList<Category> |
Category.getAllChildren(JDBCConnectionInfo cninfo,
boolean unique)
Returns a collection of category objects for all levels of children of
this category.
|
java.util.ArrayList<Category> |
CategoryController.getAllChildren(java.lang.String code,
boolean unique)
Returns a collection of category records for all levels of children of
a given category code.
|
java.util.ArrayList<Category> |
CategoryListItem.getChildren()
Returns the list item's children.
|
java.util.ArrayList<Category> |
CategoryController.getPathFromParent(Category parent,
Category child)
Returns a collection of category records for the path to a child category,
starting with the given parent category and ending with the given child
category.
|
java.util.ArrayList<Category> |
Category.getPathFromParent(FlashServletContext ctx,
Category parent)
Returns a collection of category objects for the path to this category,
starting with the given parent category.
|
java.util.ArrayList<Category> |
CategoryController.getPathToParent(Category parent,
Category child)
Returns a collection of category records for the path from a given child
category, ending with the given parent category.
|
java.util.ArrayList<Category> |
Category.getPathToParent(FlashServletContext ctx,
Category parent)
Returns a collection of category for the path from this category, ending
with the given parent category.
|
java.util.ArrayList<Category> |
CategoryController.getTopMost()
Returns a collection of category records that are specified as being the
top most category for at least one active user.
|
Modifier and Type | Method and Description |
---|---|
int |
CategoryController.add(Category obj,
boolean logdup)
Adds a new record to the table associated with the controller.
|
boolean |
CategoryController.delete(Category obj)
Deletes an existing record from the table associated with the controller.
|
boolean |
CatalogProductController.deleteCategory(Category category)
Deletes all records from the category product x-ref table for the given
category.
|
java.util.ArrayList<CatalogProduct> |
CatalogProductController.getCategory(Category category)
Returns a collection of category product x-ref records for the given
category.
|
java.util.ArrayList<ProductAttribute> |
ProductAttributeController.getFiltersForCategory(Category category)
Returns a collection of summarized product attribute records for the
given category.
|
java.util.ArrayList<Category> |
CategoryController.getPathFromParent(Category parent,
Category child)
Returns a collection of category records for the path to a child category,
starting with the given parent category and ending with the given child
category.
|
java.util.ArrayList<Category> |
Category.getPathFromParent(FlashServletContext ctx,
Category parent)
Returns a collection of category objects for the path to this category,
starting with the given parent category.
|
java.util.ArrayList<Category> |
CategoryController.getPathToParent(Category parent,
Category child)
Returns a collection of category records for the path from a given child
category, ending with the given parent category.
|
java.util.ArrayList<Category> |
Category.getPathToParent(FlashServletContext ctx,
Category parent)
Returns a collection of category for the path from this category, ending
with the given parent category.
|
boolean |
CategoryController.isDescendant(Category parent,
Category checkee)
Answers if a category is a descendant (child, grandchild, etc.) of the
given parent category.
|
boolean |
Category.isDescendant(FlashServletContext ctx,
Category parent)
Determines if this category is a descendant (child, grandchild, etc.) of
the given parent category.
|
void |
CategoryListItem.setCategory(Category value)
Sets the list item's category object.
|
void |
User.setDefaultCategory(Category value)
Sets the default catalog category object.
|
void |
User.setTopmostCategory(Category value)
Sets the topmost catalog category object.
|
boolean |
CategoryController.update(Category obj)
Updates an existing record in the table associated with the controller.
|
Modifier and Type | Method and Description |
---|---|
void |
CategoryListItem.setChildren(java.util.ArrayList<Category> value)
Sets the list item's children.
|
Modifier and Type | Method and Description |
---|---|
private java.lang.String[] |
UserCatalog.buildCategoriesForTopMost(JDBCConnectionInfo cninf,
Category topmost)
Returns an array of the category codes starting with the given topmost
category.
|
protected int |
UserCatalogExportHandler.exportCategoryProducts(java.io.PrintWriter out,
Category category)
Performs category export by iterating though all products this category
contains.
|
protected void |
UserCatalogExportHandler.exportProductData(java.io.PrintWriter out,
Product product,
Category category)
Writes export product line data in CIF format.
|
java.lang.String[] |
UserCatalog.getCategoriesForTopMost(JDBCConnectionInfo cninf,
Category topmost)
Returns a cached array of the category codes starting with the given topmost
category.
|
Modifier and Type | Field and Description |
---|---|
private Category |
CatalogProductImport.ivCategory
A category object.
|
private Category |
ProductImport.ivCategory
A category object.
|
private Category |
CatalogCategoryImport.ivCategory
A category object.
|
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<Category> |
CatalogProductImport.ivCategories
A cache of all categories.
|
private java.util.ArrayList<Category> |
ProductImport.ivCategories
A cache of all categories.
|
private java.util.ArrayList<Category> |
CatalogCategoryImport.ivCategories
A cache of all categories.
|
Modifier and Type | Field and Description |
---|---|
protected Category |
MainServlet.Context.mpSelectedObj
The current selected category object.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<Category> |
MainServlet.Context.mpPreviousPath
A collection of category objects for the previous category path.
|
protected java.util.ArrayList<Category> |
MainServlet.Context.mpRevisedPath
A collection of category objects for the revised category path.
|
Modifier and Type | Method and Description |
---|---|
protected Category |
AccountServlet.getValidDefaultCategory(AccountServlet.Context ctx)
Returns a
Category object suitable for use as the user's
default start category. |
Modifier and Type | Method and Description |
---|---|
protected java.util.ArrayList<Category> |
MainServlet.getPreviousCategoryPath(MainServlet.Context ctx)
Returns the previous category path stored in the session.
|
Modifier and Type | Method and Description |
---|---|
private void |
MainServlet.buildCategoriesDefault(MainServlet.Context ctx,
Category topcategory,
Category dftcategory)
Builds a revised category list based on given topmost (catalog) category
and given starting category.
|
private void |
MainServlet.buildCategoriesParent(MainServlet.Context ctx,
Category category)
Builds a revised category list, or a portion of the revised category list
based on a given parent category starting point.
|
private boolean |
MainServlet.buildCategoriesPrevious(MainServlet.Context ctx,
Category category,
boolean clone)
Builds a revised category list based on all or part of the previously
displayed category list.
|
private void |
MainServlet.findCategoryInPreviousList(MainServlet.Context ctx,
Category category)
Finds the given category in the previously displayed list of categories
and sets the context variable for the category's index (ctx.mpSelectedIdx).
|
protected java.lang.String |
AccountLogonAddEdit.fmtCategoryName(AccountLogonAddEdit.Context ctx,
Category cat)
Returns a formatted category name.
|
protected boolean |
MainServlet.hasSubcategories(MainServlet.Context ctx,
Category category)
Answers if the given category has subcategories.
|
private CategoryListItem |
MainServlet.newCategoryListItem(MainServlet.Context ctx,
Category category,
int type,
java.util.ArrayList<Category> children)
Creates and returns a new category list item using the supplied values.
|
Modifier and Type | Method and Description |
---|---|
private CategoryListItem |
MainServlet.newCategoryListItem(MainServlet.Context ctx,
Category category,
int type,
java.util.ArrayList<Category> children)
Creates and returns a new category list item using the supplied values.
|
protected void |
Home.setTemplateSubcategories(Home.Context ctx,
java.util.ArrayList<Category> subcats)
Sets the subcategory list data required by the html template.
|
Modifier and Type | Field and Description |
---|---|
protected Category |
AdmCategoryAddEdit.Context.dbObject
The current object being added or edited.
|
protected Category |
AdmProductCategoryList.Context.selectObj
The current selected object.
|
protected Category |
AdmCategorySelect.Context.selectObj
The current selected object.
|
protected Category |
AdmCategorySubcatList.Context.selectObj
The current selected object.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<Category> |
AdmProductCategoryAdd.Context.listList
The product categories list servlet's current list of categories.
|
protected java.util.ArrayList<Category> |
AdmCategorySubcatAdd.Context.listList
The category subcategories list servlet's current list of subcategories.
|
protected java.util.ArrayList<Category> |
AdmProductCategoryList.Context.selectList
The current list of selection objects.
|
protected java.util.ArrayList<Category> |
AdmCategoryAddEdit.Context.selectList
The select servlet's current list of selection objects.
|
protected java.util.ArrayList<Category> |
AdmCategorySelect.Context.selectList
The current list of selection objects.
|
protected java.util.ArrayList<Category> |
AdmProductCategoryAdd.Context.selectList
The current list of selection objects.
|
protected java.util.ArrayList<Category> |
AdmCategorySubcatAdd.Context.selectList
The current list of selection objects.
|
protected java.util.ArrayList<Category> |
AdmCategorySubcatSeq.Context.selectList
The current list of selection objects.
|
protected java.util.ArrayList<Category> |
AdmCategorySubcatList.Context.selectList
The current list of selection objects.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AdmCategorySubcatAdd.omitRecursiveCategories(AdmCategorySubcatAdd.Context ctx,
Category cat)
Deletes subcategories in the selection list that would result in category
recursion issues if allowed to be selected as a subcategory.
|
private void |
AdmPurgeCategories.recurseCatalog(AdmPurgeCategories.Context ctx,
java.lang.String codepath,
java.lang.String namepath,
Category parent)
Recurses through the given parent category's subcategories.
|