
Public Member Functions | |
| JSONComponent (WOContext context) | |
Static Public Member Functions | |
| static< TextendsJSONComponent > T | componentWithName (String componentClassName, WOContext context) |
| static< TextendsJSONComponent > T | componentWithName (Class< T > componentClass, WOContext context) |
Protected Member Functions | |
| void | _setContext (WOContext context) |
| void | checkAccess () |
| WOContext | context () |
Package Functions | |
| public< T extends JSONComponent > T | componentWithName (Class< T > componentClass) |
Private Attributes | |
| WOContext | _context |
If a method returns another JSONComponent, the client will be sent a JSONRedirect that contains the URL to communicate with the instance you returned.
THIS API IS STILL EXPERIMENTAL AND SUBJECT TO CHANGE
| JSONComponent | ( | WOContext | context | ) |
| void _setContext | ( | WOContext | context | ) | [protected] |
Sets the current context.
| context | the current context. |
| void checkAccess | ( | ) | [protected] |
Called prior to issuing any calls to the component. Throw a SecurityException if the Session user's credentials are insufficient.
| static <TextendsJSONComponent> T componentWithName | ( | String | componentClassName, | |
| WOContext | context | |||
| ) | [static] |
Returns a JSONComponent of the given type.
| <T> | the JSONComponent type | |
| componentClassName | the name of the class to instantiate | |
| context | the WOContext to create within |
| static <TextendsJSONComponent> T componentWithName | ( | Class< T > | componentClass, | |
| WOContext | context | |||
| ) | [static] |
Returns a JSONComponent of the given type.
| <T> | the JSONComponent type | |
| componentClass | the class to instantiate | |
| context | the WOContext to create within |
| public<T extends JSONComponent> T componentWithName | ( | Class< T > | componentClass | ) | [package] |
Returns a JSONComponent of the given type.
| <T> | the JSONComponent type | |
| componentClass | the class to instantiate |
| WOContext context | ( | ) | [protected] |
Returns the current context.
WOContext _context [private] |
1.5.8