1 19 20 package za.org.coefficient.interfaces; 21 22 import za.org.coefficient.authentication.Role; 23 24 29 public interface ModuleLocal { 30 32 public void setCoefficientContext(CoefficientContext ctx); 33 34 public CoefficientContext getCoefficientContext(); 35 36 42 public String getMainMethod(); 43 44 49 public String getModuleDescription(); 50 51 56 public String getModuleDisplayName(); 57 58 64 public String getModuleName(); 65 66 72 public String canExecuteForRole(CoefficientContext ctx, String methodName, 73 Role usersHighestRole); 74 75 79 public CoefficientContext showHelp(CoefficientContext ctx); 80 81 84 public boolean isProjectRequired(); 85 } 86 | Popular Tags |