org.nuxeo.cm.contact
Class Contact
java.lang.Object
org.nuxeo.cm.contact.Contact
- All Implemented Interfaces:
- Serializable, Comparable<Contact>
public class Contact
- extends Object
- implements Serializable, Comparable<Contact>
Wrapper for contact item.
- Author:
- Laurent Doguin
- See Also:
- Serialized Form
Contact
public Contact()
Contact
public Contact(Map<? extends String,? extends Serializable> m)
asStringForIndexing
public String asStringForIndexing()
getContactMap
public HashMap<String,Serializable> getContactMap()
getName
public String getName()
setName
public void setName(String name)
getEmail
public String getEmail()
setEmail
public void setEmail(String email)
getSurname
public String getSurname()
setSurname
public void setSurname(String surname)
getService
public String getService()
setService
public void setService(String service)
getMailboxIdd
public String getMailboxIdd()
setMailboxId
public void setMailboxId(String mailboxId)
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
compareTo
public int compareTo(Contact other)
- Specified by:
compareTo
in interface Comparable<Contact>
getContactForMailbox
public static Contact getContactForMailbox(Mailbox mailbox,
String email,
String service,
String surname)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.