BrightSide Workbench Full Report + Source Code
org.turro.hr.humanres.HumanResources Class Reference

Static Public Member Functions

static HumanResource getCurrent ()
 

Detailed Description

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

Definition at line 31 of file HumanResources.java.

Member Function Documentation

◆ getCurrent()

static HumanResource org.turro.hr.humanres.HumanResources.getCurrent ( )
static

Definition at line 33 of file HumanResources.java.

33  {
34  IContact iContact = Authentication.getIContact();
35  if(iContact != null && iContact.isValid()) {
36  for(HumanResource hr : (List<HumanResource>) new ErpPU().getResultList("select hr from HumanResource hr")) {
37  if(hr.fits(iContact)) {
38  return hr;
39  }
40  }
41  }
42  return null;
43  }
Here is the call graph for this function:
Here is the caller graph for this function:

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