|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.ibm.dse.base.DSENotifier
|
+--com.ibm.dse.base.Service
|
+--com.ibm.dse.services.jdbc.JDBCService
|
+--com.ibm.dse.services.jdbc.JDBCTable
|
+--com.ibm.dse.services.jdbc.CashDrawerManager
| Field Summary | |
static java.lang.String |
COMPID
Deprecated. Keeps the component identification that will be used by the traces tool. |
java.lang.String |
DEFAULT_TABLE_DEFINITION
Deprecated. The default SQL definition of the database table that the CashDrawerManager uses. |
java.lang.String |
tableDefinition
Deprecated. The SQL definition of the database table that the CashDrawerManager uses. |
| Fields inherited from class com.ibm.dse.services.jdbc.JDBCTable |
autoConnect,
catalog,
columnsTable,
COMPID,
JDBCDriver,
primaryKeys,
primaryKeysHashtable,
schema,
tableName,
tablesMetaData |
| Fields inherited from class com.ibm.dse.services.jdbc.JDBCService |
autoCommit,
connectionProperties,
databaseConnection,
databaseURL,
dataSourceName,
metaData,
password,
poolName,
sharedConnection,
user,
waitRetry |
| Fields inherited from class com.ibm.dse.base.Service |
externalizer |
| Fields inherited from class com.ibm.dse.base.DSENotifier |
handlersList,
name |
| Constructor Summary | |
CashDrawerManager()
Deprecated. This constructor creates a CashDrawerManager object. |
|
CashDrawerManager(java.lang.String aName)
Deprecated. This constructor creates a CashDrawerManager object. |
|
| Method Summary | |
CashDrawer |
assignCashDrawerToUser(CashDrawer aDestinationCashDrawer)
Deprecated. Assigns aDestinationCashDrawer, which is identified in the database by the cash drawer name attribute of this object, to the user set in the userid attribute of the object. |
void |
assignCashDrawerToUser(java.lang.String aCashDrawerName,
java.lang.String aUserID)
Deprecated. Assigns a cash drawer, which is identified in the database by aCashDrawerName, to the user aUserID. |
CashDrawer |
assignCashDrawerToUser(java.lang.String aCashDrawerName,
java.lang.String aUserID,
java.lang.String aCashDrawerID)
Deprecated. Assigns a cash drawer, which is identified in the database by aCashDrawerName, to the user aUserID, and returns the created cash drawer object. |
CashDrawer |
createCashDrawer(CashDrawer aCashDrawer)
Deprecated. Creates a cash drawer record in the cash drawer manager database table. |
void |
deleteCashDrawer(java.lang.String aCashDrawerName)
Deprecated. Deletes the cash drawer record, which is identified by aCashDrawerName, from the cash drawer manager database table. |
void |
generateTable(java.lang.String aTableName,
java.lang.String aTableDefinition)
Deprecated. Generates the cash drawer manager table in the selected database with aTableName name. |
Vector |
getAssignedCashDrawersToUser(java.lang.String aUserID,
java.lang.String aCashDrawerID)
Deprecated. Returns the list of assigned cash drawers to the user aUserID. |
CashDrawer |
getCashDrawer(java.lang.String aCashDrawerName,
CashDrawer aDestinationCashDrawer)
Deprecated. Returns the cash drawer, which is provided as an argument with its attributes set to the values stored in the database table. |
CashDrawer |
getCashDrawer(java.lang.String aCashDrawerName,
java.lang.String aCashDrawerID)
Deprecated. Returns the cash drawer, which is instantiated from an external data definition (aCashDrawerID definition in the SGML data file), with its attributes set to the values stored in the database table. |
Vector |
getCashDrawers(java.lang.String aCashDrawerID)
Deprecated. Returns the list of all cash drawers available in the cash drawer manager database table. |
Vector |
getCashDrawersByType(java.lang.String aType,
java.lang.String aCashDrawerID)
Deprecated. Returns the list of cash drawers of type aType. |
Vector |
getUnassignedCashDrawers(java.lang.String aCashDrawerID)
Deprecated. Returns the list of unassigned cash drawers. |
Vector |
getUnassignedCashDrawersByType(java.lang.String aType,
java.lang.String aCashDrawerID)
Deprecated. Returns the list of unassigned cash drawers of type aType. |
java.lang.Object |
initializeFrom(Tag aTag)
Deprecated. Used by the CashDrawerManager service externalizer to set the instance attributes (name, autoCommit, autoConnect, databaseURL, tableName, user and password) as defined in the SGML file. |
Vector |
retrieveAllRecords()
Deprecated. Retrieves all the records in the database. |
void |
setTableDefinition(java.lang.String aTableDefinition)
Deprecated. Sets the value of the attribute tableDefinition to the string provided as an argument. |
void |
storeCashDrawer(CashDrawer aCashDrawer)
Deprecated. Stores a cash drawer in the database. |
Vector |
toStrings()
Deprecated. Used by the externalizer. |
void |
unassignCashDrawer(CashDrawer aCashDrawer)
Deprecated. Unassigns the cash drawer called aCashDrawer in the cash drawer manager database table. |
void |
unassingCashDrawer(java.lang.String aCashDrawerName)
Deprecated. Unassigns the cash drawer identified by aCashDrawerName in the cash drawer manager database table. |
| Methods inherited from class com.ibm.dse.base.Service |
externalizer,
getExternalizer,
getTagName,
readExternal,
readExternal,
readObject,
removeExternal,
setExternalizer,
terminate,
toString,
toTags,
writeExternal,
writeExternal |
| Methods inherited from class com.ibm.dse.base.DSENotifier |
addHandler,
getHandlersList,
getName,
removeHandler,
setName,
signalEvent,
signalEvent,
signalEvent |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final java.lang.String COMPID
public java.lang.String tableDefinition
public java.lang.String DEFAULT_TABLE_DEFINITION
| Constructor Detail |
public CashDrawerManager()
public CashDrawerManager(java.lang.String aName)
throws java.io.IOException
aName - java.lang.String| Method Detail |
public CashDrawer assignCashDrawerToUser(CashDrawer aDestinationCashDrawer)
throws DSEInternalErrorException,
DSEInvalidArgumentException,
DSEInvalidRequestException,
DSEObjectNotFoundException,
DSESQLException,
java.io.IOException,
DSEException
aDestinationCashDrawer - com.ibm.dse.application.CashDrawer
public void assignCashDrawerToUser(java.lang.String aCashDrawerName,
java.lang.String aUserID)
throws DSEInternalErrorException,
DSEInvalidArgumentException,
DSEInvalidRequestException,
DSEObjectNotFoundException,
DSESQLException,
java.io.IOException,
DSEException
aCashDrawerName - java.lang.StringaUserID - java.lang.String
public CashDrawer assignCashDrawerToUser(java.lang.String aCashDrawerName,
java.lang.String aUserID,
java.lang.String aCashDrawerID)
throws DSEInternalErrorException,
DSEInvalidArgumentException,
DSEInvalidRequestException,
DSEObjectNotFoundException,
DSESQLException,
java.io.IOException,
DSEException
aCashDrawerName - java.lang.StringaUserID - java.lang.StringaCashDrawerID - java.lang.String
public CashDrawer createCashDrawer(CashDrawer aCashDrawer)
throws DSEInternalErrorException,
DSEInvalidArgumentException,
DSEInvalidClassException,
DSEInvalidRequestException,
DSEObjectNotFoundException,
DSESQLException,
java.io.IOException,
DSEException
aCashDrawer - com.ibm.dse.application.CashDrawer, a cash drawer instance
public void deleteCashDrawer(java.lang.String aCashDrawerName)
throws DSEInternalErrorException,
DSEInvalidArgumentException,
DSEInvalidRequestException,
DSEObjectNotFoundException,
DSESQLException,
java.io.IOException,
DSEException
aCashDrawerID - java.lang.String
public void generateTable(java.lang.String aTableName,
java.lang.String aTableDefinition)
throws DSEInvalidArgumentException,
DSESQLException,
DSEInternalErrorException
aTableName - java.lang.StringaTableDefinition - java.lang.String, the table definition
public Vector getAssignedCashDrawersToUser(java.lang.String aUserID,
java.lang.String aCashDrawerID)
throws DSEInternalErrorException,
DSEInvalidArgumentException,
DSEInvalidRequestException,
DSEObjectNotFoundException,
DSESQLException,
java.io.IOException,
DSEException
aUserID - java.lang.StringaCashDrawerName - java.lang.String
public CashDrawer getCashDrawer(java.lang.String aCashDrawerName,
CashDrawer aDestinationCashDrawer)
throws DSEInternalErrorException,
DSEInvalidArgumentException,
DSEInvalidRequestException,
DSEObjectNotFoundException,
DSESQLException,
java.io.IOException,
DSEException
aCashDrawerID - java.lang.StringaDestinationCashDrawer - com.ibm.dse.application.CashDrawer
public CashDrawer getCashDrawer(java.lang.String aCashDrawerName,
java.lang.String aCashDrawerID)
throws DSEInternalErrorException,
DSEInvalidArgumentException,
DSEInvalidRequestException,
DSEObjectNotFoundException,
DSESQLException,
java.io.IOException,
DSEException
aCashDrawerID - java.lang.StringaCashDrawerName - java.lang.String
public Vector getCashDrawers(java.lang.String aCashDrawerID)
throws DSEInternalErrorException,
DSEInvalidArgumentException,
DSEInvalidRequestException,
DSESQLException,
DSEObjectNotFoundException,
java.io.IOException,
DSEException
aCashDrawerName - java.lang.String
public Vector getCashDrawersByType(java.lang.String aType,
java.lang.String aCashDrawerID)
throws DSEInternalErrorException,
DSEInvalidArgumentException,
DSEInvalidRequestException,
DSESQLException,
DSEObjectNotFoundException,
java.io.IOException,
DSEException
aType - java.lang.StringaCashDrawerName - java.lang.String
public Vector getUnassignedCashDrawers(java.lang.String aCashDrawerID)
throws DSEInternalErrorException,
DSEInvalidArgumentException,
DSEInvalidRequestException,
DSESQLException,
DSEObjectNotFoundException,
java.io.IOException,
DSEException
aCashDrawerName - java.lang.String
public Vector getUnassignedCashDrawersByType(java.lang.String aType,
java.lang.String aCashDrawerID)
throws DSEInternalErrorException,
DSEInvalidArgumentException,
DSEInvalidRequestException,
DSESQLException,
DSEObjectNotFoundException,
java.io.IOException,
DSEException
aType - java.lang.StringaCashDrawerName - java.lang.String
public java.lang.Object initializeFrom(Tag aTag)
throws java.io.IOException
aTag - com.ibm.dse.base.Tag
public Vector retrieveAllRecords()
throws DSEInternalErrorException,
DSEInvalidRequestException,
DSEInvalidArgumentException,
DSESQLException,
DSEException
public void setTableDefinition(java.lang.String aTableDefinition)
aTableDefinition - java.lang.String
public void storeCashDrawer(CashDrawer aCashDrawer)
throws DSEInternalErrorException,
DSEInvalidArgumentException,
DSEInvalidClassException,
DSEInvalidRequestException,
DSEObjectNotFoundException,
DSESQLException,
java.io.IOException,
DSEException
aCashDrawer - com.ibm.dse.application.CashDrawerpublic Vector toStrings()
public void unassignCashDrawer(CashDrawer aCashDrawer)
throws DSEInternalErrorException,
DSEInvalidArgumentException,
DSEInvalidRequestException,
DSEObjectNotFoundException,
DSESQLException,
java.io.IOException,
DSEException
aCashDrawer - com.ibm.dse.application.CashDrawer
public void unassingCashDrawer(java.lang.String aCashDrawerName)
throws DSEInternalErrorException,
DSEInvalidArgumentException,
DSEInvalidRequestException,
DSEObjectNotFoundException,
DSESQLException,
java.io.IOException,
DSEException
aCashDrawerName - java.lang.String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||