public class SalePoint extends Address
Modifier and Type | Field and Description |
---|---|
static short |
ClassId |
Constructor and Description |
---|
SalePoint() |
SalePoint(JDCConnection oConn,
java.lang.String sGuid) |
Modifier and Type | Method and Description |
---|---|
boolean |
delete(JDCConnection oConn)
Delete Address
Registers at k_welcome_packs, k_x_company_addr, k_x_contact_addr, k_meetings, k_sms_audit, k_activities, k_x_activity_audience are deleted on cascade
|
java.util.HashMap |
getItemMap() |
boolean |
load(JDCConnection oConn,
java.lang.Object[] aPk)
Load values set at table k_addresses
This method trims the value of id_country column and loads the translated value for street type
|
boolean |
load(JDCConnection oConn,
java.lang.String sPk)
Load values set at table k_addresses
This method trims the value of id_country column
|
void |
put(java.lang.String sKey,
short iValue)
Set value at internal collection
|
void |
put(java.lang.String sKey,
java.lang.String sValue)
Set value at internal collection
If allcaps is set tu true then sVal is converted to uppercase
|
void |
replace(java.lang.String sKey,
short iValue)
Replace a value from internal collection
|
void |
replace(java.lang.String sKey,
java.lang.String sValue) |
boolean |
store(JDCConnection oConn)
Store Address
If gu_address is null a new GUID is automatically assigned.
|
addLookupState, addLookupStreetType, getAddressesByCompanyName, getIdFromEmail, nextLocalIndex, toLocaleString, toLocaleString, toXML, toXML, toXML
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, 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, putAll, putAll, remove, remove, replace, replace, replace, replace, replace, replace, replace, setAuditTransact, setAuditUser, setCreationDate, setPrimaryKey, size, toLowerCase, toUpperCase, values
public static final short ClassId
public SalePoint()
public SalePoint(JDCConnection oConn, java.lang.String sGuid) throws java.sql.SQLException
java.sql.SQLException
public java.util.HashMap getItemMap()
getItemMap
in class DBPersist
public boolean load(JDCConnection oConn, java.lang.Object[] aPk) throws java.sql.SQLException
Address
Load values set at table k_addresses
This method trims the value of id_country column and loads the translated value for street typepublic boolean load(JDCConnection oConn, java.lang.String sPk) throws java.sql.SQLException
Address
Load values set at table k_addresses
This method trims the value of id_country columnpublic void replace(java.lang.String sKey, java.lang.String sValue)
public void replace(java.lang.String sKey, short iValue)
DBPersist
Replace a value from internal collection
public void put(java.lang.String sKey, java.lang.String sValue)
DBPersist
Set value at internal collection
If allcaps is set tu true then sVal is converted to uppercasepublic void put(java.lang.String sKey, short iValue)
DBPersist
Set value at internal collection
public boolean store(JDCConnection oConn) throws java.sql.SQLException
Address
Store Address
If gu_address is null a new GUID is automatically assigned.public boolean delete(JDCConnection oConn) throws java.sql.SQLException
Address
Delete Address
Registers at k_welcome_packs, k_x_company_addr, k_x_contact_addr, k_meetings, k_sms_audit, k_activities, k_x_activity_audience are deleted on cascade