|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FarragoSessionModelExtension
FarragoSessionModelExtension defines the SPI for plugging in custom behavior for model extensions. Although model extensions may be independent of session personalities, they still interact with them, which is why they are defined at this level.
Method Summary | |
---|---|
void |
defineDdlHandlers(FarragoSessionDdlValidator ddlValidator,
List<DdlHandler> handlerList)
Defines the handlers to be used to validate and execute DDL actions for object types in this model extension. |
void |
definePrivileges(FarragoSessionPrivilegeMap map)
Defines privileges allowed on various object types. |
void |
defineResourceBundles(List<ResourceBundle> bundleList)
Defines resource bundles to be used for localizing model object names. |
Method Detail |
---|
void defineDdlHandlers(FarragoSessionDdlValidator ddlValidator, List<DdlHandler> handlerList)
FarragoSessionDdlHandler
for an explanation of how to define the handler
objects in this list. Optionally, may also define drop rules.
ddlValidator
- validator which will invoke handlershandlerList
- receives handler objects in order in which they shouldvoid defineResourceBundles(List<ResourceBundle> bundleList)
bundleList
- receives instances of ResourceBundlevoid definePrivileges(FarragoSessionPrivilegeMap map)
map
- receives allowed privileges
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |