|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.knowgate.dataobjs.DBPersist
com.knowgate.crm.SalesMan
public class SalesMan
Sales Man
Copyright: Copyright (c) KnowGate 2003
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Field Summary | |
|---|---|
static short |
ClassId
|
| Fields inherited from class com.knowgate.dataobjs.DBPersist |
|---|
AllVals, sAuditCls, sAuditUsr, sTransactId |
| Constructor Summary | |
|---|---|
SalesMan()
|
|
| Method Summary | |
|---|---|
boolean |
delete(JDCConnection oConn)
Delete sales man. |
static boolean |
delete(JDCConnection oConn,
java.lang.String sSalesManGUID)
Delete sales man This method calls k_sp_del_sales_man stored procedure |
static boolean |
exists(JDCConnection oConn,
java.lang.String sSalesManGUID)
Get whether a user exists as a sales man or not |
ACLUser |
getUser()
Get user for this sales man |
boolean |
load(JDCConnection oConn,
java.lang.Object[] PKVals)
Load sales man and initialize internal user instance |
boolean |
store(JDCConnection oConn)
Store sales man This method initializes internal user inctance if it was not previously set |
| Methods inherited from class com.knowgate.dataobjs.DBPersist |
|---|
allcaps, allcaps, changelog, clear, clone, containsKey, containsValue, entrySet, exists, get, get, getAuditClassName, getCreationDate, getDate, getDateFormated, getDateShort, getDateTime, getDateTime24, getDecimal, getDecimalFormated, getDecimalFormated, getDouble, getDoubleFormated, getFloat, getFloatFormated, getInt, getInteger, getIntervalPart, getItemMap, getItems, getMoney, getShort, getSQLDate, getSQLTime, getString, getStringHtml, getStringNull, getTable, getTable, getTableName, getTime, getTimeOfDay, getTimestamp, getUIdFromName, isEmpty, isNull, iterator, keySet, load, parseXML, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAll, remove, remove, replace, replace, replace, replace, replace, replace, replace, replace, setAuditTransact, setAuditUser, setCreationDate, size, toLowerCase, toUpperCase, toXML, toXML, toXML, toXML, values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Field Detail |
|---|
public static final short ClassId
| Constructor Detail |
|---|
public SalesMan()
| Method Detail |
|---|
public ACLUser getUser()
public boolean load(JDCConnection oConn,
java.lang.Object[] PKVals)
throws java.sql.SQLException
load in class DBPersistoConn - JDCConnectionPKVals - Object[]
java.sql.SQLException
public boolean store(JDCConnection oConn)
throws java.sql.SQLException
Store sales man
This method initializes internal user inctance if it was not previously set
store in class DBPersistoConn - JDCConnection
java.sql.SQLException
public boolean delete(JDCConnection oConn)
throws java.sql.SQLException
delete in class DBPersistoConn - Database connection
java.sql.SQLException
public static boolean delete(JDCConnection oConn,
java.lang.String sSalesManGUID)
throws java.sql.SQLException
Delete sales man
This method calls k_sp_del_sales_man stored procedure
oConn - JDCConnectionsSalesManGUID - String GUID of sales man to be deleted
java.sql.SQLException
public static boolean exists(JDCConnection oConn,
java.lang.String sSalesManGUID)
throws java.sql.SQLException
oConn - JDCConnectionsSalesManGUID - String sales man GUID
java.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||