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

Public Member Functions

void doLog (LogType type, String id, String name, String path, String msg, Serializable data)
 
long getCountOf (String comment, String logPath, Date since)
 

Detailed Description

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

Definition at line 31 of file LogSystem.java.

Member Function Documentation

◆ doLog()

void org.turro.contacts.log.LogSystem.doLog ( LogType  type,
String  id,
String  name,
String  path,
String  msg,
Serializable  data 
)

Implements org.turro.elephant.log.ILogger.

Definition at line 34 of file LogSystem.java.

34  {
35  LogEntry entry = new LogEntry();
36  entry.setDateLog(new Date());
37  entry.setIdUser(id);
38  entry.setName(name);
39  entry.setComment(msg);
40  entry.setObject(data);
41  entry.setLogType(type);
42  entry.setPath(path);
43  new ContactsPU().saveObject(entry);
44  }
Here is the call graph for this function:

◆ getCountOf()

long org.turro.contacts.log.LogSystem.getCountOf ( String  comment,
String  logPath,
Date  since 
)

Implements org.turro.elephant.log.ILogger.

Definition at line 47 of file LogSystem.java.

47  {
48  return new LogModel().getCountOf(comment, logPath, since);
49  }
Here is the call graph for this function:

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