|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModuleLocal
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)
CoefficientContext getCoefficientContext()
java.lang.String getMainMethod()
java.lang.String getModuleDescription()
java.lang.String getModuleDisplayName()
java.lang.String getModuleName()
java.lang.String canExecuteForRole(CoefficientContext ctx, java.lang.String methodName, Role usersHighestRole)
CoefficientContext showHelp(CoefficientContext ctx)
boolean isProjectRequired()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |