BrightSide Workbench Full Report + Source Code
org.turro.financials.path.FinancialsInterceptor Class Reference
Inheritance diagram for org.turro.financials.path.FinancialsInterceptor:
Collaboration diagram for org.turro.financials.path.FinancialsInterceptor:

Protected Member Functions

boolean doExecuteWeb (IConstructor constructor, String goTo, KeyValueMap kvm)
 
boolean doExecuteApp (Application application, String goTo, KeyValueMap kvm)
 

Additional Inherited Members

- Public Member Functions inherited from org.turro.action.AbstractInterceptor
boolean executeWeb (IConstructor constructor, String goTo, KeyValueMap kvm)
 
boolean executeApp (Application application, String goTo, KeyValueMap kvm)
 

Detailed Description

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

Definition at line 32 of file FinancialsInterceptor.java.

Member Function Documentation

◆ doExecuteApp()

boolean org.turro.financials.path.FinancialsInterceptor.doExecuteApp ( Application  application,
String  goTo,
KeyValueMap  kvm 
)
protected

Reimplemented from org.turro.action.AbstractInterceptor.

Definition at line 40 of file FinancialsInterceptor.java.

40  {
41  if("document".equals(goTo)) {
42  if(Application.getApplication().isInRole("finan-document:edit")) {
43  FinancialsMenu.showDocument(kvm.get(Long.class, "documentId"));
44  }
45  return true;
46  } else if("contract".equals(goTo)) {
47  if(Application.getApplication().isInRole("finan-contract:edit")) {
48  FinancialsMenu.showContract(kvm.get(Long.class, "contractId"));
49  }
50  return true;
51  } else if("product".equals(goTo)) {
52  if(Application.getApplication().isInRole("finan-product:edit")) {
53  FinancialsMenu.showProduct(kvm.get(Long.class, "productId"));
54  }
55  return true;
56  } else if("register".equals(goTo)) {
57  if(Application.getApplication().isInRole("finan-register:edit")) {
58  FinancialsMenu.showRegister(kvm.get(Long.class, "registerId"));
59  }
60  return true;
61  }
62  return false;
63  }
Here is the call graph for this function:

◆ doExecuteWeb()

boolean org.turro.financials.path.FinancialsInterceptor.doExecuteWeb ( IConstructor  constructor,
String  goTo,
KeyValueMap  kvm 
)
protected

Reimplemented from org.turro.action.AbstractInterceptor.

Definition at line 35 of file FinancialsInterceptor.java.

35  {
36  return false;
37  }

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