BrightSide Workbench Full Report + Source Code
org.turro.elephant.impl.util.ContactPlugin Class Reference

Static Public Member Functions

static boolean hasContacts ()
 
static Class contactsClassCheck ()
 
static void saveChangesToContact (LoginAction action)
 

Detailed Description

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

Definition at line 30 of file ContactPlugin.java.

Member Function Documentation

◆ contactsClassCheck()

static Class org.turro.elephant.impl.util.ContactPlugin.contactsClassCheck ( )
static

Definition at line 36 of file ContactPlugin.java.

36  {
37  try {
38  return Class.forName("org.turro.contacts.Contact");
39  } catch (ClassNotFoundException ex) {
40  Logger.getLogger(ContactPlugin.class.getName()).log(Level.INFO, ElephantContext.logMsg(null), ex);
41  }
42  return null;
43  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasContacts()

static boolean org.turro.elephant.impl.util.ContactPlugin.hasContacts ( )
static

Definition at line 32 of file ContactPlugin.java.

32  {
33  return contactsClassCheck() != null;
34  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ saveChangesToContact()

static void org.turro.elephant.impl.util.ContactPlugin.saveChangesToContact ( LoginAction  action)
static

Definition at line 45 of file ContactPlugin.java.

45  {
46  try {
47  Class cls = Class.forName("org.turro.contacts.util.UpdateFromAction");
48  if (cls != null) {
49  java.lang.reflect.Constructor cons = cls.getConstructor(new Class[] { LoginAction.class });
50  if (cons != null) {
51  cons.newInstance(new Object[] { action });
52  }
53  }
54  } catch (Exception ex) {
55  Logger.getLogger(ContactPlugin.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(null), ex);
56  }
57  }
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: