BrightSide Workbench Full Report + Source Code
org.turro.www.convocation.ConvocationCheck Class Reference

Public Member Functions

 ConvocationCheck (IConstructor constructor)
 
void setTemplate (String template)
 
String check ()
 

Detailed Description

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

Definition at line 35 of file ConvocationCheck.java.

Constructor & Destructor Documentation

◆ ConvocationCheck()

org.turro.www.convocation.ConvocationCheck.ConvocationCheck ( IConstructor  constructor)

Definition at line 42 of file ConvocationCheck.java.

42  {
43  this.constructor = constructor;
44  }

Member Function Documentation

◆ check()

String org.turro.www.convocation.ConvocationCheck.check ( )

Definition at line 50 of file ConvocationCheck.java.

50  {
51  KeyValueMap kvm = MarkerHelper.getObfuscatedParameters();
52  if(kvm != null) {
53  convocation = new ContactsPU().find(Convocation.class, kvm.get("item"));
54  contact = Contacts.getContactById(kvm.get("contact"));
55  }
56  if(convocation != null && contact != null && contact.isValid()) {
57  return getMarker().parse("convocation", Strings.isBlank(template) ? "check" : template);
58  }
59  return "";
60  }
String parse(String rootTmpl, String tmpl)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTemplate()

void org.turro.www.convocation.ConvocationCheck.setTemplate ( String  template)

Definition at line 46 of file ConvocationCheck.java.

46  {
47  this.template = template;
48  }
Here is the caller graph for this function:

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