BrightSide Workbench Full Report + Source Code
org.turro.contacts.tree.AttachProcessor Class Reference
Inheritance diagram for org.turro.contacts.tree.AttachProcessor:
Collaboration diagram for org.turro.contacts.tree.AttachProcessor:

Public Member Functions

void processFolder (IAttachFolder folder)
 

Detailed Description

Member Function Documentation

◆ processFolder()

void org.turro.contacts.tree.AttachProcessor.processFolder ( IAttachFolder  folder)

Implements org.turro.plugin.attach.IAttachProcessor.

Definition at line 34 of file contacts/src/main/java/org/turro/contacts/tree/AttachProcessor.java.

34  {
35  IAttachFolder parent = folder.getParentFolder();
36  if("/contact".equals(folder.getFolderPath())) {
37  folder.setFolderLabel(I_.get("Contact"));
38  }
39  else if(parent != null && "/contact".equals(parent.getFolderPath())) {
40  IContact contact = Contacts.getContactById(folder.getFolderLabel());
41  if(contact.isValid() && !Strings.isEmpty(contact.getName())) {
42  folder.setFolderLabel(contact.getName());
43  }
44  }
45  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: