Package | Description |
---|---|
com.dpslink.base.jdbc |
Product-neutral classes for database connections; such as for executing SQL and retrieving database metadata.
|
com.dpslink.base.tool |
Product-neutral classes for various command line tools.
|
com.dpslink.flash.cmd |
DPS Flash specific command line classes for frontend and/or backend use.
|
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.search |
DPS Flash specific product search indexing and product search processing classes.
|
com.dpslink.flash.db.util |
DPS Flash specific database related handlers and background processing tasks.
|
com.dpslink.flash.servlet |
DPS Flash specific servlets for handling shopping functions.
|
com.dpslink.flash.servlet.test |
DPS Flash specific servlets for handling test scenarios.
|
com.dpslink.flash.upgrade.v82 |
DPS Flash specific command line classes created in version 8.2 for populating Notification Framework data.
|
com.dpslink.flash.util |
DPS Flash specific utility helper classes used throughout all other
com.dpslink.flash classes. |
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<JDBCConnectionInfo> |
JDBCConnectionPool.ivAllConnections
The list of all JDBC connections ever created by the pool.
|
private java.util.ArrayList<JDBCConnectionInfo> |
JDBCConnectionPool.ivFreeConnections
The pool of free JDBC connections available for use.
|
private java.util.Hashtable<JDBCConnectionInfo,java.lang.String> |
JDBCConnectionPool.ivUsedConnections
A list of the in-use JDBC connections.
|
Modifier and Type | Method and Description |
---|---|
static JDBCConnectionInfo |
JDBCPoolManager.getConnection()
Retrieves a JDBC connection info object from an assumed pool.
|
JDBCConnectionInfo |
JDBCConnectionPool.getConnection()
Retrieves a JDBC connection info object from the pool.
|
static JDBCConnectionInfo |
JDBCPoolManager.getConnection(java.lang.String name)
Retrieves a JDBC connection info object from the specified pool.
|
private JDBCConnectionInfo |
JDBCConnectionPool.getConnection(java.lang.String consumer,
long timeout)
Retrieves a JDBC connection info object from the pool using the given
maximum wait time.
|
JDBCConnectionInfo |
JDBCObjectController.getConnectionInfo()
Returns the JDBC connection information object that owns this controller.
|
private JDBCConnectionInfo |
JDBCConnectionPool.getPooledConnection()
Retrieves a JDBC connection info object if one is available from the pool.
|
private JDBCConnectionInfo |
JDBCConnectionPool.newConnection()
Retrieves a newly created JDBC connection info object.
|
Modifier and Type | Method and Description |
---|---|
private void |
JDBCConnectionPool.addToUsedList(JDBCConnectionInfo cninf,
java.lang.String consumer)
Adds the given JDBC connection info object to the list of used connection
info objects.
|
static boolean |
JDBCUtil.copyTable(JDBCConnectionInfo cninf,
java.lang.String source,
java.lang.String target)
Copies data from a source table to a target table.
|
static int |
JDBCUtil.countIndexes(JDBCConnectionInfo cninf,
java.lang.String tblname)
Returns the number of existing indexes in the database for a table.
|
static int |
JDBCUtil.countTableColumns(JDBCConnectionInfo cninf,
java.lang.String tblname)
Returns the number of existing columns in the database for a table.
|
static int |
JDBCUtil.countTables(JDBCConnectionInfo cninf)
Returns the number of existing tables in the database.
|
static int |
JDBCUtil.countViews(JDBCConnectionInfo cninf)
Returns the number of existing views in the database.
|
static boolean |
JDBCManager.createDatabase(java.lang.String poolName,
JDBCConnectionInfo cninf)
Creates the database tables and indexes and views using the definitions
found in the application's resource file.
|
private static boolean |
JDBCManager.createDatabaseIndexes(JDBCConnectionInfo cninf)
Creates the database indexes using definitions in the application's
resource file.
|
private static boolean |
JDBCManager.createDatabaseTables(JDBCConnectionInfo cninf)
Creates the database tables using definitions in the application's
resource file.
|
private static boolean |
JDBCManager.createDatabaseViews(JDBCConnectionInfo cninf)
Creates the database views using definitions in the application's
resource file.
|
static boolean |
JDBCUtil.createIndex(JDBCConnectionInfo cninf,
java.lang.String tblname)
Creates a database table's indexes using definitions in the application's
resource file.
|
static boolean |
JDBCUtil.createTable(JDBCConnectionInfo cninf,
java.lang.String tblname)
Creates a database table using definitions in the application's resource
file.
|
static boolean |
JDBCUtil.createTable(JDBCConnectionInfo cninf,
java.lang.String source,
java.lang.String target)
Creates a database table that mirrors the definition of an existing table.
|
static boolean |
JDBCUtil.createView(JDBCConnectionInfo cninf,
java.lang.String viewname)
Creates a database view using definitions in the application's resource
file.
|
static boolean |
JDBCManager.databaseExists(JDBCConnectionInfo cninf)
Determines if the database exists and if one or more tables are in the
database.
|
static boolean |
JDBCManager.databaseRevised(JDBCConnectionInfo cninf)
Determines if the database has been revised by comparing the count of
tables and columns and views in the database to those defined in the
application's resource file.
|
static boolean |
JDBCUtil.deleteIndex(JDBCConnectionInfo cninf,
java.lang.String tblname)
Deletes a database table's existing indexes.
|
static boolean |
JDBCUtil.deleteTable(JDBCConnectionInfo cninf,
java.lang.String tblname)
Deletes an existing database table.
|
static boolean |
JDBCUtil.deleteView(JDBCConnectionInfo cninf,
java.lang.String viewname)
Deletes an existing database view.
|
private static boolean |
JDBCSetup.executeAddlSQL(JDBCConnectionInfo cninf)
Executes additional setup SQL statements per the files defined by the
"JDBCSetup.addl.sql.files" properties value.
|
static void |
JDBCPoolManager.freeConnection(JDBCConnectionInfo cninf)
Returns a JDBC connection info object back to an assumed pool.
|
void |
JDBCConnectionPool.freeConnection(JDBCConnectionInfo cninf)
Frees a used JDBC connection info object.
|
static void |
JDBCPoolManager.freeConnection(java.lang.String name,
JDBCConnectionInfo cninf)
Returns a JDBC connection info object back to the specified pool.
|
static java.lang.String |
JDBCUtil.getMetaSchema(JDBCConnectionInfo cninf)
Returns the schema name required when obtaining various types of database
metadata from a JDBC connection; such as tables, columns, keys, and views.
|
static java.sql.PreparedStatement |
JDBCManager.getPreparedStatement(JDBCConnectionInfo cninf,
java.lang.String stmtkey)
Returns an SQL
PreparedStatement for the given statement
resource key. |
static java.sql.PreparedStatement |
JDBCManager.getPreparedStatement(JDBCConnectionInfo cninf,
java.lang.String stmtkey,
java.lang.String stmtstr)
Returns an SQL
PreparedStatement for the given statement
resource key. |
static java.sql.PreparedStatement |
JDBCManager.getPreparedStatementForUpdate(JDBCConnectionInfo cninf,
java.lang.String stmtkey,
java.lang.String stmtstr)
Returns an updatable SQL
PreparedStatement for the given
statement resource key. |
static java.sql.ResultSet |
JDBCUtil.getRSColumn(JDBCConnectionInfo cninf,
java.lang.String tblname,
java.lang.String colname)
Returns a result set of the columns in the given table.
|
static java.sql.ResultSet |
JDBCUtil.getRSColumns(JDBCConnectionInfo cninf,
java.lang.String tblname)
Returns a result set of the columns in the given table.
|
static java.sql.ResultSet |
JDBCUtil.getRSIndexes(JDBCConnectionInfo cninf,
java.lang.String tblname)
Returns a result set of all indexes in the database for the given table.
|
static java.sql.ResultSet |
JDBCUtil.getRSPrimary(JDBCConnectionInfo cninf,
java.lang.String tblname)
Returns a result set of the primary keys in the given table.
|
static java.sql.ResultSet |
JDBCUtil.getRSTable(JDBCConnectionInfo cninf,
java.lang.String tableName)
Returns a result set of the given table in the database.
|
static java.sql.ResultSet |
JDBCUtil.getRSTables(JDBCConnectionInfo cninf)
Returns a result set of the tables in the database.
|
static java.sql.ResultSet |
JDBCUtil.getRSTypes(JDBCConnectionInfo cninf)
Returns a result set of the supported sql types in the database.
|
static java.sql.ResultSet |
JDBCUtil.getRSViews(JDBCConnectionInfo cninf)
Returns a result set of the views in the database.
|
static java.util.ArrayList<java.lang.String> |
JDBCUtil.getTableNames(JDBCConnectionInfo cninf)
Returns the names of the tables in the database in table name sequence.
|
static java.lang.String |
JDBCUtil.getTablePrimary(JDBCConnectionInfo cninf,
java.lang.String tblname)
Returns a comma delimited string of a table's primary key field names.
|
static java.sql.ResultSet |
JDBCUtil.getTableRecords(JDBCConnectionInfo cninf,
java.lang.String tblname)
Returns a result set of the records in a database table.
|
static java.util.ArrayList<java.lang.String> |
JDBCUtil.getViewNames(JDBCConnectionInfo cninf)
Returns the names of the views in the database in view name sequence.
|
private boolean |
JDBCConnectionPool.isConnectionOK(JDBCConnectionInfo cninf)
Checks if the given JDBC connection info object is functioning properly.
|
private java.lang.String |
JDBCConnectionPool.removeFromUsedList(JDBCConnectionInfo cninf)
Removes the given JDBC connection info object from the list of used
connection info objects.
|
static boolean |
JDBCUtil.reorgTable(JDBCConnectionInfo cninf,
java.lang.String tblname)
Reorganizes the table with the given name.
|
static boolean |
JDBCManager.reviseDatabase(JDBCConnectionInfo cninf)
Revises the database tables and columns and views using the definitions
found in the application's resource file.
|
private static boolean |
JDBCManager.reviseDatabaseColumns(JDBCConnectionInfo cninf,
java.lang.String tblname)
Adds or deletes columns in a database table.
|
private static boolean |
JDBCManager.reviseDatabaseTables(JDBCConnectionInfo cninf,
int tblcount)
Adds or deletes tables in the database.
|
private static boolean |
JDBCManager.reviseDatabaseViews(JDBCConnectionInfo cninf)
Adds or deletes views in the database.
|
void |
JDBCObjectController.setConnectionInfo(JDBCConnectionInfo cninf)
Sets the JDBC connection information object that owns this controller.
|
Constructor and Description |
---|
JDBCGenericObjectController(JDBCConnectionInfo cninf,
java.lang.String tblname)
The constructor for the controller.
|
Modifier and Type | Field and Description |
---|---|
protected JDBCConnectionInfo |
MakeDbProperties.ivConnInfo
The database connection being used.
|
Constructor and Description |
---|
CopyObjectController(JDBCConnectionInfo cninf,
java.lang.String tblname)
Constructs a new object controller.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ConvertDES2AES.processCreditCards(JDBCConnectionInfo cninf)
Process credit card data.
|
protected void |
EncryptData2.processCreditCards(JDBCConnectionInfo cninf)
Process credit card data.
|
protected void |
EncryptData.processCreditCards(JDBCConnectionInfo cninf)
Process credit card data.
|
protected boolean |
ConvertDES2AES.processPasswords(JDBCConnectionInfo cninf)
Process password data.
|
protected void |
EncryptData2.processPasswords(JDBCConnectionInfo cninf)
Process password data.
|
protected void |
EncryptData.processPasswords(JDBCConnectionInfo cninf)
Process password data.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Category> |
Category.getAllChildren(JDBCConnectionInfo cninfo,
boolean unique)
Returns a collection of category objects for all levels of children of
this category.
|
static int |
NextNumber.getNext(JDBCConnectionInfo cninf,
java.lang.String series)
Returns the next available number in the requested series.
|
Modifier and Type | Method and Description |
---|---|
void |
LuceneIndexer.createIndex(java.lang.String[] prodinfo,
java.io.File content,
JDBCConnectionInfo cninf)
Creates the search index for the given set of product information.
|
void |
LuceneIndexer.createIndex(java.lang.String[] prodinfo,
JDBCConnectionInfo cninf)
Creates the search index for the given set of product information.
|
protected org.apache.lucene.document.Document |
LuceneIndexer.getDocument(java.lang.String[] prodinfo,
java.io.File content,
JDBCConnectionInfo cninf)
Returns a search index document for the given set of product information.
|
Modifier and Type | Field and Description |
---|---|
protected JDBCConnectionInfo |
ProductLookupHandler.ivERPConn
The current JDBC connection to the backend ERP system.
|
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.
|
java.util.ArrayList<java.lang.String> |
UserCatalog.getCategories(JDBCConnectionInfo cninf,
java.lang.String prodcode)
Returns a product's set of assigned catalog category codes.
|
java.util.ArrayList<java.lang.String> |
UserCatalog.getCategories(JDBCConnectionInfo cninf,
java.lang.String prodcode,
java.lang.String uomcode)
Returns a product's set of assigned catalog category codes.
|
java.lang.String[] |
UserCatalog.getCategoriesForTopMost(JDBCConnectionInfo cninf,
Category topmost)
Returns a cached array of the category codes starting with the given topmost
category.
|
java.util.HashMap<java.lang.String,java.util.HashSet<java.lang.String>> |
UserCatalog.getTopMostByCategoryMap(JDBCConnectionInfo cninf)
Create a map of categories and their associated topmost categories by
iterating through the topmost category cache and essentially reversing
it so we have a map keyed by the child category.
|
void |
UserCatalog.init(JDBCConnectionInfo cninf)
Initialize the various caches associated with this instance of the object.
|
private void |
UserCatalog.loadCatalog1(JDBCConnectionInfo cninf)
Loads the primary map of products and their assigned catalog category
codes.
|
private void |
UserCatalog.loadCatalog2(JDBCConnectionInfo cninf)
Loads the secondary map of products and their assigned catalog category
codes.
|
Modifier and Type | Field and Description |
---|---|
protected JDBCConnectionInfo |
FlashServlet.Context.reqDbConnectInfo
The current request's JDBC connection information object.
|
Modifier and Type | Method and Description |
---|---|
JDBCConnectionInfo |
FlashServletContext.getDbConnectionInfo()
Returns the current request's JDBC connection information object.
|
JDBCConnectionInfo |
FlashServlet.Context.getDbConnectionInfo()
Returns the current request's JDBC connection information object.
|
Modifier and Type | Method and Description |
---|---|
private void |
FlashStartup.initAttributeSearchValues(JDBCConnectionInfo cninfo)
Initializes the product unique attribute value cache, which will speed
up the display of the product search page for the first user.
|
Constructor and Description |
---|
BogusController(JDBCConnectionInfo cninf)
The constructor for the controller.
|
Modifier and Type | Field and Description |
---|---|
protected JDBCConnectionInfo |
PopulateNotificationContacts.ivCnInfo
The current JDBC connection information object.
|
Modifier and Type | Method and Description |
---|---|
JDBCConnectionInfo |
ThreadServletContext.getDbConnectionInfo()
Returns the context's JDBC connection information object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
NotificationMessage.addRecipentsAdmin(JDBCConnectionInfo cninf,
java.lang.String typesfx)
Adds to the collection of message recipient objects for admin users when
the current message type is for an admin message.
|
protected void |
NotificationMessage.cullRecipientUsers(JDBCConnectionInfo cninf,
java.lang.String typesfx)
Discards message recipient users who don't have an interest in receiving
notifications for the current message type.
|
protected void |
NotificationMessage.formatMessage(JDBCConnectionInfo cninf,
java.lang.String typesfx)
Formats a message and then sends the formatted message to the Notification
Framework for processing.
|
protected void |
NotificationMessage.formatMessageMassMail(JDBCConnectionInfo cninf,
java.lang.String typesfx)
Formats a mass mail message and then sends the formatted message to the
Notification Framework for processing.
|
protected boolean |
NotificationMessage.isUserInterested(JDBCConnectionInfo cninf,
User user,
java.lang.String typesfx)
Answers if a user is interested in receiving notifications for the given
message type.
|
protected void |
NotificationMessage.parseContent(JDBCConnectionInfo cninf)
Parses the message content when it is a Velocity Context.
|
protected void |
NotificationMessage.parseRecipients(JDBCConnectionInfo cninf)
Parses the collection of message recipients into either
User
objects or InternetAddress objects and adds to the respective
collection. |
protected void |
NotificationMessage.parseRecipients(JDBCConnectionInfo cninf,
java.lang.Object recipient)
Parses the given message recipient object into either a
User
object or an InternetAddress object and adds to the respective
collection. |
protected void |
NotificationMessage.parseRecipientsLowstockRestock(JDBCConnectionInfo cninf,
RestockNotification restock)
Parses the given lowstock/restock object into either a
User
recipient object or an InternetAddress recipient object and
then resets this message's recipient accordingly. |