|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--dtw.webmail.util.AbstractIdentifiable
|
+--dtw.webmail.util.AssociatedAbstractIdentifiable
|
+--dtw.webmail.plugin.std.CastorContactGroup
Class implementing a specialized JwmaContactGroupImpl for being persisted with the Castor Plugins.
| Field Summary |
| Fields inherited from interface org.exolab.castor.jdo.TimeStampable |
NO_TIMESTAMP |
| Constructor Summary | |
CastorContactGroup()
|
|
CastorContactGroup(CastorContacts ctdb)
|
|
CastorContactGroup(CastorContacts ctdb,
java.lang.String name)
|
|
| Method Summary | |
void |
addContact(JwmaContactImpl con)
Adds a JwmaContactImpl instance to this contact database. |
protected void |
addContactID(java.lang.String uid)
|
boolean |
containsContact(java.lang.String uid)
Tests if this JwmaContactGroupImpl contains a contact with the given unique identifier. |
java.lang.String |
getComments()
Returns the comments about this JwmaContactGroup. |
java.lang.String |
getContactIDList()
Used by castor to get list for persistence. |
java.util.List |
getContacts()
|
java.lang.String |
getName()
Returns the name of this JwmaContactGroup. |
long |
jdoGetTimeStamp()
|
void |
jdoSetTimeStamp(long timeStamp)
|
protected java.lang.String[] |
listContactIDs()
|
JwmaContact[] |
listContacts()
Returns an array of contacts containing all contacts in this contact group. |
void |
removeContact(JwmaContactImpl con)
Removes a JwmaContactImpl instance from this contact database. |
protected void |
removeContactID(java.lang.String uid)
|
void |
setComments(java.lang.String comments)
Sets the comments about this JwmaContactGroupImpl. |
void |
setContactIDList(java.lang.String list)
Used by castor to set list from persistent store. |
void |
setContactsDB(CastorContacts contacts)
|
void |
setName(java.lang.String name)
Sets the name of this JwmaContactGroupImpl. |
| Methods inherited from class dtw.webmail.util.AssociatedAbstractIdentifiable |
getAssociatorUID, isAssociated, resetAssociatorUID, setAssociatorUID |
| Methods inherited from class dtw.webmail.util.AbstractIdentifiable |
equals, getUID, setUID |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface dtw.webmail.model.JwmaContactGroup |
getUID |
| Constructor Detail |
public CastorContactGroup()
public CastorContactGroup(CastorContacts ctdb)
public CastorContactGroup(CastorContacts ctdb,
java.lang.String name)
| Method Detail |
public void setContactsDB(CastorContacts contacts)
public java.lang.String getName()
JwmaContactGroup
getName in interface JwmaContactGrouppublic void setName(java.lang.String name)
JwmaContactGroupImpl
setName in interface JwmaContactGroupImplname - the name of this group as String.public java.lang.String getComments()
JwmaContactGroup
getComments in interface JwmaContactGrouppublic void setComments(java.lang.String comments)
JwmaContactGroupImpl
setComments in interface JwmaContactGroupImplcomments - the comments about this group as String.public java.lang.String getContactIDList()
public void setContactIDList(java.lang.String list)
protected void addContactID(java.lang.String uid)
protected void removeContactID(java.lang.String uid)
protected java.lang.String[] listContactIDs()
public JwmaContact[] listContacts()
JwmaContactGroupIf this contact group does not contain any contacts, then this method returns an empty array. Otherwise it contains one JwmaContact for each entry in this contact group.
listContacts in interface JwmaContactGrouppublic java.util.List getContacts()
public void addContact(JwmaContactImpl con)
JwmaContactGroupImpl
addContact in interface JwmaContactGroupImplcon - the JwmaContactImpl to be added.public void removeContact(JwmaContactImpl con)
JwmaContactGroupImpl
removeContact in interface JwmaContactGroupImplcon - the JwmaContactImpl to be removed.public boolean containsContact(java.lang.String uid)
JwmaContactGroupImpl
containsContact in interface JwmaContactGroupImpluid - a unique identifier of a contact.
public long jdoGetTimeStamp()
jdoGetTimeStamp in interface org.exolab.castor.jdo.TimeStampablepublic void jdoSetTimeStamp(long timeStamp)
jdoSetTimeStamp in interface org.exolab.castor.jdo.TimeStampable
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||