- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 37 of file ContactItem.java.
◆ ContactItem()
org.turro.contacts.model.ContactItem.ContactItem |
( |
Dao |
dao, |
|
|
String |
contactId, |
|
|
boolean |
open |
|
) |
| |
◆ getContact()
Contact org.turro.contacts.model.ContactItem.getContact |
( |
| ) |
|
Definition at line 60 of file ContactItem.java.
62 contact = dao.find(Contact.class, contactId);
◆ getContactId()
String org.turro.contacts.model.ContactItem.getContactId |
( |
| ) |
|
◆ getImages()
List<String> org.turro.contacts.model.ContactItem.getImages |
( |
| ) |
|
Definition at line 74 of file ContactItem.java.
76 images =
new ArrayList<>();
78 if(profile.isCompany()) images.add(DirectoryType.DIRECTORY_COMPANIES.getImage());
79 if(profile.isCenter()) images.add(DirectoryType.DIRECTORY_CENTERS.getImage());
80 if(profile.isWorker()) images.add(DirectoryType.DIRECTORY_PROFESSIONALS.getImage());
81 if(profile.isResponsible()) images.add(DirectoryType.DIRECTORY_EDUCATORS.getImage());
82 if(profile.isStudent()) images.add(DirectoryType.DIRECTORY_STUDENTS.getImage());
83 if(
getContact().isDeactivated()) images.add(
"cancel");
◆ getLocale()
String org.turro.contacts.model.ContactItem.getLocale |
( |
| ) |
|
◆ getName()
String org.turro.contacts.model.ContactItem.getName |
( |
| ) |
|
◆ getRelations()
Definition at line 104 of file ContactItem.java.
105 return ContactRelations.getRelations(contact.
getId(), ContactRelations.MODE_ALL);
◆ getStyle()
String org.turro.contacts.model.ContactItem.getStyle |
( |
| ) |
|
◆ isOpen()
boolean org.turro.contacts.model.ContactItem.isOpen |
( |
| ) |
|
◆ isSelected()
boolean org.turro.contacts.model.ContactItem.isSelected |
( |
| ) |
|
◆ setSelected()
void org.turro.contacts.model.ContactItem.setSelected |
( |
boolean |
selected | ) |
|
The documentation for this class was generated from the following file: