|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Module
This interface defines methods that must be implemented by a module of the system. A module will have methods invoked with a single parameter, za.org.coefficient.core.CoefficientContext .
Method Summary | |
---|---|
java.lang.String |
canExecuteForRole(CoefficientContext ctx,
java.lang.String methodName,
Role usersHighestRole)
This method is used to determine if a named method can be executed for a specified system role. |
CoefficientContext |
getCoefficientContext()
|
java.lang.String |
getMainMethod()
This method is used to determine which method should be invoked when the module is requested without an operation. |
java.lang.String |
getModuleDescription()
This method is used to find the description of the module |
java.lang.String |
getModuleDisplayName()
This method is used to find the display name of the module |
java.lang.String |
getModuleName()
This method is used to find the system name of the module that is used to resolve the session bean |
boolean |
isProjectRequired()
This method is used determine if we implement BaseProjectModule |
void |
setCoefficientContext(CoefficientContext ctx)
|
CoefficientContext |
showHelp(CoefficientContext ctx)
This method is used to show help on the your module. |
Method Detail |
---|
void setCoefficientContext(CoefficientContext ctx) throws java.rmi.RemoteException
java.rmi.RemoteException
CoefficientContext getCoefficientContext() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getMainMethod() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getModuleDescription() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getModuleDisplayName() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getModuleName() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String canExecuteForRole(CoefficientContext ctx, java.lang.String methodName, Role usersHighestRole) throws java.rmi.RemoteException
java.rmi.RemoteException
CoefficientContext showHelp(CoefficientContext ctx) throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isProjectRequired() throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |