public class Contact extends ContactBase implements org.melati.poem.Treeable
Persistent Contact object.
Description: A Contact.
| Name | Type | Description |
|---|---|---|
| id | Integer | |
| name | String | Contact Name |
| owner | Contact | Contact who owns this contact |
| address | String | Contact Address |
| updates | Integer | How many times has this record been updated? |
| lastupdated | Date | When was this last updated? |
| lastupdateuser | User | Who last updated this? |
| Modifier and Type | Class and Description |
|---|---|
class |
Contact.DescendantParentException
Thrown when an attempt to make a descendant an ancestor is made.
|
address, id, lastupdated, lastupdateuser, name, owner, updatesvalid| Constructor and Description |
|---|
Contact()
Constructor
for a
Persistent Contact object. |
| Modifier and Type | Method and Description |
|---|---|
static org.melati.poem.Treeable[] |
arrayOf(Enumeration<org.melati.poem.Persistent> e) |
static org.melati.poem.Treeable[] |
arrayOf(Vector<org.melati.poem.Persistent> v) |
ArrayList<Integer> |
getAncestors() |
org.melati.poem.Treeable[] |
getChildren() |
boolean |
isIn(Category category) |
void |
setOwner(Contact cooked)
Set the Owner.
|
protected void |
writeLock() |
getAddress_unsafe, getAddress, getAddressField, getContactContactCategoryList, getContactContactCategorys, getContactsDatabaseTables, getContactTable, getId_unsafe, getId, getIdField, getLastupdated_unsafe, getLastupdated, getLastupdatedField, getLastupdateuser_unsafe, getLastupdateuser, getLastupdateuserField, getLastupdateuserTroid, getName_unsafe, getName, getNameField, getOwner_unsafe, getOwner, getOwnerContactList, getOwnerContacts, getOwnerField, getOwnerTroid, getUpdates_unsafe, getUpdates, getUpdatesField, setAddress_unsafe, setAddress, setId_unsafe, setId, setId, setLastupdated_unsafe, setLastupdated, setLastupdateuser_unsafe, setLastupdateuser, setLastupdateuserTroid, setName_unsafe, setName, setOwner_unsafe, setOwnerTroid, setUpdates_unsafe, setUpdates, setUpdatesassertCanCreate, assertCanCreate, assertCanDelete, assertCanDelete, assertCanRead, assertCanRead, assertCanWrite, assertCanWrite, clone, commit, countMatchSQL, delete_unsafe, delete, delete, deleteAndCommit, deleteAndCommit, deleteLock, displayString, displayString, displayString, dump, dump, duplicated, duplicatedFloating, equals, existenceLock, existenceLock, fieldsOfColumns, fromClause, getCanDelete, getCanRead, getCanSelect, getCanWrite, getCooked, getCookedString, getDatabase, getDetailDisplayFields, getField, getFields, getPrimaryDisplayField, getRaw, getRawString, getReadable, getRecordDisplayFields, getSearchCriterionFields, getSummaryDisplayFields, getTable, getTroid, hashCode, invalidate, isDirty, load, makePersistent, postEdit, postInsert, postModify, postWrite, preEdit, readLock, readLock, readLock, rollback, setCooked, setDirty, setRaw, setRawString, statusExistent, statusNonexistent, toString, troid, upToDate, writeDown, writeLock, writeLockmarkValid, reset, setTransactionPool, transactionPool, unSeefinalize, getClass, notify, notifyAll, wait, wait, waitgetNamepublic Contact()
Persistent Contact object.
Description: A Contact.
see org.melati.poem.prepro.TableDef#generatePersistentJavapublic boolean isIn(Category category)
protected void writeLock()
writeLock in class org.melati.poem.JdbcPersistentpublic org.melati.poem.Treeable[] getChildren()
getChildren in interface org.melati.poem.TreeablegetChildren in class org.melati.poem.JdbcPersistentpublic void setOwner(Contact cooked) throws org.melati.poem.AccessPoemException
ContactBasesetOwner in class ContactBasecooked - a validated Contactorg.melati.poem.AccessPoemException - if the current AccessToken
does not confer write access rightspublic static org.melati.poem.Treeable[] arrayOf(Vector<org.melati.poem.Persistent> v)
v - vector of Treeablespublic static org.melati.poem.Treeable[] arrayOf(Enumeration<org.melati.poem.Persistent> e)
e - enumeration of TreeablesCopyright © 2000–2015 PanEris. All rights reserved.