|
||||||||||
| 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.Attachment
Contact Attachment
Copyright: Copyright (c) KnowGate 2003
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Field Summary | |
static short |
ClassId
|
| Fields inherited from class com.knowgate.dataobjs.DBPersist |
AllVals, sAuditCls, sAuditUsr, sTransactId |
| Constructor Summary | |
Attachment()
|
|
| Method Summary | |
boolean |
delete(JDCConnection oConn)
Delete Attachment |
boolean |
store(JDCConnection oConn)
Store Product as Contact Attachment. |
| Methods inherited from class com.knowgate.dataobjs.DBPersist |
allcaps, allcaps, changelog, clear, clone, containsKey, containsValue, entrySet, exists, get, get, getAuditClassName, getCreationDate, getDate, getDateFormated, getDateShort, getDecimal, getDecimalFormated, getDouble, getDoubleFormated, getFloat, getFloatFormated, getInt, getInteger, getItemMap, getItems, getShort, getString, 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, putAll, putAll, remove, remove, replace, replace, replace, replace, setAuditTransact, setAuditUser, size, toLowerCase, toUpperCase, 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 Attachment()
| Method Detail |
public boolean store(JDCConnection oConn)
throws java.sql.SQLException
Store Product as Contact Attachment.
A Product object must have been stored at database prior to storing the
Attachment object.
The link between Product and Attachment is done just by setting the
gu_product field at Attachment object.
An Attachment progressive numeric identifier is automatically computed
for field pg_product of table k_contact_attachs if one is not explicitly set.
Automatically generates dt_modified DATE if not explicitly set.
store in class DBPersistoConn - Database Connection
java.sql.SQLException
public boolean delete(JDCConnection oConn)
throws java.sql.SQLException
Delete Attachment
The associated Product and physical files are automatically deleted as well.
delete in class DBPersistoConn - Database Connection
java.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||