public class SalesMan extends DBPersist
Sales Man
Copyright: Copyright (c) KnowGate 2003-2012
Modifier and Type | Field and Description |
---|---|
static short |
ClassId |
Constructor and Description |
---|
SalesMan() |
Modifier and Type | Method and Description |
---|---|
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 |
load(JDCConnection oConn,
java.lang.String sGuSalesMan)
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
|
allcaps, allcaps, clear, clone, columns, containsKey, containsValue, entrySet, exists, get, get, getAuditClassName, getCreationDate, getDate, getDate, getDateFormated, getDateShort, getDateTime, getDateTime24, getDecimal, getDecimalFormated, getDecimalFormated, getDouble, getDoubleFormated, getFloat, getFloatFormated, getInt, getIntArray, getInteger, getIntegerArray, getIntervalPart, getItemMap, getItems, getMoney, getPrimaryKey, getShort, getSQLDate, getSQLTime, getString, getStringHtml, getStringNull, getTable, getTable, getTime, getTimeOfDay, getTimestamp, isEmpty, isNull, iterator, keySet, parseXML, put, put, put, put, put, put, 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, setPrimaryKey, size, toLowerCase, toUpperCase, toXML, toXML, toXML, values
public static final short ClassId
public ACLUser getUser()
public boolean load(JDCConnection oConn, java.lang.String sGuSalesMan) throws java.sql.SQLException
public boolean load(JDCConnection oConn, java.lang.Object[] PKVals) throws 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 setpublic boolean delete(JDCConnection oConn) throws 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 procedureoConn
- JDCConnectionsSalesManGUID
- String GUID of sales man to be deletedjava.sql.SQLException
public static boolean exists(JDCConnection oConn, java.lang.String sSalesManGUID) throws java.sql.SQLException
oConn
- JDCConnectionsSalesManGUID
- String sales man GUIDjava.sql.SQLException