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.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.Class<CatalogCategory> |
DBO.CATCAT
The catalog category object class.
|
private static java.util.Hashtable<java.lang.String,java.util.ArrayList<CatalogCategory>> |
CatalogCategoryController.cvChildren
A hash table for caching all child catalog entries for each parent.
|
private static java.util.Hashtable<java.lang.String,java.util.ArrayList<CatalogCategory>> |
CatalogCategoryController.cvParents
A hash table for caching all parent catalog entries for each child.
|
Modifier and Type | Method and Description |
---|---|
CatalogCategory |
CatalogCategoryController.get(java.lang.String parent,
java.lang.String child)
Returns the catalog category record for the given parent and child
category codes.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<CatalogCategory> |
CatalogCategoryController.getChildren(java.lang.String parent)
Returns a collection of child catalog category records for a given parent
category code.
|
private java.util.ArrayList<CatalogCategory> |
CatalogCategoryController.getChildrenForCache(java.lang.String parent)
Returns a collection of child catalog category records for a given parent
category code.
|
java.util.ArrayList<CatalogCategory> |
CatalogCategoryController.getParents(java.lang.String child)
Returns a collection of parent catalog category records for a given child
category code.
|
private java.util.ArrayList<CatalogCategory> |
CatalogCategoryController.getParentsForCache(java.lang.String child)
Returns a collection of parent catalog category records for a given child
category code.
|
java.util.ArrayList<CatalogCategory> |
CatalogCategoryController.getPathToChild(java.lang.String parent,
java.lang.String child)
Returns a collection of
CatalogCategory objects for the path to
the given child category (exclusive), starting with the given parent
category. |
Modifier and Type | Method and Description |
---|---|
int |
CatalogCategoryController.add(CatalogCategory obj,
boolean logdup)
Adds a new record to the table associated with the controller.
|
boolean |
CatalogCategoryController.delete(CatalogCategory obj)
Deletes an existing record from the table associated with the controller.
|
boolean |
CatalogCategoryController.update(CatalogCategory obj)
Updates an existing record in the table associated with the controller.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
CatalogCategoryController.getPathToParent(java.lang.String parent,
java.lang.String child,
java.lang.String path,
java.util.Hashtable<java.lang.String,CatalogCategory> paths)
Internal method used for determining the path to a category.
|