|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.knowgate.dataobjs.DBPersist
com.knowgate.hipergate.Address
com.knowgate.hipergate.SalePoint
public class SalePoint
| 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 | |
|---|---|
SalePoint()
|
|
SalePoint(JDCConnection oConn,
java.lang.String sGuid)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.knowgate.hipergate.Address |
|---|
addLookupState, addLookupStreetType, getAddressesByCompanyName, getIdFromEmail, nextLocalIndex, toLocaleString, toLocaleString, toXML, toXML, toXML |
| 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, getItems, getMoney, getShort, getSQLDate, getSQLTime, getString, getStringHtml, getStringNull, getTable, getTable, getTableName, getTime, getTimeOfDay, getTimestamp, getUIdFromName, isEmpty, isNull, iterator, keySet, parseXML, 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, size, toLowerCase, toUpperCase, 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 SalePoint()
public SalePoint(JDCConnection oConn,
java.lang.String sGuid)
throws java.sql.SQLException
java.sql.SQLException| Method Detail |
|---|
public java.util.HashMap getItemMap()
getItemMap in class DBPersist
public boolean load(JDCConnection oConn,
java.lang.Object[] aPk)
throws java.sql.SQLException
AddressLoad values set at table k_addresses
This method trims the value of id_country column and loads the translated value for street type
load in class AddressoConn - Database ConnectionaPk - An Array with a single String containing the GUID of the Address to be loaded
java.sql.SQLException
public boolean load(JDCConnection oConn,
java.lang.String sPk)
throws java.sql.SQLException
AddressLoad values set at table k_addresses
This method trims the value of id_country column
load in class AddressoConn - JDCConnectionsPk - String GUID of the Address to be loaded
java.sql.SQLException
public void replace(java.lang.String sKey,
java.lang.String sValue)
public void replace(java.lang.String sKey,
short iValue)
DBPersistReplace a value from internal collection
replace in class DBPersistsKey - Field NameiValue - New short value
public void put(java.lang.String sKey,
java.lang.String sValue)
DBPersistSet value at internal collection
If allcaps is set tu true then sVal is converted to uppercase
put in class DBPersistsKey - Field NamesValue - Field Value
public void put(java.lang.String sKey,
short iValue)
DBPersistSet value at internal collection
put in class DBPersistsKey - Field NameiValue - Field Value
public boolean store(JDCConnection oConn)
throws java.sql.SQLException
AddressStore Address
If gu_address is null a new GUID is automatically assigned.
store in class AddressoConn - Database Connection
java.sql.SQLException
public boolean delete(JDCConnection oConn)
throws java.sql.SQLException
AddressDelete 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
delete in class AddressoConn - Database Connection
java.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||