com.knowgate.crm
Class Note

java.lang.Object
  extended by com.knowgate.dataobjs.DBPersist
      extended by com.knowgate.crm.Note
All Implemented Interfaces:
java.io.Serializable, java.util.Map

public class Note
extends DBPersist

Contact Note

Copyright: Copyright (c) KnowGate 2003

See Also:
Serialized Form

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
Note()
           
 
Method Summary
 boolean delete(JDCConnection oConn)
          Delete Note k_contact.nu_notes fields is decremented by 1
 boolean store(JDCConnection oConn)
          Store Note A new pg_note is automatically generated if not explicitly 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, 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

ClassId

public static final short ClassId
See Also:
Constant Field Values
Constructor Detail

Note

public Note()
Method Detail

store

public boolean store(JDCConnection oConn)
              throws java.sql.SQLException
Store Note A new pg_note is automatically generated if not explicitly set.
k_contact.nu_notes fields is incrmented by 1

Overrides:
store in class DBPersist
Parameters:
oConn - Database Connection
Returns:
boolean true if register was stored for the first time, false if register already existed.
Throws:
java.sql.SQLException

delete

public boolean delete(JDCConnection oConn)
               throws java.sql.SQLException
Delete Note k_contact.nu_notes fields is decremented by 1

Overrides:
delete in class DBPersist
Parameters:
oConn - Database Connection
Returns:
Throws:
java.sql.SQLException