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

Public Member Functions

void addRegisters (Collection< ILogRegister > registers)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 30 of file CrossTabRegisterByUser.java.

Member Function Documentation

◆ addRegisters()

void org.turro.contacts.log.CrossTabRegisterByUser.addRegisters ( Collection< ILogRegister registers)

Definition at line 32 of file CrossTabRegisterByUser.java.

32  {
33  for(ILogRegister lr : registers) {
34  if(!Strings.isBlank(lr.getName())) {
35  TreeMap tm = get(lr.getName().trim());
36  if(tm == null) {
37  tm = new TreeMap<String, ILogRegister>();
38  put(lr.getName().trim(), tm);
39  }
40  if("/log/in".equals(lr.getPath())) {
41  lr.setComment(lr.getPath());
42  }
43  if(!Strings.isBlank(lr.getComment())) {
44  tm.put(lr.getComment(), lr);
45  }
46  }
47  }
48  }

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