1 19 20 package za.org.coefficient.interfaces; 21 22 import za.org.coefficient.authentication.Role; 23 24 29 public interface Module { 30 32 public void setCoefficientContext(CoefficientContext ctx) 33 throws java.rmi.RemoteException ; 34 35 public CoefficientContext getCoefficientContext() 36 throws java.rmi.RemoteException ; 37 38 44 public String getMainMethod() throws java.rmi.RemoteException ; 45 46 51 public String getModuleDescription() throws java.rmi.RemoteException ; 52 53 58 public String getModuleDisplayName() throws java.rmi.RemoteException ; 59 60 66 public String getModuleName() throws java.rmi.RemoteException ; 67 68 74 public String canExecuteForRole(CoefficientContext ctx, String methodName, 75 Role usersHighestRole) throws java.rmi.RemoteException ; 76 77 81 public CoefficientContext showHelp(CoefficientContext ctx) 82 throws java.rmi.RemoteException ; 83 84 87 public boolean isProjectRequired() throws java.rmi.RemoteException ; 88 } 89 | Popular Tags |